Hi. I've added a new (faster) disk to a VG and now want to move a thinly provisioned LV to the new PV. When I try it doesn't find any data to move though:
# pvmove -n /dev/rootvol_tmp/var /dev/sda7 /dev/sdc
No data to move for rootvol_tmp.
both disks are in the VG though:
# pvs
PV VG Fmt Attr PSize PFree
/dev/sda7 rootvol_tmp lvm2 a-- 170.89g 3.62g
/dev/sdc rootvol_tmp lvm2 a-- <279.46g <151.46g
# lvdisplay --maps /dev/rootvol_tmp/var
--- Logical volume ---
LV Path /dev/rootvol_tmp/var
LV Name var
VG Name rootvol_tmp
LV UUID jurBnO-APSJ-fbp1-DhWZ-8475-vrDh-heccun
LV Write Access read/write
LV Creation host, time localhost, 2019-11-10 11:11:17 -0500
LV Pool name pool00
LV Status available
# open 1
LV Size 55.27 GiB
Mapped size 96.94%
Current LE 14150
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:17
--- Segments ---
Virtual extents 0 to 14149:
Type thin
Device ID 3
The LV is a thinly provisioned LV:
# lvs
LV VG Attr LSize Pool Origin Data% Meta%
Move Log Cpy%Sync Convert
pool00 rootvol_tmp twi-aotz-- <138.88g 80.32 40.28
var rootvol_tmp Vwi-aotz-- 55.27g pool00 96.94
Any ideas?
Cheers,
b.
signature.asc
Description: This is a digitally signed message part
