[rescue] Re: hot swap scsi
Robert Novak
rnovak at indyramp.com
Mon Mar 4 00:05:44 CST 2002
On Sun, 3 Mar 2002, Bill Bradford wrote:
> On Mon, Mar 04, 2002 at 12:07:49AM -0500, Joshua D Boyd wrote:
> > Also, will linux, netbsd, or solaris recognize a new device appearing on
> > the scsi bus without a reboot? I think to some extent Solaris won't because
> > even with a reboot it wouldn't recognize my cd-rom until I did a boot -r.
>
> drvconfig;disks on later versions of solaris.
'devfsadm' on Sol8 will work too. In Sol8,
drvconfig/devlinks/disks/tapes commands are symlinks to devfsadm.
% ls -li /usr/sbin | grep 68968
190561 -rwxr-xr-x 7 root sys 68968 Jul 30 2001 audlinks
190561 -rwxr-xr-x 7 root sys 68968 Jul 30 2001 devfsadm
190561 -rwxr-xr-x 7 root sys 68968 Jul 30 2001 devlinks
190561 -rwxr-xr-x 7 root sys 68968 Jul 30 2001 disks
190561 -rwxr-xr-x 7 root sys 68968 Jul 30 2001 drvconfig
190561 -rwxr-xr-x 7 root sys 68968 Jul 30 2001 ports
190561 -rwxr-xr-x 7 root sys 68968 Jul 30 2001 tapes
I've found that 'devfsadm -c disks' doesn't always rediscover
changed/added fibre channel disks, whereas 'devfsadm' without parms does.
You can, I believe, "stop" a disk in Solaris with the Solstice Disksuite
"metatool" ... might be CLI-possible too but I don't know for sure.
--Rob
Robert Novak, Indyramp Consulting * rnovak at indyramp.com * indyramp.com/~rnovak
"I don't want to doubt you, Know everything about you
I don't want to sit Across the table from you Wishing I could run."
More information about the rescue
mailing list