10.04RC system boot random assignment of sda, sdb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 10.04 RC
System has two hard drives. 15 partitions on SATA 1TB drive. 12 partitions on ATA/IDE 120GB drive.
Each boot U1004RC assigns random drive letters. 1TB to sda or maybe 1TB to sdb.
My large Data partition on sda5 shows as sdb5 often, about 30% of the time on boot.
So I changed /etc/fstab to use UUID for all partitions. Still this happens.
I play with lots of Linux OS (27 partitions, 3 for Data). I have not seen this anywhere but 10.04.
The truly maddening part is root always shows as /dev/sda11, but if Data shows as sdb5 then changes made to root are stored in /dev/sdb11 not /dev/sda11 !!!!! The first step each boot is a terminal window and 'df' to see if the drives are backwards again. And I changed the desktop background as an obvious error flag.
Expected: each boot the drives always have the same device ID
Seen: random assignment of sda, sdb
---
Architecture: amd64
DistroRelease: Ubuntu 10.10
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
Package: linux (not installed)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.utf8
SHELL=/bin/bash
Tags: maverick
Uname: Linux 2.6.37-
UnreportableReason: The running kernel is not an Ubuntu kernel
UserGroups: adm admin audio cdrom david david4schwab dialout dip fax floppy fuse joyce lpadmin netdev plugdev sambashare tape video
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | Incomplete → New |
tags: | added: apport-collected |
description: | updated |
Hi,
I think this is the same as #261178 I first reported in Intrepid - but I actually think it's the correct
behavior - let me explain.
As of recent kernels the drivers for different devices initialize in parallel for speed; in the old days
it would check each device, wait for the drives on that to start up and then move onto the next one - these
days it does different controllers at the same time - in your case I suspect your SATA is on one controller
and your IDE on a different one. This is a LOT faster, but which one is sda depends on which is fastest.
Having said that the answer is supposed to be that you should be able to use UUID (or labels if you prefer)
everywhere and it shouldn't matter if it's called sda or sdb
So, I suggest you add your /etc/fstab and anything similar to this bug report after switching them to UUID or labels.
Dave