OpenVZ Forum


Home » General » Support » Disturb VMs in two HDD
icon4.gif  Disturb VMs in two HDD [message #44904] Wed, 11 January 2012 19:34 Go to next message
iLinux85 is currently offline  iLinux85
Messages: 15
Registered: March 2010
Junior Member
Hello

i have 8 VMs OpenVZ running on /sda 1st H.D.D and i want to move 4 VMs to /sdb 2nd H.D.D

is there any tutorial of how can i made this done

thanks

[Updated on: Wed, 11 January 2012 19:36]

Report message to a moderator

Re: Disturb VMs in two HDD [message #44959 is a reply to message #44904] Thu, 19 January 2012 06:40 Go to previous messageGo to next message
ragubhat is currently offline  ragubhat
Messages: 9
Registered: August 2008
Location: India
Junior Member
Instead of your intervention to distribute the VEs across the hard disks, please consider using LVM. Managing disk-space with LVM is better engineering, it does a good job!

--
Hth
Raghavendra Bhat
Donate to the GNU Project!
Re: Disturb VMs in two HDD [message #45111 is a reply to message #44904] Tue, 31 January 2012 01:48 Go to previous message
JimL is currently offline  JimL
Messages: 116
Registered: February 2007
Senior Member
You can move the directories /vz/private/??? and /vz/root/??? for half the containers to the new disk and then link them back to /vz/private/???. Or you can edit the /etc/vz/conf/???.conf file and see these lines:


VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"

Just do the move and change those lines as needed. Just don't do it while the container is running.

Jim.
Previous Topic: Unable to open pty: No such file or directory
Next Topic: Incorrect Crontab times set
Goto Forum:
  


Current Time: Sun Oct 06 11:24:47 GMT 2024

Total time taken to generate the page: 0.04326 seconds