Rabu, 08 Mei 2019

How to install and configure nfs client on suse linux

  Tidak ada komentar
Make sure nfsclient and rpcbind package already installed
sllpc:~ # zypper install nfs-client rpcbind
Refreshing service 'SUSE_Linux_Enterprise_Server_12_SP3_ppc64le'.
Loading repository data...
Reading installed packages...
'rpcbind' is already installed.
No update candidate for 'rpcbind-0.2.3-24.3.1.ppc64le'. The highest available version is already installed.
'nfs-client' is already installed.
No update candidate for 'nfs-client-1.3.0-34.8.3.ppc64le'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.
sllpc:~ #
Make directory and mount the nfs server
sllpc:~ # mkdir -p /mnt/nfs
sllpc:~ #
sllpc:~ # mount 192.168.74.61:/var/nfsshare /mnt/nfs
sllpc:~ #

Check the disk
sllpc:~ # df -h
Filesystem                                           Size  Used Avail Use% Mount                                                      ed on
devtmpfs                                             3.9G  128K  3.9G   1% /dev
tmpfs                                                3.9G     0  3.9G   0% /dev/                                                      shm
tmpfs                                                3.9G  130M  3.8G   4% /run
tmpfs                                                3.9G     0  3.9G   0% /sys/                                                      fs/cgroup

/dev/mapper/3600c0ff0003bff144cc49a5b01000000-part3   37G   24G   13G  65% /var/                                                      crash
tmpfs                                                787M     0  787M   0% /run/                                                      user/0
192.168.74.61:/var/nfsshare                             44G   37G  7.5G  83% /siml                                                      ala
sllpc:~ #

To make it permanent add the nfs to fstab config
sllpc:~ # vi /etc/fstab
sllpc:~ #
sllpc:~ # tail -n 100 /etc/fstab | grep nfs
192.168.74.61:/var/nfsshare  /mnt/nfs        nfs     defaults                0 0
sllpc:~ #

Tidak ada komentar :

Posting Komentar