OpenVZ Forum


Home » General » Support » I get OpenVZ now, but what about NFS support?
I get OpenVZ now, but what about NFS support? [message #23549] Tue, 20 November 2007 08:42 Go to next message
RobinVossen is currently offline  RobinVossen
Messages: 36
Registered: November 2007
Member
Well, I understand the Basics and the Powers of OpenVZ now.
I found out How Powerful it is and I am really happy with it.
The problem is, how can I enable NFS I have been googling but for some reason It just doesnt work.
I have read the following documents:

<To Learn About NFS in OpenVZ>


Anyhow, after reading that I found out that I can make a NFS share with OpenVZ quite easy.
By using the command
vzctl set 1 --features "nfs:on" --save

I got the error that --features doesnt exist.
So, well..
How can I enable NFS in a VirtualPC thats made by OpenVZ?

Cheers,
Robin

[Updated on: Tue, 20 November 2007 08:42]

Report message to a moderator

Re: I get OpenVZ now, but what about NFS support? [message #23587 is a reply to message #23549] Tue, 20 November 2007 17:00 Go to previous messageGo to next message
efball is currently offline  efball
Messages: 41
Registered: September 2006
Location: Santa Rosa, California
Member
RobinVossen wrote on Tue, 20 November 2007 03:42


after reading that I found out that I can make a NFS share with OpenVZ quite easy.
By using the command
vzctl set 1 --features "nfs:on" --save

I got the error that --features doesnt exist.
So, well..
How can I enable NFS in a VirtualPC thats made by OpenVZ?



What kernel are you using? You need 2.6.18 or newer for NFS to work.


E Frank Ball efball@efball.com
Re: I get OpenVZ now, but what about NFS support? [message #23618 is a reply to message #23549] Wed, 21 November 2007 07:58 Go to previous messageGo to next message
RobinVossen is currently offline  RobinVossen
Messages: 36
Registered: November 2007
Member
When I run uname -r in the OpenVZ box Ill get 2.6.18-openvz-686
So yea I run the 2.6.18 kernel and in the normal box Ill get exactly the same.
So, what do I do wrong to enable NFS?
Re: I get OpenVZ now, but what about NFS support? [message #23624 is a reply to message #23549] Wed, 21 November 2007 09:10 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
RobinVossen wrote on Tue, 20 November 2007 11:42

By using the command
vzctl set 1 --features "nfs:on" --save

I got the error that --features doesnt exist.


Obviously you have too old vzctl version.
http://wiki.openvz.org/NFS#Prerequisites
"You will need the following software:
1. vzctl version 3.0.13 or higher (do vzctl --version)
2. kernel version 2.6.18-028test006 or higher (2.6.18-028stab* will do), or any recent RHEL5-based or 2.6.20-based kernel."

http://wiki.openvz.org/NFS#Debian_Notes
"Debian Etch still uses vzctl version 3.0.11 and so NFS client support is not yet available. Lenny presently has version 3.0.18."
Re: I get OpenVZ now, but what about NFS support? [message #23634 is a reply to message #23624] Wed, 21 November 2007 10:47 Go to previous messageGo to next message
RobinVossen is currently offline  RobinVossen
Messages: 36
Registered: November 2007
Member
Ok, damn.. I kinda read over that...
Is there a way to Compile 3.0.18 myself so I can run 3.0.18 instead of 3.0.11? Or will this really require a Complete new Installation..
Re: I get OpenVZ now, but what about NFS support? [message #23652 is a reply to message #23634] Wed, 21 November 2007 14:00 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
I expect you can re-build new vzctl, install and use it then.
Re: I get OpenVZ now, but what about NFS support? [message #23657 is a reply to message #23652] Wed, 21 November 2007 14:36 Go to previous messageGo to next message
RobinVossen is currently offline  RobinVossen
Messages: 36
Registered: November 2007
Member
Were to get the Source to Recompile it? Embarassed Embarassed
I only got them using apt-get Embarassed Embarassed
Re: I get OpenVZ now, but what about NFS support? [message #23664 is a reply to message #23657] Wed, 21 November 2007 16:35 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

I'm sorry that I meddle in your conversation. Embarassed
You can get vzctl from
http://download.openvz.org/utils/vzctl/3.0.18/src/vzctl-3.0. 18.tar.bz2
(http://openvz.org/download/utils/)
Re: I get OpenVZ now, but what about NFS support? [message #23665 is a reply to message #23634] Wed, 21 November 2007 17:10 Go to previous messageGo to next message
efball is currently offline  efball
Messages: 41
Registered: September 2006
Location: Santa Rosa, California
Member
RobinVossen wrote on Wed, 21 November 2007 05:47

Ok, damn.. I kinda read over that...
Is there a way to Compile 3.0.18 myself so I can run 3.0.18 instead of 3.0.11? Or will this really require a Complete new Installation..


Put "deb http://debian.systs.org/ stable openvz" in your sources.list and you will get vzctl 3.0.18


E Frank Ball efball@efball.com
Re: I get OpenVZ now, but what about NFS support? [message #23680 is a reply to message #23665] Thu, 22 November 2007 08:12 Go to previous message
RobinVossen is currently offline  RobinVossen
Messages: 36
Registered: November 2007
Member
efball wrote on Wed, 21 November 2007 12:10


Put "deb http://debian.systs.org/ stable openvz" in your sources.list and you will get vzctl 3.0.18



Ok, my Sources List looks like
deb http://debian.systs.org/ stable openvz

#Lots of Other Deb repositorys with all with a # in front of it..

when I run apt-get update Ill get a error:
The repository cant be found..

So, that doesnt work.. Sad
So Ill just try the Source Package now..


[Edit]
Ok, I lost my Inet since a Moron did Unplug my Ethernet Cable in the Server Room....
Its fine now its downloading Smile

I hope it will work.. THANKS

[Updated on: Thu, 22 November 2007 08:17]

Report message to a moderator

Previous Topic: what about ipt_owner
Next Topic: difference between /vz/private/ and /vz/root/ ? [Solved]
Goto Forum:
  


Current Time: Sat May 18 08:12:12 GMT 2024

Total time taken to generate the page: 0.00465 seconds