Re: How do I get /dev/sdb1 back without rebooting?



ToddAndMargo staggered into the Black Sun and said:
I back up to a removable SATA drive. It mounts on /dev/sdb1.

No, it might not. Removable media can appear on a rather large range of
device nodes, especially if they're USB or Firewire. Write a label to
the filesystem on this device, then mount this device by label. I told
you how to write labels to a FAT filesystem on Jun 4, 2007; it's even
easier with ext23, ReiserFS, NTFS, XFS, and JFS.

sdb1 sits unmounted, unless I am backing up. Occasionally /dev/sbd1
gets dropped from my /dev directory. It does show up in /proc (it is
currently missing from /dev):
#cat /proc/scsi/scsi
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: ST3500630NS Rev: 3.AE
The solution is to reboot.

No, it isn't. See first paragraph.

How can I get /dev/sdb1 back without rebooting?

You're running udev, right? When this thing disappears, what's in dmesg
that's related to the device? Are you sure it isn't appearing as
/dev/sdc1 or /dev/sda1?

--
The squirrels now live in fear of the magic exploding compost heap.
--Dan Holdsworth
My blog and resume: http://crow202.dyndns.org:8080/wordpress/
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.