[linux-lvm] Problem post snapshot / resize

Otter OtterzStuff at bellsouth.net
Sat Nov 25 06:13:50 UTC 2006


I have run into a problem with LVM2. I am using Fedora Core 4.

Here is what I did:
lvresize --size=30G -v /dev/VolGroup00/LogVol00
Finding volume group VolGroup00
WARNING: Reducing active and open logical volume to 30.00 GB
THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce LogVol00? [y/n]: y
Archiving volume group "VolGroup00" metadata.
Reducing logical volume LogVol00 to 30.00 GB
Creating volume group backup "/etc/lvm/backup/VolGroup00"
Found volume group "VolGroup00"
Found volume group "VolGroup00"
Loading VolGroup00-LogVol00
Logical volume LogVol00 successfully resized

The command was:
lvcreate --snapshot --size=500M --name=backup /dev/VolGroup00/LogVol00

The output it gave is:
Rounding up size to full physical extent 512.00 MB
Couldn't create temporary text file name.
Backup of volume group VolGroup00 metadata failed.
Logical volume "backup" created
/var/lock/lvm/V_VolGroup00: unlink failed: Read-only file system

If I try to use any LVM commands I get:
Locking type 1 initialisation failed.

I have no idea how to resolve this. The OS is now flagged Read-Only so I
can't remove the lock.

Please, any help would be appreciated.


More information about the linux-lvm mailing list