Hello CentOS community members,
A hardware vendor provided us with a .qcow2 file to run on our KVM
hypervisor file that will monitor/control said hardware (firewall). I'd
like to import this .qcow2 to run as a logical volume (named 'server3')
in an existing logical group named 'centos' on our CentOS Linux release
7.1.1503 server.
Right now the .qcow2 file is sitting /root partition with limited disk
space. The logical group 'centos' is already setup with lots of free
space. There are a few logical volumes already configured.
lvm> vgs
VG #PV #LV #SN Attr VSize VFree
centos 1 5 1 wz--n- 1.82t 1.52t
lvm> lvs
LV VG Attr LSize Pool Origin Data%
Meta% Move Log Cpy%Sync Convert
server1 centos owi-aos--- 100.00g
server2 centos -wi-a----- 100.00g
root centos -wi-ao---- 50.00g
swap centos -wi-ao---- 4.00g
lvm> lvdisplay
--- Logical volume ---
LV Path /dev/centos/swap
LV Name swap
VG Name centos
LV UUID oB3cTX-zujK-dkOa-IxU2-SsIf-HEM7-816nu1
LV Write Access read/write
LV Creation host, time localhost, 2015-11-11 21:54:49 -0500
LV Status available
# open 2
LV Size 4.00 GiB
Current LE 1024
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Path /dev/centos/root
LV Name root
VG Name centos
LV UUID iWHXnK-o6JN-Duzb-VyFc-yAjD-B65R-02t2aV
LV Write Access read/write
LV Creation host, time localhost, 2015-11-11 21:54:52 -0500
LV Status available
# open 1
LV Size 50.00 GiB
Current LE 12800
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
--- Logical volume ---
LV Path /dev/centos/server1
LV Name server1
VG Name centos
LV UUID zx23A5-oNJW-prbw-vdTo-mIBA-Olfr-EjaRja
LV Write Access read/write
LV Creation host, time xxxx.xxx.xxx, 2016-06-01 15:17:32 -0400
LV snapshot status source of
server1 [active]
LV Status available
# open 1
LV Size 100.00 GiB
Current LE 25600
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:6
--- Logical volume ---
LV Path /dev/centos/server2
LV Name server2
VG Name centos
LV UUID lzaBBu-hSMp-ZXSa-aVlS-hZJf-Ccfe-vdHatI
LV Write Access read/write
LV Creation host, time xxxxx.xxx.xxx, 2017-03-21 11:35:24 -0400
LV snapshot status active destination for server2
LV Status available
# open 0
LV Size 100.00 GiB
Current LE 25600
COW-table size 50.00 GiB
COW-table LE 12800
Allocated to snapshot 35.76%
Snapshot chunk size 4.00 KiB
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:8
How would can you import/migrate this .qcow2 into a logical volume? Any
advice would be greatly appreciated.
Thank you,
Scott