2 Firewires? Mount points swithch.
Sean Berry
sean at buildingonline.net
Thu Apr 1 10:10:48 PST 2004
I have two firewire external hard disks attached to my FreeBSD 5.1 system.
I pugged in the first one and mounted it with the following line in my fstab:
# Device Mountpoint FStype Options Dump Pass#
/dev/da0s1d /usr/files ufs rw 2 2
Everything went smooth and I was able to copy over a large amount of content to
the drive.
I daisy chained the second one to the first. And added the following line to
fstab:
# Device Mountpoint FStype Options Dump Pass#
/dev/da1s1d /u ufs rw 2 2
That one mounted with no problem as well. I did not copy any files onto this
drive, leaving it empty. So far so good.
Then... I moved the machine downstairs. I did not change the daisy chain
configuration of the drives, I simlply unplugged the single connector and moved
the entire unit downstairs.
When I booted up, both drives mounted based on my /etc/fstab, except the mount
points had reversed. My drive full of content was on /u and the empty drive was
on /usr/files/.
I tried many different configurations, tried mounting them each seperatly, and
everything else I could think of. The only thing that ended up getting it to
work was actually swapping th decive names.
MY QUESTION IS THIS:
Now that I have it working, is there any way to guarantee which drive attaches
to which mount point? How is this determined by default, is it whichever drive
spins faster at the start?
Thanks in advance for any help.
-----------------------------------------------------------
This eMail was sent using BuildingOnline's Challenge eMail.
Get 100% spam free! Call BuildingOnline at 888/496.6648.
More information about the freebsd-scsi
mailing list