[linux-lvm] LV recovery

Lawrence Strydom laurie at midafrica.com
Mon Dec 9 09:31:01 UTC 2002


Hi Heinz,
I get the following output:
insmod: /lib/modules/2.4.7-4GB/kernel/drivers/md/lvm-mod.o: insmod
char-major-109 failed.

vgscan --  LVM driver module not loaded

That freaks me out a bit because the module is present. When I try to
load it manually with insmod I get the same error. Does this mean the
metadata has been overwritten?

Thanks
Lawrence

On Mon, 2002-12-09 at 15:30, Heinz J . Mauelshagen wrote:
> 
> Lawrence,
> 
> vgscan should recognize your VG fine if nothing overwrote the LVM metadata
> on /dev/hdc.
> What does vgscan dispay ?
> 
> On Mon, Dec 09, 2002 at 02:45:36PM +0200, Lawrence Strydom wrote:
> > Hi,
> > My company uses a SuSE email server III solution. The box has 2 IDE
> > drives, hda with /boot, /, and swap partintions on. The second, hdc, was
> > placed in a LVG with a LV for /var occupying all availlable space.
> > While I was away (quick absolution of self) one of the junior guys did
> > an online update of the software after which the system wouldn't start
> > again. To make a long story short, I managed to get the system going
> > again BUT..... /var cannot be mounted. 
> > /etc/fstab points to /dev/system/VAR. Upon inspection, this binary file
> > turns out to contain nothing but an error message about being unable to
> > write to /lib/modules/2.4.18-nnnnn/modules.dep. Ooops...
> > Now my question is this: Is it possible to recover the data from the
> > /var LV if the /dev/system/VAR file has gone AWOL? 
> > Any pointers to documentation/tools will be very much appreciated.
> > 
> > Thanks,
> > Lawrence
> > 
> > 
> > 
> > 
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm at sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> -- 
> 
> 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
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/






More information about the linux-lvm mailing list