On Thu, August 7, 2008 12:55, Neil wrote:
On 8/7/08, Martin Mielke
wrote: Hi list,
some weeks ago I bought 2 external USB 2.0 hard disks to use them as mass-storage for assorted data.
I created the ext3 filesystem on both and mounted them just fine under /disk1 and /disk2.
This is how it looks like now (correct way): -- /dev/sdb1 480719088 96188532 360111356 22% /disk1 /dev/sdc1 480719088 252211016 204088872 56% /disk2 --
Yesterday I had to reboot the system to apply some patches and found those external hard disks wrongly mounted when the system came back to life: -- /dev/sdb1 480719088 96188532 360111356 22% /disk2 <-- this should be /disk1 /dev/sdc1 480719088 252211016 204088872 56% /disk1 <-- this should be /disk2 --
My /etc/fstab has the following entries for them: -- /dev/sdb1 /disk1 ext3 acl,user_xattr 0 0 /dev/sdc1 /disk2 ext3 acl,user_xattr 0 0 --
I rebooted the system 2 times more just to check this behavior and it seems that /dev/sdb1 and /dev/sdc1 are "swapped" at boot time sometimes for some reason still unclear to me... and of course, I don't swap the USB cables :-P
Any idea why this happens??
TIA, Martin
Dunno for sure, but it might be solved by using disk-ID's instead of sd*'s. On my brother's system (Ubuntu) we noticed USB disks changing sd* names at boot depending on wether and where other USB devices were present and the phase of the moon (:P).
What I want to say is: if you mount USB devices automatically then you should use disk-ID's instead of sd* names.
just my 0,02
Neil
In a related problem, when my external USB disk, or any random USB stick, is plugged in, then I cannot boot, no valid boot device found. Unplug all USB devices and it works like a charm. I alread plugged all USB disks/sticks into an USB hub so I only have to unplug one cable. -- Amedee -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org