Re: How do I get /dev/sdb1 back without rebooting?
- From: Dances With Crows <danceswithcrows@xxxxxxx>
- Date: 31 May 2008 15:30:33 GMT
Jean-David Beyer staggered into the Black Sun and said:
ToddAndMargo wrote:
I have a CD-ROM burner that is connected to a SCSI controller. If IYou're running udev, right? When this thing disappears, what's inI am running udevd. /dev/sda1,2,3 are my Raid controller and my "/",
dmesg that's related to the device? Are you sure it isn't appearing
as /dev/sdc1 or /dev/sda1?
swap, and "/export" partitions. They always mount as sdax.
As it transpires, the bad drive was not formated (I must have been
really tired). It showed up in dev as /dev/sdb, with no numbers.
Now it is formatted and mkfs.ext3'ed.
Which brings up a question: if the operator left the removable drive
out of the carriage, then rebooted, the removable drive will not show
up until the next reboot. Is the a way to rescan my SATA drives and
get me back my /dev/ sdb1 without rebooting?
boot my machine with the CD-ROM burner turned on, it appears as
/dev/scd0.
If I boot my machine with the CD-ROM burner turned off, it does not
appear at all. And turning it on at that point does nothing.
SCSI is easy.
echo "scsi-add-single-device X Y Z W" > /proc/scsi/scsi, replacing X, Y,
Z, and W with the host, bus, ID, and LUN of the drive.
Perhaps your SATA drives act like my SCSI CD-ROM burner.
A SCSI CD-RW? That thing must be ancient.
SATA is different. It's not really SCSI, so the same technique may not
work properly. Some SATA devices may not even be hot-swappable. So, if
you plug the SATA device in and udev doesn't create a device node, check
dmesg for anything at all about the SCSI/SATA subsystems. Then
reproduce that info for us. Also, compare the dmesg output in that case
with the dmesg output from a successful case.
--
Something unpleasant is coming when men are anxious to tell the
truth. --Benjamin Disraeli
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
.
- Follow-Ups:
- Re: How do I get /dev/sdb1 back without rebooting?
- From: Jean-David Beyer
- Re: How do I get /dev/sdb1 back without rebooting?
- References:
- How do I get /dev/sdb1 back without rebooting?
- From: ToddAndMargo
- Re: How do I get /dev/sdb1 back without rebooting?
- From: Dances With Crows
- Re: How do I get /dev/sdb1 back without rebooting?
- From: ToddAndMargo
- Re: How do I get /dev/sdb1 back without rebooting?
- From: Jean-David Beyer
- How do I get /dev/sdb1 back without rebooting?
- Prev by Date: paypal sell nike adidas prada puma
- Next by Date: Re: why tar, bz2, gz is single thread?
- Previous by thread: Re: How do I get /dev/sdb1 back without rebooting?
- Next by thread: Re: How do I get /dev/sdb1 back without rebooting?
- Index(es):
Relevant Pages
|