Resize2fs - Ext4 16tb

sudo apt update
sudo apt install git
sudo apt build-dep e2fsprogs  # see https://askubuntu.com/q/158871/158442 to enable source package support
cd $(mktemp -d)
git clone -b v1.44.2 https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git e2fsprogs
cd e2fsprogs
./configure
make
cd resize
./resize2fs
sudo umount /dev/mapper/target-device
sudo ./e2fsck -fn /dev/mapper/target-device
sudo ./resize2fs -fb /dev/mapper/target-device
sudo ./resize2fs -fp /dev/mapper/target-device
sudo ./e2fsck -fn /dev/mapper/target-device
sudo mount /dev/mapper/target-device