Re: [linux-lvm] System hang during boot

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

 



On Sat, Nov 02, 2002 at 05:26:51PM -0800, Bill OConnor wrote:
> Hello,
> 
> I'm running SuSE 8.0 on a PC.
> 
> I tried to build and install Xine which hung my
> machine when I ran it.  Unpon reboot my machine does a
> 
> check root for LVM activation
> rmount for vgscan
> Scanning for LVM volume groups
> 
> and then hangs never to return.  I assume Xine
> corrupted something but what.  I can get to the files
> with a rescue disk but what do I rescue and how?

Before you change anything, you want to save copies of your LVM on-disk 
metadata (i.e. "dd if=/dev/PV of=PV.vgda bs=1k count=4k"; do that in
sequence replacing "PV" by your actual devices used as physical volumes).

For the next steps, I assume that you _don't_ have root on a logical volume
and do have the (same) LVM software accessable on your rescue device as on
the broken system.

Mount the regular root filesystem somewhere read-only and save the output
files from the dd-runs above _and_ all automatically taken metadata copies
in */etc/lvmconf/* on some seperate (external) media.

fsck the root filesystem and remount it read-write.

chroot to that mounted regular root, "strace vgscan" and report, where it
hangs (if it does again).

With that let's decide how to procede further (crossing fingers
that no data got destroyed). Next step will likely be vgcfgrestore(8).

> 
> thanks
> 
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@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@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux