0

Following this guide: How do I resize an ext4 partition beyond the 16TB limit?

I have done

sudo lvextend -l +3145725 /dev/densrv1-vg/data sudo resize2fs /dev/vgdata/lvdata

I have unmounted my vggroup with sudo umount -l /dev/vgdata/lvdata

When ran sudo ./resize2fs -b /dev/vgdata/lvdata

I get the error:

resize2fs 1.44.2 (14-May-2018)
./resize2fs: Device or resource busy while trying to open /dev/vgdata/lvdata
Couldn't find valid filesystem superblock.
9
  • I believe the order to be: change partition size, "pvresize", "lvextend -r". The -r activates "resize2fs".
    – Rinzwind
    Mar 11, 2020 at 15:08
  • thanks, so "sudo pvresize /dev/vgdata/lvdata" then "sudo lvextend -r /dev/vgdata/lvdata"?
    – GodAtum
    Mar 11, 2020 at 15:18
  • Yes that looks good to me.
    – Rinzwind
    Mar 11, 2020 at 15:20
  • Unfortunately got an error: sudo pvresize /dev/vgdata/lvdata Failed to find physical volume "/dev/vgdata/lvdata". 0 physical volume(s) resized / 0 physical volume(s) not resized
    – GodAtum
    Mar 11, 2020 at 15:27
  • what does pvs show? Ill be gone in 10 minutes so hope we can fix this before that ;-)
    – Rinzwind
    Mar 11, 2020 at 15:41

0

You must log in to answer this question.

Browse other questions tagged .