Koozali.org: home of the SME Server

LVM Tools under rescue mode?

Offline Alex Schaft

  • ****
  • 97
  • +0/-0
LVM Tools under rescue mode?
« 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
......

Offline Alex Schaft

  • ****
  • 97
  • +0/-0
Re: LVM Tools under rescue mode?
« Reply #1 on: October 29, 2007, 11:18:17 AM »
Ok, never mind. Found the lvm tool :)

Regards,
Alex
......

Offline byte

  • *
  • 2,183
  • +2/-0
Re: LVM Tools under rescue mode?
« Reply #2 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.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Alex Schaft

  • ****
  • 97
  • +0/-0
Re: LVM Tools under rescue mode?
« Reply #3 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

......