Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Alex Schaft on October 29, 2007, 10:47:20 AM

Title: LVM Tools under rescue mode?
Post by: Alex Schaft on October 29, 2007, 10:47:20 AM
Hi,

I've got a hard drive that's not picking up its LVM. I've now booted from the install cd into rescue mode, but can't find any lvm tools

I've created the md device, but now can't create my volume group from /dev/md2.

Is there an alternative?

Alex
Title: Re: LVM Tools under rescue mode?
Post by: Alex Schaft on October 29, 2007, 11:18:17 AM
Ok, never mind. Found the lvm tool :)

Regards,
Alex
Title: Re: LVM Tools under rescue mode?
Post by: byte on October 29, 2007, 11:57:14 PM
Ok, never mind. Found the lvm tool :)

Would you care to share in case any other users has this issue ? Thanks.
Title: Re: LVM Tools under rescue mode?
Post by: Alex Schaft on October 30, 2007, 05:46:16 AM
After booting, I ran lvm, which brings up the lvm console. Iwas trying to run vgchange directly from the command line.

From there I could activate the lvm with vgchange -a y main

Hard drive was still trashed though, with all folders sitting in lost+found as #1234124 entries. Found my data and copied off using scp