alphaomega Posted March 14, 2013 Share Posted March 14, 2013 (edited) I just noticed something odd on this machine regarding the assigned /dev device for the attached drives using arch. I am using UUIDs in fstab so the drives are getting mounted correctly. I have 2 SATA drives and 1 PATA drive attached. What I notice however is sometimes the first SATA drive is associated with /dev/sda and sometimes it is associated with /dev/sdb. Is this because of the way systemd starts things? Is there a way to make it so that the first SATA drive is always associated with /dev/sda? It's not a real issue...just confusing when the drives move around. Edited March 14, 2013 by alphaomega Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 14, 2013 Share Posted March 14, 2013 I think they may have to do with the use of UUIDs instead of /dev points but let me see what I can find. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 14, 2013 Share Posted March 14, 2013 Ah, you must be using udev: Udev loads kernel modules by utilizing coding parallelism to provide a potential performance advantage versus loading these modules serially. The modules are therefore loaded asynchronously. The inherent disadvantage of this method is that udev does not always load modules in the same order on each boot. If the machine has multiple block devices, this may manifest itself in the form of device nodes changing designations randomly. For example, if the machine has two hard drives, /dev/sda may randomly become /dev/sdb. https://wiki.archlinux.org/index.php/Udev Quote Link to comment Share on other sites More sharing options...
alphaomega Posted March 14, 2013 Author Share Posted March 14, 2013 Thanks for the information Securitybreach. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 14, 2013 Share Posted March 14, 2013 No problem Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.