在qnap-nas上,我有一个无法删除的文件夹
除4个目录外,文件夹为空:每次2次。(点(文件夹和2次。。(点-点(文件夹。据我所知,这是不可能的
有人知道删除此文件夹的方法吗
谢谢。
[/share/CACHEDEV1_DATA/backup/comfoplus/2022-04-04-21.16.33] # ls -lai
total 72
100761657 drwxrws--- 3 admin 96 4096 2022-10-14 14:14 ./
100769284 drwxrws--- 126 96 96 36864 2022-10-07 07:46 ../
16351557 drwxrwxrwx 14 guest guest 16384 2022-10-04 21:15 x/
[/share/CACHEDEV1_DATA/backup/comfoplus/2022-04-04-21.16.33] # ls -lai x
total 56
16351557 drwxrwxrwx 14 guest guest 16384 2022-10-04 21:15 ./
16351557 drwxrwxrwx 14 guest guest 16384 2022-10-04 21:15 ./
100761657 drwxrws--- 3 admin 96 4096 2022-10-14 14:14 ../
100761657 drwxrws--- 3 admin 96 4096 2022-10-14 14:14 ../
[/share/CACHEDEV1_DATA/backup/comfoplus/2022-04-04-21.16.33] # rm -rf x
rm: can't remove 'x': Directory not empty
关于nas:
[/share/CACHEDEV1_DATA/backup/comfoplus/2022-04-04-21.16.33] # uname -a
Linux S203NASR1L 5.10.60-qnap #1 SMP Tue May 31 05:39:59 CST 2022 x86_64 GNU/Linux
fsck(文件系统一致性检查(解决了这个问题。