lpi2:autofs
Dies ist eine alte Version des Dokuments!
Einzelnes Verzeichnis automatisch mounten
Paket:
autofsDebian (ab 11)
mkfs.ext4 /dev/vg_system/lv_autofs1
- /etc/auto.misc
#KEY -OPTIONS LOCATION test -fstype=auto,noatime :/dev/vg_system/lv_autofs1
- /etc/auto.master.d/test.autofs
# mount-point Map -Options /misc /etc/auto.misc ---timeout=30,discard
service autofs restart
cd /misc/test df -h .
NFS-Server automatisch mounten
Voraussetzung: NFS v3 Server im Netzwerk vorhanden
/etc/auto.master :
/net -hosts
service autofs restart
Auf Verzeichnis /srv/nfs des NFS-Servers 192.168.122.243 zugreifen:
cd /net/192.168.122.243/srv/nfs
lpi2/autofs.1714659106.txt.gz · Zuletzt geändert: 2024/05/02 14:11 von ingo_wichmann
