lvm2
Hi
I have created 2 lvm2 as partitions and I want to use them for the virtualization, when I use the yast > virtualization > create virtual machine > then when u get to the summary window in the disk section i want to add one of my partition but i wont accept, this my partiont: Filesystem Size Used Avail Use% Mounted on /dev/sda1 51G 8.4G 42G 17% / udev 466M 176K 466M 1% /dev /dev/sda2 21G 5.4G 15G 27% /home /dev/mapper/system-host1 6.0G 33M 6.0G 1% /system/host1 /dev/mapper/system-host2 2.0G 33M 2.0G 2% /system/host2 Pretty much I want to put one of the last 2 partitions to the virtual host thanks |
Haven't done anything with virtualization, but have you tried using the device /dev/system/host2 instead of /dev/mapper/system-host2. This is most likely what your actual logical volume is. You can verify by doing a vgdisplay system and look for the logical volume.
Example # df -h /ts2 Filesystem Size Used Avail Use% Mounted on /dev/mapper/hou204cm-ts2 1.4T 788G 564G 59% /ts2 # lvdisplay /dev/mapper/hou204cm-ts2 Volume group "mapper" not found # lvdisplay /dev/hou204cm/ts2 --- Logical volume --- LV Name /dev/hou204cm/ts2 <----real lvol name VG Name hou204cm LV UUID 000000-0000-0000-0000-0000-0000-00000a LV Write Access read/write LV Status available # open 1 LV Size 1.32 TB Current LE 43235 Segments 3 Allocation normal Read ahead sectors 1024 Block device 253:10 |
All times are GMT -5. The time now is 10:57 AM. |