Hello Tranxene50,

 

I cant replase the /bin/bash,  so i put it in /bin/bash-static.

Then i needed to replace all files from #!/bin/bash

To #!/bin/bash-static

 

But that didnt help

 

# --- 2020-09-21 09:43:05 ---> backup 25

ionice: ignoring given class data for idle class

ionice: ignoring given class data for idle class

ionice: ignoring given class data for idle class

/usr/local/sbin/openvz-diff-backups_v1.0.1.9-stable/lib/ovzdb.inc: line 807: 
declare: -g: invalid option

declare: usage: declare [-aAfFilrtux] [-p] [name[=value] ...]

[2020-09-21 09:43:06] [    25] *Error*    - openvz-diff-backups backup       25

*Failure:          0s* -    1 ctid - 2020-09-21 09:43:06 - backup 25

[2020-09-21 09:43:06] [    25] *Error*    - ### OVZDB exit:  4 ###

 

 

Van: [email protected] <[email protected]> Namens tranxene50
Verzonden: donderdag 17 september 2020 18:08
Aan: [email protected]
Onderwerp: Re: [Users] Unknown quota format: vfsv1

 

Hello Steffan.

Unfortunately, I cannot provide a patch: it would require too much 
modifications.

But, after checking with a CentOs 6 container having the same bash version 
(4.1.2), you can use "bash-static" from Debian packages.

https://packages.debian.org/jessie/bash-static

The only file needed is "bash-static".

On CentOS, save your "/bin/bash"  and put "bash-static" at the same place.

openvz-diff-backups should now works.

Have a good day!

Le 17/09/2020 à 15:48, [email protected] <mailto:[email protected]>  
a écrit :

Hm on openvz6  bash is to old so cant use the script

 

lib/ovzdb.inc: line 809: declare: -g: invalid option

declare: usage: declare [-aAfFilrtux] [-p] [name[=value] ...]

 

Installed Packages

bash.x86_64                                                                     
                              4.1.2-48.el6

Van: [email protected] <mailto:[email protected]>   
<mailto:[email protected]> <[email protected]> Namens 
[email protected] <mailto:[email protected]> 
Verzonden: donderdag 17 september 2020 15:19
Aan: 'OpenVZ users'  <mailto:[email protected]> <[email protected]>
Onderwerp: Re: [Users] Unknown quota format: vfsv1

 

You mean making a backup on the openvz6 and then import it on openvz7?

I didnt see that in the documentations but i can give it a try

 

But i find it a strange problem and i dont think the vfsv1 is the problem

If i look at the mountpoints the other containers also have jqfmt=vfsv1

 

Van: [email protected] <mailto:[email protected]>  
<[email protected] <mailto:[email protected]> > Namens Paulo 
Coghi - Coghi IT
Verzonden: donderdag 17 september 2020 14:48
Aan: OpenVZ users <[email protected] <mailto:[email protected]> >
Onderwerp: Re: [Users] Unknown quota format: vfsv1

 

Hello, Steffan

Can you try openvz-diff-backups and provide your feedback, using the updated 
instructions sent here on the mailing list?

 

On Thu, Sep 17, 2020 at 8:09 AM <[email protected] 
<mailto:[email protected]> > wrote:

Trying to make a node empty so i can restore it with openvz7
But this server has a old container of a client
ovztransfer.sh failes with the message:
Running quotacheck ...
quotacheck: Unknown quota format: vfsv1
Supported formats are:
  vfsold - original quota format
  vfsv0 - new quota format
  rpc - use RPC calls
  xfs - XFS quota format

is there a way i can fix this so this container can run under openvz7?

Thanx 

Steffan


_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]> 
https://lists.openvz.org/mailman/listinfo/users





_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]> 
https://lists.openvz.org/mailman/listinfo/users

-- 
tranxene50
[email protected] <mailto:[email protected]> 
_______________________________________________
Users mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/users

Reply via email to