Hallo, linux-btrfs,

please delete the option "-L" (for labelling) in "mkfs.btrfs", in some  
configurations it doesn't work as expected.

My usual way:

        mkfs.btrfs -d raid0 -m raid1 /dev/sdb /dev/sdc /dev/sdd ...

One call for some devices.
Wenn I add the option "-L mylabel" then each device gets the same label,  
and therefore some other programs can't find the (one) device with the  
defined label.

Especially

     blkid
     findfs LABEL=mylabel

don't work.

     file -s /dev/sdb  (etc.)

shows the label (and the problem).

Other tries:

        mkfs.btrfs -L mylabel /dev/sdb

creates a new btrfs filesystem and overwrites prior tries.

What works:

        btrfs filesystem label /dev/sdb mylabel


Viele Gruesse!
Helmut
--
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