TrueNAS Scale dataset expand

Dear TrueNAS community,
Could you please help me with a dataset expand so it fit free HDD space. I searched thought the forum and seems the solution is to add another disk and expand with it a dataset. I was wondering it there is another way around.
I run TrueNAS as virtual appliance on a vShpere hypervisor. Expanding a dataset size was not an issue in TrueNAS “core” edition; just expand VM disk and in few clicks in TrueNAS GUI I had the dataset expanded to the disk size.
As the TrueNAS core became “legacy” I upgraded it to Scale. Now it is v25.04.1. After the VM disk size increase seems is not possible to fit the dataset to new disk size as before.
The only way I found it is add a new disk to the VM and expand with it a dataset which I don’t want.
I have two datasets. Each sits on its own disk. After VM disk size increase pool exand gives below error:
[EFAULT] Command sgdisk -d 1 -n 1:2048:+57094144KiB -t 1:BF01 -u 1:1220ee33-19e8-4c5d-8a70-92e3c73db6d1 /dev/sdc failed (code 4): Could not create partition 1 from 2048 to 114190335 Could not change partition 1’s type code to BF01! Error encountered; not saving changes.

Could you please help me?
Thank you in advance for your reply.

You appear to be confusing datasets and pools

Are you passing virtual drives from vSphere to TrueNAS?
If so, don’t bother expanding: You’re already on the road to loosing the pool.

1 Like

Dear NugentS, Dear etorix. Right, sorry for the confusion. I confused myself as Pools and Datasets have same names, it was just to know on which pool hosts which dataset. Thanks for your reply. Yes, I passing virtual drives from vSphere to TrueNAS.
Could you please help me to understand. After disk extension on 600GB in vSphere I see the disk in Storage->Disks with new size, 9.19TiB . However on Storage Dashboard on Usage tile it still shows previous disk size and indicates Usable capacity 8.51TiB. Used 7TiB, Available 1.51TiB. Where 600GB have disappeared? Thanks

1 Like

Do not pass virtual drives ro TrueNAS. as @etorix says - thats a good way to lose your data. You need to pass an entire controller through.

Understood. Will redesign the system then. Thank you.