Bug 145082 - lvm2 doesn't clear all filesystem metadata
lvm2 doesn't clear all filesystem metadata
Status: CLOSED DUPLICATE of bug 140329
Product: Fedora
Classification: Fedora
Component: lvm2 (Show other bugs)
3
All Linux
medium Severity low
: ---
: ---
Assigned To: Alasdair Kergon
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-14 02:11 EST by Bill Nottingham
Modified: 2014-03-16 22:51 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-01-27 12:36:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bill Nottingham 2005-01-14 02:11:25 EST
Create a RAID-1 array, md0. Then do the following:

mke2fs /dev/md0
e2label /dev/md0 foo
add to /etc/fstab:
 LABEL=foo /misc ext3 defaults 1 1
mount /misc
<look at filesystem>

umount /misc
pvcreate /dev/md0
vgcreate wibble /dev/md0
lvcreate --size=<whatever> -name wow bar
mke2fs /dev/bar/wow
e2label /dev/bar/wow foo

Then:

# mount /misc
mount: error: the label foo occurs on both md0 and dm-0

Shouldn't making the LVM volume get rid of the old filesystem label
somehow?  You can always run 'e2label /dev/md0 ""' to delete the
label, but running that on the the raw RAID volume under the LVM seems
unwise.
Comment 1 Alasdair Kergon 2005-01-14 05:02:19 EST

*** This bug has been marked as a duplicate of 140329 ***

Note You need to log in before you can comment on or make changes to this bug.