分页: 1 / 1

btrfs备份-文件系统快照-无法删除

发表于 : 2023年 1月 14日 星期六 12:58 pm
caeser2
5.1.13,F4-423,btrfs文件系统,备份-文件系统快照,点删除提示操作成功,但条目仍然存在。

有办法手动删除快照吗?

total 0
drwx------ 1 tnas tnas 260 Nov 13 03:30 .
drwx------ 1 tnas tnas 32 Nov 13 03:30 ..
drwxr-xr-x 1 tnas tnas 54 Nov 13 03:30 GMT+08-2022.11.13-03.30.00
drwxr-xr-x 1 tnas tnas 76 Nov 14 03:30 GMT+08-2022.11.14-03.30.00
drwxr-xr-x 1 tnas tnas 76 Nov 15 03:30 GMT+08-2022.11.15-03.30.01
drwxr-xr-x 1 tnas tnas 110 Nov 16 03:30 GMT+08-2022.11.16-03.30.00
drwxr-xr-x 1 tnas tnas 110 Nov 16 15:30 GMT+08-2022.11.16-15.30.02

btrfs subvolume delete GMT+08-2022.11.16-15.30.02
Delete subvolume (no-commit): '/Volume4/@sysSnapShoot/operating_system/GMT+08-2022.11.16-15.30.02'
ERROR: Could not destroy subvolume/snapshot: Directory not empty

Re: btrfs备份-文件系统快照-无法删除

发表于 : 2023年 1月 14日 星期六 1:58 pm
caeser2
delete提示没权限或者有子镜像,设置权限发现是只读的,没办法了

btrfs subvolume delete *
Delete subvolume (no-commit): '/Volume4/@sysSnapShoot/operating_system/GMT+08-2022.11.13-03.30.00'
ERROR: Could not destroy subvolume/snapshot: Operation not permitted
Delete subvolume (no-commit): '/Volume4/@sysSnapShoot/operating_system/GMT+08-2022.11.14-03.30.00'
ERROR: Could not destroy subvolume/snapshot: Operation not permitted
Delete subvolume (no-commit): '/Volume4/@sysSnapShoot/operating_system/GMT+08-2022.11.15-03.30.01'
ERROR: Could not destroy subvolume/snapshot: Operation not permitted
Delete subvolume (no-commit): '/Volume4/@sysSnapShoot/operating_system/GMT+08-2022.11.16-03.30.00'
ERROR: Could not destroy subvolume/snapshot: Operation not permitted
Delete subvolume (no-commit): '/Volume4/@sysSnapShoot/operating_system/GMT+08-2022.11.16-15.30.02'
ERROR: Could not destroy subvolume/snapshot: Directory not empty

chattr -i *
chattr: Read-only file system while setting flags on GMT+08-2022.11.13-03.30.00
chattr: Read-only file system while setting flags on GMT+08-2022.11.14-03.30.00
chattr: Read-only file system while setting flags on GMT+08-2022.11.15-03.30.01
chattr: Read-only file system while setting flags on GMT+08-2022.11.16-03.30.00

Re: btrfs备份-文件系统快照-无法删除

发表于 : 2023年 1月 14日 星期六 10:10 pm
TMroy
谢谢您的反馈,我们验证一下,如果问题确实存在,请等待我们的版本更新。