Re: Drive name slips...

From: Chris Meadors (chris@hereintown.net)
Date: Wed Feb 16 2000 - 15:31:50 EST


"Raj, Ashok" wrote:
>
> Hello..
>
> Linux kernel names the scsi drives sda, sdb .... so in case you switch
> slots, or move across to a different controller
> then its possible you can have very bad effects. Worst case is removing a
> drive and the drive device files dont have a persistant assiciation with the
> location, or do we have a magic superblock what the configured name was.
>
> is there a solution to Linux for this? i was looking at raid, but the config
> file says /dev/sda etc, and it says it does do the superblock magic to avoid
> this. In a SAN its more important as a remote scsi disk may be detectect in
> a different order.

devfs takes care of this. With the devfs patches you can address your
drive by it's physical location, from controller all the way down to
partition.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:16 EST