OpenVZ Forum


Home » General » Support » vzyum database recovery -- was vzpkgcache fail
Re: vzyum database recovery -- was vzpkgcache fail [message #33780 is a reply to message #22087] Sun, 09 November 2008 23:51 Go to previous message
n00b_admin is currently offline  n00b_admin
Messages: 77
Registered: July 2006
Location: Romania
Member
I apologize for my frustration in my previous post.

It seems i discovered the problem.

In my setup i have two vz storage locations on two separate drives.

It appears that the fix in this post (http://forum.openvz.org/index.php?t=msg&goto=30830&) does not work in my case since the ve_root dir for my particular ve is in another location than the one in vz.conf

In my setup a require two locations for the private and root dirs and the vz.conf file allows only one location.

As a quick fix i have made a copy of the vzyum wrapper in vzyum2 and hardcoded the second location inside vzyum2.

In this way i can run vzyum for VE's in the default location and vzyum2 for VE's in the second location as the paths differ.

Maybe an official solution would be to make the functions file read the private and root paths from the VE config file since vzctl supports creating VE's in different locations than the default one.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: kernel Problem
Next Topic: [solved] How to determine which HN a VE is running on
Goto Forum:
  


Current Time: Sun Sep 14 23:37:21 GMT 2025

Total time taken to generate the page: 0.35590 seconds