Copy To Container From Host [message #38509] |
Mon, 28 December 2009 12:23 |
bcdsystems
Messages: 8 Registered: May 2009
|
Junior Member |
|
|
Hi,
Probably a silly question, but I was wondering if it is possible to copy a file to/from a Host to a Container (to save bandwidth).
Many thanks in advance,
Brendan
|
|
|
|
Re: Copy To Container From Host [message #38529 is a reply to message #38527] |
Tue, 29 December 2009 11:45 |
Paparaciz
Messages: 302 Registered: August 2009
|
Senior Member |
|
|
if container is running you can edit,copy,move files in root/[CTID]/
if container is not running you can edit,copy,move files in private/[CTID]
but then, keep in mind that containers quota information will be incorrect until you drop container quota information (it will be recreated and recalculated in next CT start, it is a little bit time consume operation)
to drop container quota:
vzquota drop CTID
|
|
|
|
Re: Copy To Container From Host [message #38531 is a reply to message #38530] |
Tue, 29 December 2009 12:18 |
Paparaciz
Messages: 302 Registered: August 2009
|
Senior Member |
|
|
when container IS running then you work with root/CTID
quota information should be ok
when container IS NOT running then you work with private/CTID
you lost correct quota information, then you have to drop quota info
|
|
|
|