OpenVZ Forum


Home » General » Support » adding storage to /vz/private
adding storage to /vz/private [message #16089] Mon, 20 August 2007 22:35 Go to next message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
my box has two(2) 73GB SCSI drives

i installed OpenVZ kernel on sda1 then mounted sdb1 on /vz/private

i have 60GB+ sitting unused on sda1, is there a way i can mount this unused storage onto /vz/private for use for more VE? or do i create a new /vz/private on sda1?
Re: adding storage to /vz/private [message #16090 is a reply to message #16089] Mon, 20 August 2007 23:39 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
this question is asked weekly.

easiest way is to create a /vz2 using your second disk and create/move new/existing VEs there.

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: adding storage to /vz/private [message #16091 is a reply to message #16090] Tue, 21 August 2007 01:58 Go to previous messageGo to next message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
sry couldnt find it, i will look again

thanks

EDIT:

no luck

i search the forum for /vz2 - no helpful result
i also search add storage - no helpful result
i searched add disk - no helpful
also create second vz - nothing

i also manually searched the wiki and the pdf - nothing

how do i create a /vz2 is it just a directory? or copy across to the new partition all of the original /vz and rename it?

sry for being clueless

[Updated on: Tue, 21 August 2007 02:17]

Report message to a moderator

Re: adding storage to /vz/private [message #16126 is a reply to message #16091] Thu, 23 August 2007 13:07 Go to previous messageGo to next message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
I think you sholud try to use LVM in this case. Just add both drives into one volume groups and create big partition, which you can mount to /vz. It is simple.
Re: adding storage to /vz/private [message #16136 is a reply to message #16126] Thu, 23 August 2007 19:51 Go to previous messageGo to next message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
thank you for the reply it is most likely LVM will be the solution

however, i started this thread 2 months in advance of the need for more storage and as a consquence i am still interested to discover what the /vz2 solution is. anyone?

Re: adding storage to /vz/private [message #16145 is a reply to message #16136] Thu, 23 August 2007 21:49 Go to previous message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
vz2. Well, look at the vz.conf. I think author mean something like a symlink or appropriate or changing path to vzdir (For saving current data)
Previous Topic: *SOLVED* Network access problem on OpenVZ VEs
Next Topic: *SOLVED* Centos 4 or 5 for HN?
Goto Forum:
  


Current Time: Sun Jun 29 02:20:00 GMT 2025

Total time taken to generate the page: 0.02049 seconds