ubuntu에 nfs 를 이용해서 mount 방법이다.(클라이언트)
우선 nfs 를 설치한다.
# apt-get install nfs-common
설치 완료후
# mount -t nfs 192.168.0.2:/data/ /data/
이런식으로 mount를 걸면 걸린다.
이제 fstab 에 넣어 보자
UUID=474bd0ae-658f-4203-b393-b8e925d4b7eb / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=ae6cf81e-f5ae-402d-8970-75b76353f473 /boot ext4 defaults 0 2
# /tmp was on /dev/sda5 during installation
UUID=43964d47-8a5b-46c3-b64d-78dd76ca0f21 /tmp ext4 defaults 0 2
# /user was on /dev/sda7 during installation
UUID=cec86377-fc1c-4a7d-b8c7-46d3856a746e /user ext4 defaults 0 2
# swap was on /dev/sda8 during installation
UUID=2c7b41bd-3d79-4553-b605-393466e0d8c3 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
192.168.0.2:/data/ /data nfs defaults 0 0
'Ubuntu' 카테고리의 다른 글
ubuntu mirror server 구축 (0) | 2014.03.24 |
---|---|
SSL handshake failed: SSL error: Key usage violation in certificate has been detected. (0) | 2014.03.21 |
ubuntu fstab automount (0) | 2013.11.19 |
ubuntu(13.04) vncserver 구동시 바탕화면만 나올때 (0) | 2013.08.14 |
openstack 설치하기 (1) | 2013.08.13 |