[linux-lvm] vgchange -a y /dev/System fails

Heinz J . Mauelshagen mauelshagen at sistina.com
Thu Jan 31 05:19:02 UTC 2002


On Wed, Jan 30, 2002 at 07:04:17PM -0800, Marc MERLIN wrote:
> On Wed, Jan 30, 2002 at 01:12:05PM +0100, Heinz J . Mauelshagen wrote:
> > > Unfortunately, that doesn't work because I  had a cron job that was creating
> > > daily snapshots (in an attempt to emulate ONTAP's snapshot's feature), so my
> > > 10 backups contain snapshot LVs
> > 
> > Well, in this case you might still have a consistent backup with snapshots
> > which you can use like mentioned above.
> 
> I tried a few and none seemed to work, but I restored one from before I made
> snapshots and recovered from this.
> I now have my system back (/usr, /var)
> 
> As  for  /home,  as soon  as  I  tried  to  access it  (e2fsck,  tune2fs  -O
> ^has_journal, or whatever), the process hung in "wait_o" according to ps.
> 
> I tried to  restore the VG to  its state before I added  snapshots, but that
> only made it go away :-(
>  
> mechastreisand:/etc/lvmconf# vgchange -a n /dev/BigAssLVMRaid 

<SNIP>

> -> My BigAssLVMRaid VG is gone :-(
> 
> Did I just lose my data?

If you really tried all your metadata backups unsuccessfully, I am afraid so :-(
Some users reported snapshot problems with the recent 2.4.x kernels.
They are not 100% reliable due to VM issues being sorted out by the
kernel community hopefully which will hopefully be integrated in 2.4.18.

> 
> Marc
> -- 
> Microsoft is to operating systems & security ....
>                                       .... what McDonalds is to gourmet cooking
>   
> Home page: http://marc.merlins.org/   |   Finger marc_f at merlins.org for PGP key
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at 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 at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list