[rescue] DLT drive dead want to replace without rebooting
phil.stracchino at speakeasy.net
Tue Nov 28 11:15:08 CST 2006
Brian Deloria wrote:
> I've got a DLT drive that bit the dust, and I've been doing some research
> here and I'd like to hotswap the drive with it's replacement when it gets
> here, however I'm not sure how nor do I know if I can reset the scsi bus.
> The tape drive is on it's own controller which is the first good thing.
> I'm reluctant to reboot the machine for one simple reason my predecessor
> suspected that the NVRAM had gone bad, it's been online for over 600 days,
> and if the NVRAM gets replaced then there's several software licesnses that
> are bound to the hostid which would cause a great deal of grief.
> If you have any suggestions please let me know.
You failed to specify what OS.
If it's Solaris (which it appears to be), try using devfsadm.
If it's Linux, use the following:
echo scsi remove-single-device <h> <b> <d> <l> > /proc/scsi/scsi
echo scsi add-single-device <h> <b> <d> <l> > /proc/scsi/scsi
where h,b,d,l are host, bus, device, LUN (LUN may have to be 0, I'm not
Same geek, same site, new location
Phil Stracchino Landline: 603-429-0220
phil.stracchino at speakeasy.net Mobile: 603-216-7037
Renaissance Man, Unix generalist, Perl hacker, Free Stater
More information about the rescue