errors when creating and deleting snapshots of CT

stats

Well-Known Member
Mar 6, 2017
45
1
48
Dear PROXMOX support,

An error occurs when creating and deleting snapshots while running a container created on PROXMOX (6.4-13).
Could you tell me what the problem is?
PROXMOX is a 3-node cluster and uses ceph for storage.


<Error when creating snapshot>
failed to open /home/.DECRYPT: Permission denied
failed to open /home/muroi/priv/salesdoc: Permission denied
failed to open /home/kaneko/priv/salesdoc: Permission denied
failed to open /home/tomita/priv/salesdoc: Permission denied
failed to open /home/tatsuoka/priv/salesdoc: Permission denied
TASK OK

<Result of df command>
encfs 104178552 38161668 60705208 39% /home/.DECRYPT
/home/.DECRYPT/salesdoc 104178552 38161668 60705208 39% /home/muroi/priv/salesdoc
/home/.DECRYPT/salesdoc 104178552 38161668 60705208 39% /home/kaneko/priv/salesdoc
/home/.DECRYPT/salesdoc 104178552 38161668 60705208 39% /home/tomita/priv/salesdoc
/home/.DECRYPT/salesdoc 104178552 38161668 60705208 39% /home/tatsuoka/priv/salesdoc

<Permission information>
drwx------ 14 root users 4096 Apr 11 14:45 .ENCRYPT


<Error when deleting snapshot>
2023-09-08 11:52:23.705 7ffaf0ff9700 -1 librbd::object_map::InvalidateRequest: 0x7ffaec008d40 should_complete: r=0
Removing snap: 100% complete...done.
2023-09-08 11:52:24.409 7fe71effd700 -1 librbd::object_map::InvalidateRequest: 0x7fe72c001e00 should_complete: r=0
Removing snap: 100% complete...done.
TASK OK
 
You have configured encfs inside of your container and PVE has a problem with it.

When I use encfs, what are the problems with creating a snapshot?
Could you please tell me the solution?

Also, librbd errors occur when deleting a snapshot, is this also related to encfs?
Is there a solution for this too?
 
When I use encfs, what are the problems with creating a snapshot?
Could you please tell me the solution?

Also, librbd errors occur when deleting a snapshot, is this also related to encfs?
Is there a solution for this too?
Yes, I think this is a bug an encfs filesystems should be ignored.
 
Yes, I think this is a bug an encfs filesystems should be ignored.
I have some additional questions regarding this.

Question about "failed to open <dir>: Permission denied" when creating a snapshot
1) Will this be improved by upgrading Proxmox to 7.4 or 8.0?
2) Is there a other way to avoid the error when we use Proxmox 6.4?
3) What are the consequences of ignoring this error?

Questions regarding "librbd::object_map::InvalidateRequest" when deleting snapshots
4) This error does not occur on other virtual machines with the same encfs configuration. Is encfs really related to the librbd error?
 

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!