[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what does /dev/sdf look like?



Jonathan McDowell wrote:
On Tue, Jul 29, 2008 at 08:42:46PM +0100, Pigeon wrote:
On Tue, Jul 29, 2008 at 08:32:48PM +0200, randall wrote:
a silly question here, but i'm just going through the disaster
recovery procedure....and what to do in case of harddisk failure.

i have a nice raid setup, and its no problem to recognize which
/dev/sdX has dropped out of the array, but how do you physically
identify for example /dev/sdf when opening the box and have 6 disks
to choose from?

i can't be the first with this question so i just wonder what "rules
of thumb" others use.
Look at the SCSI ID selection jumpers on the drives. The lowest ID
(which may be 0, but isn't necessarily) is /dev/sda, the next in
sequence is /dev/sdb...

With more than one SCSI bus the lettering goes through all the drives
on the first bus before it starts on the second, etc.

Or "smartctl -a /dev/sdf" (assuming the drive will still respond to SCSI
requests rather than being completely dead) will tell you the serial
number, which should hopefully be written on the drive as well.

J.

thanks both,

really useful stuff

Device: ATA      ST3500320AS      Version: SD04
Serial number:             9QM00NKK
Device type: disk
Local Time is: Tue Jul 29 22:11:54 2008 CEST




Reply to: