Problem post snapshot / resize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

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.

James

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux