On 2014-10-29 10:45, David Haller wrote:
Hello,
On Wed, 29 Oct 2014, Carlos E. R. wrote:
What is sda one boot, is sdb on the next, and sda becomes one of the externals instead.
That, in my experience, depends on whether the BIOS/UEFI manipulates what is what.
I don't need to change anything in BIOS for this to happen. It happens if I boot with only the internal hard disks powered, and next time I power up one external. The external becomes sda, and what was sda, the boot disk, becomes sdb, and still boots fine. That is, I use hotplug. It either is the BIOS which automatically changes the identification (number) of each device, or the kernel finding one disk before another, and naming the first found one sda. In my machine I think it is this second issue. I think, but I'd have to verify, that even with hibernation this change may trigger, instead of a full reboot.
With stable /dev/sd*,
The kernel people parlance is to consider /dev/sd*, not stable, and /dev/disk/by-*/* stable. And it is the denomination I use when I talk of stable device names. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)