error on restore and bug in restore and error on delete a dump file?

informant

Renowned Member
Jan 31, 2012
780
10
83
Hi, we have stop a ct and would restore it, we have start the restore and have stop the restore. after stop in last v2.3 we ct was deleted complety, after this we must create the ct new and restore the ct out of a backup. but we have a old file in /var/lib/vz/dum/5132

this file can´t deleted. we have renamed it to 5132.ol than we can restore the ct.

but how we can remove the dir 5132.old
a reboot of the node doesn´t help.

we get the error:

Code:
/var/lib/vz/private# rm 5132.old/ -R
rm: Entfernen von »5132.old/var/www/cbm156/conf/php5/php-fcgi-starter« nicht möglich: Die Operation ist nicht erlaubt

and why are the completely ct are deleted out of the node on stop restore?

please help. very thanks.

regards
 
Hi all, we have start checkdisk without result, how we can delete this folder with files. ???

regards
 
Hi, the solution is:

Code:
As root, do
  lsattr zzzzx.php
  Attributes a (append mode) or i (immutable) present would prevent your rm. If they're there, then
  chattr -ai zzzzx.php
rm zzzzx.php
  should delete your file.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!