#fdisk -l

/dev/sdb1   *           1        9702    77931283+  8e  Linux LVM

I tried the following command:

#mkdir /media/backup
#mount /dev/sdb1 /media/backup

mount: unknown file system 'LVM2_member'

How do I mount it?

link|improve this question

74% accept rate
feedback

3 Answers

up vote 3 down vote accepted

I found the solution

#pvs
/dev/sdc5 intranet lvm2 a- 372,37G 0

# lvdisplay /dev/intranet
LV Name                /dev/intranet/root

#mount /dev/intranet/root /media/backup
link|improve this answer
feedback

You probably want to look at the *scan commands, pvscan, vgscan and lvscan. This will search for the various lvm components. If /dev/sdb1 is a physical volume that has a volume group with a logical volume, it should show up. If lvscan produces something like:

ACTIVE '/dev/vg00/home' [9.00 GB] inherit

Then you can mount /dev/vg00/home as /home.

link|improve this answer
feedback

Did you create a filesystem on the new device?

mkfs -j /dev/sdb1

or mkfs.ext3 /dev/sdb1

link|improve this answer
the "new device" is the old hard disk that were already working in another machine as the boot partition. I don't want to overwrite nothing on it – Jader Dias Jul 6 '09 at 19:40
Indeed you don't. Sorry for the assumptions... After re-reading it is a bit more plain but I see you have the answer below. – oneodd1 Jul 6 '09 at 20:28
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.