Bläddra i källkod

Update applications.md

Håvard O. Nordstrand 5 år sedan
förälder
incheckning
6c3a9ca25f
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      config/linux-server/applications.md

+ 2 - 2
config/linux-server/applications.md

@@ -232,7 +232,7 @@ TFTP_OPTIONS="--create --secure"
 1. Fix the ZFS install: `apt install`
 1. Fix the ZFS install: `apt install`
 1. Make the import service wait for iSCSI:
 1. Make the import service wait for iSCSI:
     1. `cp /lib/systemd/system/zfs-import-cache.zervice /etc/systemd/system`
     1. `cp /lib/systemd/system/zfs-import-cache.zervice /etc/systemd/system`
-    1. Add `After=iscsi.service` in `/etc/systemd/system/zfs-import-cache.service`.
+    1. Add `After=iscsid.service` in `/etc/systemd/system/zfs-import-cache.service`.
     1. `systemctl enable zfs-import-cache.service`
     1. `systemctl enable zfs-import-cache.service`
 1. Set the max ARC size: `echo "options zfs zfs_arc_max=<bytes>" >> /etc/modprobe.d/zfs.conf`
 1. Set the max ARC size: `echo "options zfs zfs_arc_max=<bytes>" >> /etc/modprobe.d/zfs.conf`
     - It should typically be around 15-25% of the physical RAM size on general nodes. It defaults to 50%.
     - It should typically be around 15-25% of the physical RAM size on general nodes. It defaults to 50%.
@@ -308,7 +308,7 @@ TFTP_OPTIONS="--create --secure"
 
 
 - `zfs-import-cache.service` fails to import pools because disks are not found:
 - `zfs-import-cache.service` fails to import pools because disks are not found:
   - Set `options scsi_mod scan=sync` in `/etc/modprobe.d/zfs.conf` to wait for iSCSI disks to come online before ZFS starts.
   - Set `options scsi_mod scan=sync` in `/etc/modprobe.d/zfs.conf` to wait for iSCSI disks to come online before ZFS starts.
-  - Add `After=iscsi.service` to `zfs-import-cache.service`
+  - Add `After=iscsid.service` to `zfs-import-cache.service`
 
 
 ### Extra Notes
 ### Extra Notes