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

TFSS(TerraMaster File System Snapshot)是一个基于BTRFS 文件系统开发的灾备工具。通过利用文件系统的特性为TNAS设备的整个文件系统拍摄快照,以避免错误操作或者遭受勒索病毒攻击而造成数据丢失。

版主: TerraSupportTMsupportTMjack

主题已锁定
头像
caeser2
帖子: 117
注册时间: 2022年 11月 12日 星期六 12:20 am
China

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

帖子 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
头像
caeser2
帖子: 117
注册时间: 2022年 11月 12日 星期六 12:20 am
China

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

帖子 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
头像
TMroy
技术支持
帖子: 1038
注册时间: 2020年 3月 12日 星期四 2:08 pm
China

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

帖子 TMroy »

谢谢您的反馈,我们验证一下,如果问题确实存在,请等待我们的版本更新。
主题已锁定

回到 “TFSS(文件系统快照)”