LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mounting red hat partitions with that LVM nonsense? (https://www.linuxquestions.org/questions/linux-software-2/mounting-red-hat-partitions-with-that-lvm-nonsense-362698/)

silex_88 09-12-2005 12:39 PM

mounting red hat partitions with that LVM nonsense?
 
I have Fedora Core 4 installed on one hard disk and I need to access data on a seperate hard disk on which RHEL 4 is installed. FC4 didn't detect the RHEL installation and I have no idea what to add to /etc/fstab because of the LVM crap (or maybe its the same as usual, I just don't know). Is there a way to autodetect this or can someone tell me or point me to a website explaining what to add to fstab?

relevant fdisk -l output:

fedora core 4:
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 19452 156143767+ 8e Linux LVM

rhel 4:
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 19452 156143767+ 8e Linux LVM

Thanks a bunch!

silex_88 09-12-2005 01:20 PM

update
 
okay, so i figured out how to mount the root file system:

mount /dev/VolGroup00/LogVol00 /mnt

but i'm still stuck because i need to access the root partition on that disk and that still isn't mounted.

i tried

mount /dev/VolGroup00/LogVol01 /mnt/boot but that didn't work, saying "looks like swapspace - not mounted"

any ideas?

tkedwards 09-12-2005 06:51 PM

Well then that one probably is the swap partition - have a look in your /dev/ directory, are there any more /dev/VolGroupXX entries.

silex_88 09-12-2005 07:50 PM

Yeah, there's VolGroup01, is that what I'm looking for? I thought that was the fedora one, but I guess there are 2 "VolGroup" for one disk?

tkedwards 09-12-2005 08:06 PM

VolGroup01 is another LVM parition which may contain one or more Logical Volumes. If you're running the Fedora install you can check which VolGroup its partitions are on by running mount (or just looking in its /etc/fstab). Even if Fedora is using VolGroup01 look at each LogVol and try to mount any that aren't mounted.


All times are GMT -5. The time now is 04:17 AM.