thelxinoe
June 13th, 2010, 08:35 PM
So I have a small server that runs Ubuntu 10.04 from a IDE disk connected to a Asus A8N motherboard, with 4 disks connected to the SATA ports for storage.
At first there wasn't a problem, installed ubuntu on the IDE disk, added the other disks (sata disk 1 to 4, sdb to sde) as /media/DiskX/
Then I had to move the server, turned it on again, now suddenly things have changed, because sata disk 1 went from sdb to sda, while the IDE disk went from sda to sde. So I changed things around, thinking it was probably because ubuntu numbers the SATA as the first ones.
But now I had to do another reboot, and the IDE disk suddenly is sdc, turning more havoc on my poor fstab.
Is there a reason for this happening, I thought the /dev/sdX numbering scheme was supposed to stay that was unless I moved disks around?
This is becoming more and more annoying, because programs that looks for files on /media/Disk02/stuff can't find it because the disk that was mounted as Disk02 had changed.
At first there wasn't a problem, installed ubuntu on the IDE disk, added the other disks (sata disk 1 to 4, sdb to sde) as /media/DiskX/
Then I had to move the server, turned it on again, now suddenly things have changed, because sata disk 1 went from sdb to sda, while the IDE disk went from sda to sde. So I changed things around, thinking it was probably because ubuntu numbers the SATA as the first ones.
But now I had to do another reboot, and the IDE disk suddenly is sdc, turning more havoc on my poor fstab.
Is there a reason for this happening, I thought the /dev/sdX numbering scheme was supposed to stay that was unless I moved disks around?
This is becoming more and more annoying, because programs that looks for files on /media/Disk02/stuff can't find it because the disk that was mounted as Disk02 had changed.