On Saturday 31 of July 2010 11:58:37 Andrew Rich wrote:
I have a question people might be able to help me with.
openSUSE 11.3
I have two USB 750 GB external HDD attached to a LINUX server.
At the moment, I have mounted
/dev/sdb1 as /data1 /dev/sdc1 as /data2
If I reboot, what are the chance the drives will line up again ?
How does LINUX "know" which USB port corresponds to what external HDD.
I had x2 SATA Internal HDD before, where there was no doubt about mounts.
It is important because I want data1 to mirror to data2.
Will I have to just plug in /dev/sdb1 first then mount, and then add /dev/sdc1 next just to keep the sequence ?
Use UUIDs in /etc/fstab instead of device files, such as: UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx /data1 ext3 defaults 0 0 Use blkid to get the UUID of the filesystem you need. Alternatively, use Yast partitioner. UUIDs are a property of the filesystem, therefore don't change when the device file changes.
Andrew
Regards, Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org