Hi - I've just expanded my ZFS zpool by swapping for larger drives, and I'm in the process of re-silvering the last drive now. The next step will be to expand a iSCSI file extent that sits on the volume. I found the wiki page for it but something doesn't make sense to me.
http://doc.freenas.org/index.php/ISCSI#File_Extent_Based_LUN
In the wiki it says to set the iSCSI file extent size to 0 - but I've seen posts that say this causes problems. Can anybody give me more information? Do I want to use 0 or not? What is the risk if do?
Thanks.
http://doc.freenas.org/index.php/ISCSI#File_Extent_Based_LUN
Code:
File Extent Based LUN Before growing a file extent based LUN, make sure that all initiators are disconnected. Stop the iSCSI service in Control Services. Then, go to Services → iSCSI → File Extents → View File Extents to determine the path of the file extent to grow. Open Shell to grow the extent. This example grows /mnt/volume1/data by 2G: truncate -s +2g /mnt/volume1/data Go back to Services → iSCSI → File Extents → View File Extents and click the Edit button for the file extent. Set the size to 0 as this causes the iSCSI target to use the existing size of the file. You can now start the iSCSI service and allow initiators to connect.
In the wiki it says to set the iSCSI file extent size to 0 - but I've seen posts that say this causes problems. Can anybody give me more information? Do I want to use 0 or not? What is the risk if do?
Thanks.