Resize a Partition

Hello, I have TruenaxCore in the version:
TrueNAS-13.0-U6.1

I have a pool: DS-Plex-Media.
Size: 2TB

There I have created an image with: truncate -s 2TB image.img.
Image was shared with iSCSI and passed directly to a VM in Esxi.

Works fine. Now the image is almost full and I wanted to expand it.

I have increased the datastore to 3TB.
Then I enlarged the image with: truncate -s 3TB image.img
Then the iSCSI Extend was enlarged to 3TB.

On the Linux VM, the partition was successfully enlarged to 3TB.

Unfortunately, it fails to extend the volume.

resize2fs /dev/sdb1 gives the following error message:

sysadmin@plexmediaserver:~$ sudo resize2fs /dev/sdb1
[sudo] password for sysadmin:
resize2fs 1.46.5 (30-Dec-2021)
resize2fs: New size results in too many block group descriptors.

Has anyone ever gotten the same error and found a solution for it?

If you’re using LLVM then the in vm instructions should work.

Meanwhile, it’d be more usual to create a sparse zvol in this situation.

I dont have LLVM.