태그 보관물: automount

automount

fstab에서 NFS 마운트를 구성하는 방법은 무엇입니까? mount -t nfs

FreeNas 시스템에 NFS 공유 폴더가 있습니다. 이 공유를 마운트하고 다음 명령으로 사용할 수 있습니다.

mount -t nfs -o proto=tcp,port=2049 192.168.0.216:/mnt/HDD1
/media/freenas/

나는 그것을하는 방법을 모르기 /etc/fstab때문에 자동으로 수행합니다. 어떻게해야합니까?



답변

/etc/fstabNFS 마운트 의 일반적인 항목은 다음과 같습니다.

192.168.0.216:/mnt/HDD1    /media/freenas/    nfs    defaults    0 0

제공하는 옵션은 거의 기본적으로 보이지만 다음 옵션도 추가 할 수 있습니다.

192.168.0.216:/mnt/HDD1    /media/freenas/    nfs    defaults,proto=tcp,port=2049    0 0


답변