public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* Problem with renaming devices
@ 2009-04-06 17:41 Hugo Mills
  2009-04-07 11:35 ` Chris Mason
  0 siblings, 1 reply; 3+ messages in thread
From: Hugo Mills @ 2009-04-06 17:41 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]

   There seems to be some issue over changing the names of the device
that a btrfs filesystem lives on:

# lvcreate scratch -n fstest -L 2G
  Logical volume "fstest" created
# mkfs -t btrfs /dev/scratch/fstest

WARNING! - Btrfs v0.18-ge3b0f66 IS EXPERIMENTAL
WARNING! - see http://btrfs.wiki.kernel.org before using

fs created label (null) on /dev/scratch/fs1
	nodesize 4096 leafsize 4096 sectorsize 4096 size 2.00GB
Btrfs v0.18-ge3b0f66

# mount /dev/scratch/fstest /mnt
# umount /mnt

# lvrename scratch fstest derek
  Renamed "fstest" to "derek" in volume group "scratch"
# mount /dev/scratch/derek /mnt
mount: /dev/mapper/scratch-derek: can't read superblock

# lvrename scratch derek fstest
  Renamed "derek" to "fstest" in volume group "scratch"
# mount /dev/scratch/fstest /mnt
[success]

   The rename works properly on a completely virgin filesystem, but
not on one that's been mounted and unmounted (as above).

   Hugo.

-- 
=== 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
             --- Happiness is mandatory.  Are you happy? ---             

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <69e11d1f0911071341n4c0a845ds7bbf5d64b039d8f@mail.gmail.com>]

end of thread, other threads:[~2009-11-07 21:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-06 17:41 Problem with renaming devices Hugo Mills
2009-04-07 11:35 ` Chris Mason
     [not found] <69e11d1f0911071341n4c0a845ds7bbf5d64b039d8f@mail.gmail.com>
2009-11-07 21:44 ` Gustavo Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox