sd, sd, who's got the sd - f7 work required before release!

dragoran drago01 at gmail.com
Mon Apr 30 12:38:21 UTC 2007


David Timms wrote:
> Will Woods wrote:
>> Styma, Robert E (Robert) wrote:
> ...
>>> How will the two FC7 systems detect the new drive?
>>>
>>> Is there a method to the madness?
>>
>> This is why we use disk labels or UUIDs instead of device names. With 
>> changes like this in the kernel and especially with machines with 
>> removable drives, or machines using fancy multipath storage, it's 
>> nearly impossible to reliably predict exactly what order the drives 
>> will be found in.
>>
>> So the solution is: just give the partitions names instead. Then it 
>> doesn't matter if your FC6 root drive is sda1 or sdb1 or hdc1, it's 
>> always LABEL=fc6_root. If you say "mount LABEL=fc6_root /fc6" it will 
>> Do The Right Thing.
>>
>> So, in short, it doesn't matter how the two FC7 systems will detect 
>> the new drive, so long as you give it a useful label.
> Will, you could have mentioned:
> 1. a command to set the label ?
> 2. whether an lvm label like LogVol01 or LogVolhome is the same as the 
> label you are mentioning ?
>
> Consider it either good or bad that a long time redhat/fedora user 
> does not know such a command - it gets set by the installer - for 
> actual partitions, but not? for LVM logical volumes ?
>
> After much searching "label lvm partition" etc in google with little 
> result, I stumbled across the mkfs.ext3 parameter -L volume-label, but 
> decided that would actually format the partition.
tune2fs -L yourlabel /dev/yourdevice




More information about the test mailing list