[Cialug] Force Disk to /dev/sda, /dev/sdb, Etc?

Paul Gray gray at cs.uni.edu
Wed Apr 20 09:31:54 CDT 2016


On 04/20/2016 09:13 AM, Scott Yates wrote:
> Interesting.  After you label them, are they addressed by that label
> somehow?
>
> On Wed, Apr 20, 2016 at 9:09 AM, Paul Gray <gray at cs.uni.edu> wrote:
>
>> On 04/20/2016 09:05 AM, David Michael wrote:
>>
>>> Wouldn't it be better to use the uuid which is constant across machines?
>>> https://help.ubuntu.com/community/UsingUUID
>>>
>>
>> UUIDs are often problematic when base images are cloned (although not as
>> much now as it used to be).  That's why I personally prefer labels.
>>
>> -Paul
>>
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
>>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
briareus:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
LABEL=NODEROOT  /               ext3 
defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0       1
LABEL=NODEBOOT  /boot           ext3    errors=remount-ro 0       1
LABEL=NODESWAP  none            swap    sw              0       0

-----------

root at delli7:~# blkid
/dev/sda1: LABEL="ROOT" UUID="963d5f74-c79c-49c5-b35c-8bdaab3e9376" 
TYPE="ext4" PARTUUID="60153020-01"
/dev/sda5: LABEL="SWAP" UUID="b7511555-bbb1-432b-9e7d-e3cce5de4428" 
TYPE="swap" PARTUUID="60153020-05"



More information about the Cialug mailing list