How to recover data or mount a logical volume after resizing drive to less than size of physical volume
0
votes
0
answers
23
views
Due to a series of mistakes i resized my drive to be smaller than the physical volume it contains. The drive has a physical volume at around 110Gib, a logical volume at 100Gib, all on a 99.4Gib drive. The actual data on the logical volume is only 50gb or so, but i cant resize anything because i cant mount anything due to this mishap and i need the data off the logical volume.
Output of
:
WARNING: Device /dev/sda3 has size of 208445799 sectors which is smaller than corresponding PV size of 230684672 sectors. Was device resized?
WARNING: One or more devices used as PVs in VG ubuntu-vg have changed sizes.
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
ubuntu-lv ubuntu-vg -wi------- 100.00g
Output of
:
WARNING: Device /dev/sda3 has size of 208445799 sectors which is smaller than corresponding PV size of 230684672 sectors. Was device resized?
WARNING: One or more devices used as PVs in VG ubuntu-vg have changed sizes.
PV VG Fmt Attr PSize PFree
/dev/sda3 ubuntu-vg lvm2 a-- <110.00g <10.00g
Output of
:
WARNING: Device /dev/sda3 has size of 208445799 sectors which is smaller than corresponding PV size of 230684672 sectors. Was device resized?
WARNING: One or more devices used as PVs in VG ubuntu-vg have changed sizes.
VG #PV #LV #SN Attr VSize VFree
ubuntu-vg 1 1 0 wz--n- <110.00g <10.00g
Asked by Axell
(1 rep)
Aug 6, 2025, 03:59 PM