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

Re: [linux-lvm] ERROR "parameter error" setting up snapshot copy on write exception table



On Mon, Jan 21, 2002 at 01:31:54PM +0100, Emanuel Quass wrote:
> Hi again,
> 
> 
> Am Montag, 21. Januar 2002 13:10 schrieb Marc Grimme:
> > Hi
> >
> > --On Montag, Januar 21, 2002 12:46:56 +0100 Emanuel Quass
> >
> > <emanuel quass temic com> wrote:
> > > Hi
> > >
> > > I rebooted the server several times (and tried several kernel-versions)
> > > but  every time I got the same error!
> > > The problem is (afaik see) the snapshot. I think if I can get rid of the
> > > snapshot everything will work all right. But I am not able to remove the
> > > snapshot because the Volumegroup is not active ......
> >
> > I had exactly the same problem and the same thoughts but I really don't
> > know how to delete a snapshot of an inactive volumegroup and I couldn't
> > find any program that was provided and did the job. Perhaps you can recover
> > some old configurations without snapshot with vgcfgrestore and stuff. But
> > I'm not really sure if this works cause the problem went away after I
> > rebooted the machine and was never to be seen again. And I was happy and
> > didn't touch this system again.
> 
> I already tried to do so, no result! :-(
> vgcfgrestore didn't helpo me out.

In order to be successfull with vgcfgrestore you need to

a) figure out the most recent metadata backup which *doesn't* contain
   information about the snapshot in question (you can do that with the -ll
   and the -f option of the vgcfgrestore command on the files in
   /etc/lvmconf/NameOfYourVG*) *and*

b) run "pvcreate -ff" on all the PVs before vgcfgrestore *and*

c) run vgcfgrestore on *all* of the PVs of your VG in question


> 
> >
> > And if vgcfgrestore helps, what if you create a snapshot and then some
> > other vgs and lvs and then your snapshot gets corrupt like this, can
> > vgcfgrestore help here also?
> >
> > So I would say I'm out. :-(
> >
> > > Is there a way to remove the snapshot (the volumegroup can't be made
> > > active)  without touching the other logical volumes ?
> >
> > Would be really interesting to know the answer.
> >
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen Sistina com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



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