Andreas Dilger writes:
> Same thing, really.  You have to poke each drive to get the serial
> number.  What if they are IDE or SCSI or FCAL or RAID array?  Probably
> reading a block from a disk is safer than trying to find the drive
> serial number.

If you apply the "read block from disk" method to a RAID1 array, how
you do you know whether you mean:

1) An active disk in the array
2) The actual array itself.

Hint: With Raid 1, the disks are complete images of each other.  You can
mount a single disk which is/was part of a raid 1 array and read all data
off it.

If someone thinks about going down this road, make sure you check the
multiple-device arrays BEFORE the physical disks!
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |         Russell King        [EMAIL PROTECTED]      --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html   /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to