OpenVZ Forum


Home » General » Support » *RESOLVED* nfs and openvz
*RESOLVED* nfs and openvz [message #14689] Fri, 06 July 2007 03:21 Go to previous message
duelster is currently offline  duelster
Messages: 3
Registered: July 2007
Junior Member
Hello All. New user of openvz. I have an openvz server VE that used to be able to mount an nfs share on a remote system. VE Server lost power and nfs hasn't worked since. Have not been able to mount this nfs share. Have read and googled but can't get nfs to work. I have files on another server that I need to access from this VE and can't get the nfs share to mount. Error is:

# mount /media
mount: fs type nfs not supported by kernel

# service nfs start
Starting NFS services: OK ]
Starting NFS quotas: OK ]
Starting NFS daemon: FAILED]
Starting NFS mountd: OK ]
Starting RPC idmapd: Error: RPC MTAB does not exist.

# tail -f /var/log/messages
Jul 5 08:07:18 mydomain nfs: Starting NFS services: succeeded
Jul 5 08:07:18 mydomain nfs: rpc.rquotad startup succeeded
Jul 5 08:07:18 mydomain nfsd[32573]: nfssvc: No such device
Jul 5 08:07:18 mydomain nfs: rpc.nfsd startup failed
Jul 5 08:07:18 mydomain nfs: rpc.mountd startup succeeded

I've restart portmap
I've modprobe sunrpc

# service rpcidmapd start
Starting RPC idmapd: Error: RPC MTAB does not exist.

]# service netfs start
Mounting NFS filesystems: mount: fs type nfs not supported by kernel [FAILED]
Mounting other filesystems: mount: none already mounted or /dev/pts busy
mount: according to mtab, devpts is already mounted on /dev/pts [FAILED]


uname -a: Linux mydomain.serv 2.6.18-8.el5.028stab031.1 #1 SMP Sat Apr 28 00:38:07 MSD 2007 i686 i686 i386 GNU/Linux


HN: grep nfs /proc/filesystems
nodev nfsd
nodev nfs
nodev nfs4


HN: /etc/sysctl.conf
net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 1
net.ipv4.tcp_syncookies = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
kernel.ve_allow_kthreads=1

HN: /etc/vz/conf/101.conf
FEATURES="nfs:on"

VE: grep nfs /proc/filesystems
(NOTHING IN THIS FILE)

VE: /etc/sysctl.conf
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
kernel.ve_allow_kthreads=1




It was working before I lost power to the server. Any ideas?


Noel

[Updated on: Wed, 11 July 2007 10:07] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VZ not starting automatically
Next Topic: [answered] NFS4 in a VE
Goto Forum:
  


Current Time: Sun Sep 08 13:21:07 GMT 2024

Total time taken to generate the page: 0.04924 seconds