I have a mixture of 1 volume and several datasets on my NAS with ZFS.
the volume is presented to a WIndows-Server as an iSCSI-target, the dataset as CIFS-shares.
At least ONE of the CIFS shares (which is 1.5TB in size) should now be removed and the volumes increased instead.
Is this possible ? The files on the dataset can be moved to another HDD.
This means:
- move the files, so the CIFS-share is empty.
- remove it
- CHANGE the ZFS volume to a much higher value
- (copy the files to the increased ZFS)
Thank you for your help
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Increase size of a ZFS volume
-
drnicolas
- Advanced User

- Posts: 180
- Joined: 15 Aug 2013 14:03
- Location: Wiesbaden, Germany
- Status: Offline
Increase size of a ZFS volume
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026
-
Onichan
- Advanced User

- Posts: 238
- Joined: 04 Jul 2012 21:41
- Status: Offline
Re: Increase size of a ZFS volume
So you have already deleted a ~1.5TB dataset and now you want to increase a ZFS volume with the new free space? Or are you asking if you can?
Anyways yes you can increase a ZFS volume live as long as you have the free space. So if deleting a dataset is how you want to free up space then that will work. If you are using snapshots then those will need to be deleted as well to actually free up the space. Just the snapshots of that dataset.
Just know that deleting the dataset is irreversible and you do loose the data unless it's backed up. (Sounds like you plan to copy the files to something then copy them to the volume after increasing it)
Also when you increase the volume on the NAS Windows won't automatically increase the partition. Just go to the disk management in Windows and you should now see free space on the disk. Just right click the disk and expand it.
Anyways yes you can increase a ZFS volume live as long as you have the free space. So if deleting a dataset is how you want to free up space then that will work. If you are using snapshots then those will need to be deleted as well to actually free up the space. Just the snapshots of that dataset.
Just know that deleting the dataset is irreversible and you do loose the data unless it's backed up. (Sounds like you plan to copy the files to something then copy them to the volume after increasing it)
Also when you increase the volume on the NAS Windows won't automatically increase the partition. Just go to the disk management in Windows and you should now see free space on the disk. Just right click the disk and expand it.