nfs는 리눅스 서버간 디렉토리를 원격으로 mount할때 쓴다. 대상 서버의 /etc/exports 파일을 열어서 아래와 같이 편집한다. /data/backup 192.168.1.0/255.255.255.0(rw,no_root_squash) nfsd 재시작 # /etc/init.d/nfs restart 서버의 nfs설정 확인 # showmount -e localhost 마운트를 잡을 서버에서 nfs 연결 # mount -t nfs ip address:/data/backup /mnt/nfs 재부팅하게 되면 mount정보가 없어진다. 영구적으로 설정하려면 /etc/fstab 파일에 다음과 같은 문구를 추가하여야 한다 211.218.148.108:/data/cms /data/backup nfs rw,bg,intr,hard 0 0
날짜: 2008-04-01 17:43:00, 조회수: 2748