This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
misc:homezfsnas [2015/01/30 07:28] tschulz [/etc/auto.homes] |
misc:homezfsnas [2015/01/31 21:36] (current) tschulz [Questions] |
||
---|---|---|---|
Line 17: | Line 17: | ||
- are iSCSI targets connected on bootup (Windows): <file>**yes**</file> | - are iSCSI targets connected on bootup (Windows): <file>**yes**</file> | ||
- are iSCSI targets connected on bootup (Ubuntu): **yes, is seems initiator is able to reconnect even after a target restart** | - are iSCSI targets connected on bootup (Ubuntu): **yes, is seems initiator is able to reconnect even after a target restart** | ||
+ | - Does iSCSI reattach quickly after suspend: **Linux yes with some [[ubuntu:iscsihomedir|work]], Windows: yes** | ||
- can you grow iSCSI targets as normal files | - can you grow iSCSI targets as normal files | ||
- can you grow iSCSI targets as ZFS volumes: **yes, (zfs set volsize=2g <POOL>/<DATASET>)** | - can you grow iSCSI targets as ZFS volumes: **yes, (zfs set volsize=2g <POOL>/<DATASET>)** | ||
Line 29: | Line 30: | ||
==== /etc/rc.conf ==== | ==== /etc/rc.conf ==== | ||
+ | * NFS locking must be turned on otherwise NFS exports will not work as home directories | ||
<file> | <file> | ||
... | ... | ||
Line 49: | Line 51: | ||
===== On Client ===== | ===== On Client ===== | ||
+ | ===== Install autofs ===== | ||
+ | <file> | ||
+ | apt-get install autofs | ||
+ | </file> | ||
+ | |||
+ | |||
==== /etc/default/autofs ==== | ==== /etc/default/autofs ==== | ||
<file> | <file> | ||
Line 57: | Line 65: | ||
... | ... | ||
</file> | </file> | ||
+ | * Autofs sends logging to syslog, on 14.10 logging showed up in **/var/log/syslog** | ||
==== /etc/auto.master ==== | ==== /etc/auto.master ==== | ||
Line 69: | Line 78: | ||
</file> | </file> | ||
+ | * This will mount **<IP/HOSTNAME>:/<DATASET>** on **/netHomes/<SERVERNAME>** | ||