[linux-lvm] "broken" snapshot volume -- how to remove?

Helge Bahmann hcb at chaoticmind.net
Fri Sep 3 19:14:14 UTC 2004


Hello!

On Fri, 3 Sep 2004 Alasdair G Kergon wrote:

> On Fri, Sep 03, 2004 at 08:21:59PM +0200, Helge Bahmann wrote:
> > I *have* to bring the vg into a consistent state and I urgently need to
> > drop the snapshot volume -- is there any tool to manipulate lvm purely in
> > userspace that can simply delete the snapshot volume?
>
> LVM2 userspace tools would do this:
>   Source code from http://sources.redhat.com/lvm2/
>   To stop them talking to the kernel:
>     configure --disable-devmapper
>   before compiling.

hm... the documentation does not clearly state that it does handle lvm1
meta-data correctly, but I assume it does?

> And of course you must deactivate all your LVs before using
> them (ie vgchange -an).

certainly

Thanks for your help so far!
-- 
Helge Bahmann <hcb at chaoticmind.net>                     /| \__
The past: Smart users in front of dumb terminals       /_|____\
                                                     _/\ |   __)
$ ./configure                                        \\ \|__/__|
checking whether build environment is sane... yes     \\/___/ |
checking for AIX... no (we already did this)            |




More information about the linux-lvm mailing list