LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LVM...pls help (https://www.linuxquestions.org/questions/linux-newbie-8/lvm-pls-help-420883/)

sambyte 03-02-2006 04:59 AM

LVM...pls help
 
Hi,

I need to know if a primary partion(other than /boot as converting it to LVM can cause the machine to stop functioning ) can be converted to LVM ? I tried this out with an logical partition under extended and it works fine. The steps are :
starting with #fdisk /dev/sda and then changed my partition id of that partition to 8e. After that pressing w
i type partprobe to save the changes. Next i create a PV with the command pvcreate /dev/sda3(3 for example).

Next #vgcreate vg0 /dev/sda3

Next #lvcreate -L 100M -n lv0 vg0

eveything is working fine as i can see with the commands like pvdisplay,lvdisplay,vgdisplay

The next step causes all the problem
#mke2fs -jv /dev/vg0/lv0

It gives me an error saying
"Cannot stat device " or " have you specified the device correctly "

This command works fine in an logical partition but in a primary partition it gives me the error.

michaelk 03-02-2006 07:09 PM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Continue here:
http://www.linuxquestions.org/questi...d.php?t=420834


All times are GMT -5. The time now is 07:42 AM.