NFS: Konfigurasi Client

From OnnoWiki
Revision as of 06:37, 9 December 2012 by Onnowpurbo (talk | contribs) (→‎contoh yang agak rumit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install paket

apt-get install nfs-common nfs-kernel-server

Cara mount

mount ip-address-server:/folder/share /folder/lokal
mount -t nfs ip-address-server:/folder/share /folder/lokal
mount.nfs ip-address-server:/folder/share /folder/lokal

contoh yang agak rumit

  • Asumsi Server NFS 192.168.0.1
  • Nama Folder /album /iso /media /library /backup /repository /public


mkdir /mnt/album
mkdir /mnt/iso
mkdir /mnt/media
mkdir /mnt/library
mkdir /mnt/backup
mkdir /mnt/repository
mkdir /mnt/public
mount -t nfs 192.168.0.1:/nfs/album /mnt/album
mount -t nfs 192.168.0.1:/nfs/iso /mnt/iso
mount -t nfs 192.168.0.1:/nfs/media /mnt/media
mount -t nfs 192.168.0.1:/nfs/library /mnt/library
mount -t nfs 192.168.0.1:/nfs/backup /mnt/backup
mount -t nfs 192.168.0.1:/nfs/repository /mnt/repository
mount -t nfs 192.168.0.1:/nfs/Public /mnt/public


Contoh Untuk Buffalo NAS 192.168.0.7

mkdir /mnt/tera
mount -t nfs 192.168.0.7:/mnt/array1/share /mnt/tera

Pranala Menarik