User Tools

Site Tools


software:zfs

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:zfs [2019/12/23 05:21] Michele Porellisoftware:zfs [2021/12/05 22:59] (current) – [ZFS] Michele Porelli
Line 1: Line 1:
 ====== ZFS ====== ====== ZFS ======
 +===== Start ZFS after iscsi =====
 +  * Add a drop-in file for the zfs-import-cache service<code>$ sudo systemctl edit zfs-import-cache.service</code>
 +  * Add dependencies<code>[Unit]
 +Requires=open-iscsi.service iscsi.service
 +After=open-iscsi.service iscsi.service
 +</code>
 ===== How-Tos ===== ===== How-Tos =====
 ==== Clone a pool without losing snapshots ==== ==== Clone a pool without losing snapshots ====
Line 28: Line 34:
 # modprobe zfs # modprobe zfs
 </code> </code>
 +==== Expand zpool to size ====
 +This command works with the volume, not the pool. You will need to execute it for every volume if you pool has more than one.
 +<code>sudo zpool online -e zpool-docker nvme-Amazon_Elastic_Block_Store_volxxxxxxxxx</code>
software/zfs.1577074875.txt · Last modified: 2019/12/23 05:21 by Michele Porelli