1. Change the default client configuration to 3
$ vim /etc/nfsmount.conf
# Protocol Version [2,3,4]
# This defines the default protocol version which will
# be used to start the negotiation with the server.
Defaultvers=3
2. change the mount file type as nfs instead of nfs4
$ vim /etc/fstab
192.168.0.21:/nfs_meerkats /vz nfs defaults,acl 1 1
192.168.0.21:/nfs_meerkats/conf /etc/vz/conf nfs defaults,acl 1 1
3. remount all the mount point
$ umount /vz
$ umount /etc/vz/conf
$ mount -a
$ mount
192.168.0.21:/nfs_meerkats on /vz type nfs (rw,acl,addr=192.168.0.21)
192.168.0.21:/nfs_meerkats/conf on /etc/sysconfig/vz-scripts type nfs (rw,acl,addr=192.168.0.21)
if it is using version 4:
$ mount
192.168.0.21:/nfs_meerkats on /vz type nfs (rw,acl,vers=4,addr=192.168.0.21,clientaddr=192.168.0.27)
192.168.0.21:/nfs_meerkats/conf on /etc/sysconfig/vz-scripts type nfs (rw,acl,vers=4,addr=192.168.0.21,clientaddr=192.168.0.27)
No comments:
Post a Comment