[Users] Nfs In VE
Galia Lisovskaya
inbox at shaggy-cat.ru
Fri Jan 8 10:31:50 EST 2010
Also, you may use mount --bind: http://wiki.openvz.org/Bind_mounts to
sharing files beetwen different VE located on one NardwareNode (i use
it, it work fine, you may need rename container numbers for correct
mount in scripts aftrer node rebooting)
And, try this manuals: http://wiki.openvz.org/Mounting_filesystems
http://wiki.openvz.org/NFS (also include howto for UNFSd)
2010/1/8 Galia Lisovskaya <inbox at shaggy-cat.ru>:
>> [be care, my english's awfull, and i hope my question is not too stupid]
>
> Not problem, in this mail list english is not native languge for more
> people (my English is bad too :( )
>
> Please read this manual:
>
> http://wiki.openvz.org/NFS
>
> You don't may use kernel-mode NFS server inside container, but, you
> may use nfs client of kernel-mode NFS.
>
> I use UNFSd, usermode NFS v3 server inside container. It's work for
> me, it's work faster as Samba/cifs, and I use it for simple file
> sharing beetweng some hardware and virtual machines (not VE), but i
> want try NFS v4 server inside KVM-guest (sorry for offtopic).
>
> 2010/1/8 Grégory Bulot <diffusion at bulot-fr.com>:
>> [be care, my english's awfull, and i hope my question is not too stupid]
>>
>> Hi,
>>
>> In Lenny, how i can use an nfs server in VE ?
>>
>>
>> In Host :
>> modprobe nfsd works (/proc/net/rpc created)
>>
>> But in VE /proc/net/rpc not (mount --bind from host to VE don't work,
>> did i miss anything ?)
>>
>>
>> # aptitude search vz | grep ^i | awk -F ' - ' ' { print $1 } '
>> i A linux-headers-2.6.26-2-common-o
>> i linux-headers-2.6.26-2-openvz-6
>> i linux-image-2.6-openvz-686
>> i A linux-image-2.6.26-2-openvz-686
>> i A vzctl
>> i A vzquota
>>
>> >From Host :
>> # lsmod | grep nfs
>> nfsd 188752 0
>> lockd 56456 1 nfsd
>> nfs_acl 3680 1 nfsd
>> auth_rpcgss 34752 1 nfsd
>> sunrpc 166880 7 nfsd,lockd,nfs_acl,auth_rpcgss
>> exportfs 4832 1 nfsd
>>
>> >From VE: (just crazy test, because there no module capacity in VE)
>> # vzctl exec 202 /etc/init.d/nfs-common start
>> Starting NFS common utilities: statdFATAL: Could not
>> load /lib/modules/2.6.26-2-openvz-686/modules.dep: No such file or
>> directory FATAL: Could not
>> load /lib/modules/2.6.26-2-openvz-686/modules.dep: No such file or
>> directory FATAL: Could not
>> load /lib/modules/2.6.26-2-openvz-686/modules.dep: No such file or
>> directory idmapd.
>>
>> _______________________________________________
>> Users mailing list
>> Users at openvz.org
>> https://openvz.org/mailman/listinfo/users
>>
>
>
>
> --
> Galina Lisovskaya
>
--
Galina Lisovskaya
More information about the Users
mailing list