One big advantage of ZFS is that it includes a volume manager.
In a certain pool, I use some space for datasets and some space for zVols to export as iSCSI device extent. Clearly, I do not want to give the final size of the zvol.
Ideally, I would start with a zvol of 10TB and increase as needed. Since the zVol is exported via iSCSI, the underlying filesystem will be resized (e.g. resize2fs).
However, in the GUI, there is no option to resize a zvol (only delete and snapshot). Using the command line, I found out that this at least gives to errors:
Is there anything wrong about? Why is this function not in the GUI?
Regards
divB
In a certain pool, I use some space for datasets and some space for zVols to export as iSCSI device extent. Clearly, I do not want to give the final size of the zvol.
Ideally, I would start with a zvol of 10TB and increase as needed. Since the zVol is exported via iSCSI, the underlying filesystem will be resized (e.g. resize2fs).
However, in the GUI, there is no option to resize a zvol (only delete and snapshot). Using the command line, I found out that this at least gives to errors:
Code:
[root@zetta] ~# zfs get volsize test/testvol NAME PROPERTY VALUE SOURCE test/testvol volsize 1G - [root@zetta] ~# zfs set volsize=2G test/testvol [root@zetta] ~# zfs get volsize test/testvol NAME PROPERTY VALUE SOURCE test/testvol volsize 2G - [root@zetta] ~#
Is there anything wrong about? Why is this function not in the GUI?
Regards
divB