@sjw @matrix I'm not moving off Minio. I'm just moving Minio to LVM.
I have to do it piece by piece. Shrinking the current partition, expanding lvm and copying a bit and so on.
I immediately hit an error. Does this mean i need more than 300mb of memory to shrink a 10tb ext4 partition?
image.png
Just switched back to serving everything directly which was an easy move.
LVM is nice because you can add a new drive (PV), add the PV to a volume group (VG), then expand the logical volume (LV) and filesystem all with only 3 commands and zero downtime in under a minute.
XFS is particularly nice for this because inodes are allocated dynamically so you'll never run out of inodes no matter how far you expand it. Ext4 only allows for inodes to be allocated at filesystem creation so it's possible to run into issues where you have a tonne of free space but no inodes left over to actually make use of it. Plus XFS allows for deduping and is just a really nice filesystem in general.