OpenVZ Forum


Home » General » Support » *SOLVED* one vps on own partition
*SOLVED* one vps on own partition [message #2552] Mon, 10 April 2006 05:27 Go to next message
Xandrian is currently offline  Xandrian
Messages: 39
Registered: April 2006
Location: Bayreuth
Member

hi,

i am using openvz 2.6.16-test7.1 and it works fine! a very great program!

for more performance i want to move one special vpn on a own partition and harddisk. i created the partion on the second hdd and mounted it into my filesystem. then i moved all the files form the vps (i call it 101) that i want there on this partition, umounted it and mounted it again to /vz/private/101. so far ok...

but if i want to start the vm i got an quota error. what can i do? is it possible what i want to do? any other solutions?

thx!

cu tb

[Updated on: Mon, 10 April 2006 13:24]

Report message to a moderator

Re: one vps on own partition [message #2558 is a reply to message #2552] Mon, 10 April 2006 06:45 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Xandrian,

can you report exact error messages, disk partitioning you have and filesystems you use (/etc/fstab)?


http://static.openvz.org/userbars/openvz-developer.png
Re: one vps on own partition [message #2561 is a reply to message #2558] Mon, 10 April 2006 07:21 Go to previous messageGo to next message
Xandrian is currently offline  Xandrian
Messages: 39
Registered: April 2006
Location: Bayreuth
Member

hi,

of course i can Wink

Quote:

sudo vzctl start 102
Warning: configuration file for distribution ubuntu-5.10-minimal not found default used
Starting VPS ...
vzquota : (error) Quota on syscall for 102: Device or resource busy
vzquota on failed [3]


and here my fstab file...

Quote:

cat /etc/fstab
/dev/sda2 none swap sw 0 0
/dev/sda3 / ext3 defaults 0 1
/dev/sda1 /boot ext3 defaults 1 2
proc /proc proc defaults 0 0
/dev/sda5 /usr ext3 defaults 0 1
/dev/sda6 /tmp ext3 defaults,noexec 0 1
/dev/sda7 /var ext3 defaults 0 1
/dev/sda8 /var/log ext3 defaults 0 1
/dev/sda9 /home ext3 defaults 0 1
/dev/sda10 /vz ext3 defaults 0 1

/dev/sdb5 /vz/private/102 ext3 defaults 0 1
/dev/sdb6 /home/backup ext3 defaults 0 1



i found a faq thread for the error message of virtuozzo. the solution there is, to kill every process who works on the partition. but there are no jobs. i also got the message after a reboot...

thx and regards

cu tb.
Re: one vps on own partition [message #2562 is a reply to message #2558] Mon, 10 April 2006 07:52 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
I have the same problem on my node....
Re: one vps on own partition [message #2563 is a reply to message #2561] Mon, 10 April 2006 08:10 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

oh, reproduce. great! will check.
before a solution you can use VPS w/o quota for a while.
Just disable quota in /etc/sysconfig/vz file.



http://static.openvz.org/userbars/openvz-developer.png
Re: one vps on own partition [message #2564 is a reply to message #2563] Mon, 10 April 2006 08:17 Go to previous messageGo to next message
Xandrian is currently offline  Xandrian
Messages: 39
Registered: April 2006
Location: Bayreuth
Member

hm, the problem is, that i need quota Wink it's a productive system with terrible, stupids customers on it Wink

but it works also fine on one harddisk at the moment. but for better performance i want to move the database vps on its own hdd...

thx and regards

cu tb.
Re: one vps on own partition [message #2568 is a reply to message #2564] Mon, 10 April 2006 09:16 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

If you want the database on its own partition, you should use VE mount scripts. See this post for more details, it also points to the appropriate place in OpenVZ User's Guide.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: one vps on own partition [message #2570 is a reply to message #2552] Mon, 10 April 2006 09:19 Go to previous messageGo to next message
Xandrian is currently offline  Xandrian
Messages: 39
Registered: April 2006
Location: Bayreuth
Member

hi kir,

thx for your reply. i cannot and i will not mount a partition on a special folder in the vps. i've got an mysql and an postgresql server on this vps an so i have two different folders...

so i want to move the complete vps on its own partition...

regards cu tb.
Re: one vps on own partition [message #2576 is a reply to message #2570] Mon, 10 April 2006 13:07 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Added bug:
http://bugzilla.openvz.org/show_bug.cgi?id=133

fixed. patch will be attached in a minutes.
Can you test it please?



http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Mon, 10 April 2006 13:09]

Report message to a moderator

Re: one vps on own partition [message #2577 is a reply to message #2576] Mon, 10 April 2006 13:23 Go to previous messageGo to next message
Xandrian is currently offline  Xandrian
Messages: 39
Registered: April 2006
Location: Bayreuth
Member

GREAT! it works Smile thx!

cu tb
Re: one vps on own partition [message #2578 is a reply to message #2577] Mon, 10 April 2006 13:29 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

glad to help Cool

http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Mon, 10 April 2006 13:29]

Report message to a moderator

Previous Topic: * SOLVED * fork problem with SUSE10 kernel
Next Topic: 0:tcpsndbuf running full [was: Could NPTL cause problems?]
Goto Forum:
  


Current Time: Fri Aug 09 23:01:38 GMT 2024

Total time taken to generate the page: 0.02874 seconds