All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Problem post snapshot / resize
@ 2006-11-25  6:13 Otter
  0 siblings, 0 replies; only message in thread
From: Otter @ 2006-11-25  6:13 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-25  8:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-25  6:13 [linux-lvm] Problem post snapshot / resize Otter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.