Re: LABEL only 1 device
From: Hugo Mills <hidden>
Date: 2012-02-27 10:11:55
Attachments
- signature.asc [application/pgp-signature] 190 bytes
From: Hugo Mills <hidden>
Date: 2012-02-27 10:11:55
On Mon, Feb 27, 2012 at 07:44:00AM +0100, Helmut Hullen wrote:
Hallo, Hugo, Du meintest am 26.02.12:quoted
mkfs.btrfs creates a new filesystem. The -L option sets the label for the newly-created FS. It *cannot* be used to change the label of an existing FS.The safest way may be deleting this option ... it seems to work as expected only when I create a new FS on 1 disk/partition.
I've said this several times: Your expectations are wrong. You don't label partitions. You label filesystems. You are using the wrong tool (filesystems labels) for the job (uniquely identifying partitions).
quoted
If you want to do that, use "btrfs filesystem label".And that seems to work as I expected - fine. Adding a device works, deleting a device works. Fine! Now I'll try the job with my Terabyte disks. (Yes - I have backups ...) Viele Gruesse! Helmut
-- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Be pure. Be vigilant. Behave. ---