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.