gentoo:trouble:08-systemd-nfs-mount

1. /etc/fstab에 추가

echo "n40l:/target /mnt/target nfs _netdev,defaults,x-systemd.automount,noauto,x-systemd.mount-timeout=10s 0 0" | sudo tee -a /etc/fstab

2. systmed .mount, .automount 파일 생성

sudo systemctl daemon-reload

3. 유닛 생성 확인, 마운트 확인

sudo systemctl List-unit-files --type=mount
sudo systemctl start mnt-target.mount
fintmnt

4. Swap file 활성화
in /etc/fstab

/your/swap/file none swap sw,auto,nofail,x-systemd.makefs,x-systemd.after=local-fs.taget  0 0
as root
systemctl daemon-reload
systemctl list-unit-files --type=swap
systemctl start your-swap-file
free -h

  • gentoo/trouble/08-systemd-nfs-mount.txt
  • 마지막으로 수정됨: 2026/02/10 17:02
  • 저자 baecy