0

I'm trying to access data on a hard drive using a rescue system. I've mounted the root partition as so:

mount /dev/md1 /mnt

If I do

cat /mnt/etc/fstab

I see

/dev/vg00/var  /var     xfs

So I tried:

mount /dev/vg00/usr /mnt/usr/

But I get the error message:

mount: special device /dev/vg00/usr does not exist

Why does it say that the device doesn't exist if it exists?

womble
  • 96,255
  • 29
  • 175
  • 230

3 Answers3

4

Try this:

pvscan
vgscan
vgchange -a y

And after that try mounting again.

Janne Pikkarainen
  • 31,852
  • 4
  • 58
  • 81
1

What makes you believe that the device exists? Entries in fstab don't create devices; devices create devices. Given that you're running a rescue system, I would expect that it's a fairly shite one which doesn't automatically scan for and activate volume groups. Try running pvscan; vgchange -ay and see if your LVs magically reappear.

womble
  • 96,255
  • 29
  • 175
  • 230
0

It looks like your running a combination of software raid (mdadm) and volume groups on a linux machine.

In your case the problem looks to be related to your raid manager not detecting and creating the raid volume, or the volume manager not detecting and creating.

This link has an extensive guide how to repair volume groups within software raids: http://www.linuxjournal.com/article/8874

Flash
  • 1,310
  • 7
  • 13
  • I'll try the 3 commands that i saw below, and if doesn't work, i'll read that document. Added to bookmarks btw. Thanks. – Jorge Bellido Apr 27 '12 at 09:43