OpenVZ Forum


Home » General » Support » Kind of a strange one: NFS (NFS server *and* client on HNs?)
Re: Kind of a strange one: NFS [message #39114 is a reply to message #39087] Tue, 16 March 2010 16:52 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

i tried 2.6.26-dostoevsky.1 kernel and everything works like clockwork.
The only steps I did are the following
# sudo /etc/init.d/nfslock restart
audit_log_user_command(): Connection refused
Stopping NFS statd:                                        [  OK  ]
Starting NFS statd:                                        [  OK  ]
# sudo /etc/init.d/nfsrestart
sudo: /etc/init.d/nfsrestart: command not found
# sudo /etc/init.d/nfs restart
audit_log_user_command(): Connection refused
Shutting down NFS mountd:                                  [FAILED]
Shutting down NFS daemon:                                  [FAILED]
Shutting down NFS services:                                [FAILED]
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
# uname -a
Linux myhost 2.6.26-dostoevsky.1 #1 SMP Fri Apr 3 19:08:02 MSD 2009 i686 i686 i386 GNU/Linux
# rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp    684  status
    100024    1   tcp    687  status
    100011    1   udp    753  rquotad
    100011    2   udp    753  rquotad
    100011    1   tcp    756  rquotad
    100011    2   tcp    756  rquotad
    100021    1   udp  54911  nlockmgr
    100021    3   udp  54911  nlockmgr
    100021    4   udp  54911  nlockmgr
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100021    1   tcp  51973  nlockmgr
    100021    3   tcp  51973  nlockmgr
    100021    4   tcp  51973  nlockmgr
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100005    1   udp    795  mountd
    100005    1   tcp    798  mountd
    100005    2   udp    795  mountd
    100005    2   tcp    798  mountd
    100005    3   udp    795  mountd
    100005    3   tcp    798  mountd
# cat /etc/exports
/vz/private/102/ *(rw,no_root_squash,nohide,no_subtree_check)
# service vz status
OpenVZ is running...


from another computer

# sudo mount -t nfs myhost:/vz/private/102 /mnt/
# echo $?
0

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Too many orphaned sockets in CT0
Next Topic: Updated documentation
Goto Forum:
  


Current Time: Tue Aug 27 13:14:21 GMT 2024

Total time taken to generate the page: 0.03493 seconds