OpenVZ Forum


Home » General » Support » install into existing directory?
create ct on top of local lvm lv [message #43333 is a reply to message #43260] Thu, 25 August 2011 13:58 Go to previous messageGo to previous message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

you can script a vzctl-install-lv.sh to create a lvm lv with any settings you need, mount lv and a then use vzctl create cmd - with the use of

vzctl create <ctid> --private <mount_path_of_your_lvmlv> --root <mount_path_of_your_lvmlv> ...

See more on vzctl man page, section "Performing container actions, create"

Bye,
Thorsten
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RHEL6-Kernel for Ubuntu
Next Topic: can not create VEs
Goto Forum:
  


Current Time: Sun Feb 15 19:34:54 GMT 2026

Total time taken to generate the page: 0.42474 seconds