OpenVZ Forum


Home » General » Support » One container on it's own Hard drive/partition/spindle
One container on it's own Hard drive/partition/spindle [message #34248] Tue, 16 December 2008 21:37 Go to next message
elliot is currently offline  elliot
Messages: 1
Registered: December 2008
Junior Member
I have a machine with multiple hard drives and I'd like to put each container on it's own drive. Where should I mount it?
It looks like /vz/private/201 and /vz/root/201 are hard links, but how does that work with multiple hard drives?
Thanks,
-Elliot
Re: One container on it's own Hard drive/partition/spindle [message #34264 is a reply to message #34248] Wed, 17 December 2008 20:43 Go to previous messageGo to next message
piavlo is currently offline  piavlo
Messages: 159
Registered: January 2007
Senior Member
mount the container disk under /vz/private/201
Re: One container on it's own Hard drive/partition/spindle [message #36934 is a reply to message #34248] Sun, 02 August 2009 11:02 Go to previous messageGo to next message
SamTzu is currently offline  SamTzu
Messages: 6
Registered: May 2009
Junior Member
I'm also looking in to this and would appreciate more information on how these hardlinks are configured and where they point.

If I have 4 hard disks and want to move my 3 containers to separate disk each. How should I proceed?


Sam

[Updated on: Sun, 02 August 2009 17:49]

Report message to a moderator

Re: One container on it's own Hard drive/partition/spindle [message #36935 is a reply to message #36934] Sun, 02 August 2009 18:44 Go to previous message
SamTzu is currently offline  SamTzu
Messages: 6
Registered: May 2009
Junior Member
Got it.
http://wiki.openvz.org/Bind_mounts

mount --bind /home $VZDIR/root/777/home

In Proxmox I had to replace the $VZDIR with /var/lib/vz/
Previous Topic: Export network interface to hardware node
Next Topic: suse-11.1-x86_64 template & package X is intended for a x86_64 architecture
Goto Forum:
  


Current Time: Mon Nov 04 12:13:19 GMT 2024

Total time taken to generate the page: 0.03548 seconds