Re: Name of SCSI Device

Andreas Dilger (adilger@turbolinux.com)
Tue, 16 Jan 2001 14:13:24 -0700 (MST)


You write:
> If we install a SCSI hard disk drive, with ID3, an nothing on ID1 or ID2,
> will be sda. If we install a new disk on ID1, the drive that before was
> sda now change the name to sdb.
>
> Why the name of hard disk drive of SCSI Controller are not fixed?
> ID0=sda
> ID1=sdb
> ID2=sdc

There are not enough major/minor numbers to do this.

> Then, it is possible that we must change /etc/fstab

If you are using ext2 (or ext3), it is possible to mount by filesystem
LABEL or UUID. See man pages for e2label/tune2fs/dumpe2fs/mount(8)/fstab(5).

Cheers, Andreas

-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/