gentoo:trouble:08-systemd-nfs-mount

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
gentoo:trouble:08-systemd-nfs-mount [2026/02/10 00:58] – 만듦 baecygentoo:trouble:08-systemd-nfs-mount [2026/02/10 17:02] (현재) baecy
줄 2: 줄 2:
 <codeprism lang=bash> <codeprism lang=bash>
 echo "n40l:/target /mnt/target nfs _netdev,defaults,x-systemd.automount,noauto,x-systemd.mount-timeout=10s 0 0" | sudo tee -a /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
-</codprism>+</codeprism>
  
 2. systmed .mount, .automount 파일 생성 2. systmed .mount, .automount 파일 생성
줄 11: 줄 11:
 3. 유닛 생성 확인, 마운트 확인 3. 유닛 생성 확인, 마운트 확인
 <codeprism lang=bash> <codeprism lang=bash>
-sudo systemctl --list-unit-files --type=mount+sudo systemctl List-unit-files --type=mount
 sudo systemctl start mnt-target.mount sudo systemctl start mnt-target.mount
 fintmnt fintmnt
 </codeprism> </codeprism>
  
 +4. Swap file 활성화 \\ 
 +in /etc/fstab 
 +<codeprism> 
 +/your/swap/file none swap sw,auto,nofail,x-systemd.makefs,x-systemd.after=local-fs.taget  0 0 
 +</codeprism> 
 +as root 
 +<codeprism lang=bash> 
 +systemctl daemon-reload 
 +systemctl list-unit-files --type=swap 
 +systemctl start your-swap-file 
 +free -h 
 +</codeprism>
  • gentoo/trouble/08-systemd-nfs-mount.1770685131.txt.gz
  • 마지막으로 수정됨: 2026/02/10 00:58
  • 저자 baecy