On Jan 3, 2013, at 2:23 PM, Hugo Mills <h...@carfax.org.uk> wrote:

> On Thu, Jan 03, 2013 at 09:28:00PM +0100, Helmut Hullen wrote:
>> 
>> On my system (a bundle of /dev/sdb, /dev/sdc, /dev/sdd)
>> 
>>        btrfs fi label /dev/sdb mylabel
>> 
>> only sets the label on the (unmounted) device /dev/sdb. "/dev/sdc" and  
>> "/dev/sdd" remain without label.
> 
>   This is a bug.

It's a bug that appears to be fixed. I inadvertently tested it first on CentOS 
6.0 which has quite an older kernel and btrfsprogs. And Fedora 18 of course has 
a much newer kernel and btrfs-progs so I have no idea when in between those two 
this was fixed.

Helmut what kernel and btrfs-progs or distribution are you using? I think newer 
progs fixes this.

>> 
>> But before the first mounting of the system only "/dev/sdb" showed the  
>> label. Maybe with the first mounting the label spreads over all disks.
> 
>   Probably.

Not in my case with F18. I never mounted it once and immediately all commands 
saw the file system label change.

     

Chris Murphy

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to