PDA

View Full Version : How to mount extended & LVM partition ?



kio
9th July 2006, 04:40 AM
Hi all,

i just install a hdd( contain a LVM & extended partition) in to my fc5 system , but fail to mount these partition...

pls help..

Seve
9th July 2006, 06:47 AM
Hello:
Open a terminal and login as root and you need to run the following to get the new volume recognized

vgscan
vgchange -a y
you can also run pvdisplay /dev/hdX to see more info if you like

then just edit your /etc/fstab and add something like this:
/dev/VolGroup0X/LogVol0Y /mnt/"whatever" ext3 defaults 1 1
where X and Y are the appropriate values
hth
Seve

markkuk
9th July 2006, 10:16 AM
You mount file systems, not partitions. Sometimes a partition contains a file system and it appears that you "mount a partition" even if that's not exactly the case.

Extended partition is just a container for logical partitions, it doesn't contain a filesystem that could be mounted. LVM partitions are physical volumes for the Logical Volume Management system and they don't have filesystems directly on them. You must find the LVM Logical Volumes that contain mountable filesystems.

kio
9th July 2006, 05:17 PM
Hello:
Open a terminal and login as root and you need to run the following to get the new volume recognized

vgscan
vgchange -a y
you can also run pvdisplay /dev/hdX to see more info if you like

then just edit your /etc/fstab and add something like this:
/dev/VolGroup0X/LogVol0Y /mnt/"whatever" ext3 defaults 1 1
where X and Y are the appropriate values
hth
Seve


thx Seve ... It works.. :)