User Tools

Site Tools


quickreference:zfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
quickreference:zfs [2022/12/17 13:59] rodolicoquickreference:zfs [2022/12/17 14:10] – [iSCSI considerations] rodolico
Line 59: Line 59:
  
 ===== iSCSI considerations ===== ===== iSCSI considerations =====
 +
 +On FreeBSD, the iSCSI config is /etc/ctl.conf, and the service is ctld <code bash>service ctld reload # reread iscsi exports on FreeBSD</code>
  
 iSCSI generally uses volumes which are then exported by the target. I have found that it is useful, from a management perspective, to place them under a dataset strictly for them, since I back up iSCSI volumes on a different timeline than I do other stuff. iSCSI generally uses volumes which are then exported by the target. I have found that it is useful, from a management perspective, to place them under a dataset strictly for them, since I back up iSCSI volumes on a different timeline than I do other stuff.
Line 86: Line 88:
   - On iSCSI target   - On iSCSI target
     - Rename the volume <code bash> zfs rename storage/volumename storage/iscsi/volumename</code>     - Rename the volume <code bash> zfs rename storage/volumename storage/iscsi/volumename</code>
-    - Edit the config to point to new location +    - Edit the config to point to new location (**/etc/ctl.conf** on FreeBSD) 
-    - reload iscsi service+    - reload iscsi service <code bash>service ctld reload # on FreeBSD</code>
   - On initiator   - On initiator
     - rescan target     - rescan target
     - allow access to volume     - allow access to volume
  
-I have **NOT** done this yet. This is based on some research I have done, and a little testing, so use at your own risk.+
  
 ===== Getting and setting properties ===== ===== Getting and setting properties =====
quickreference/zfs.txt · Last modified: 2024/02/03 23:04 by rodolico