btrfs 파일 시스템에 "????????? ??????"라는 개체가 있습니다. 일부는 임시 파일 또는 디렉토리를 부적절하게 삭제하거나 복사했습니다. 그리고 일반적인 명령으로는 제거 할 수 없습니다 : rm, rm -d :
[root@localhost sessions]# rm -d \?\?\?\?\?\?\?\?\?\ \?\?\?\?\?\?/
rm: cannot remove ‘????????? ??????/’: Directory not empty
[root@localhost sessions]# rm -dr \?\?\?\?\?\?\?\?\?\ \?\?\?\?\?\?/
rm: descend into directory ‘????????? ??????/’? y
rm: remove directory ‘????????? ??????/’? y
rm: cannot remove ‘????????? ??????/’: No such file or directory
[root@localhost sessions]# rm \?\?\?\?\?\?\?\?\?\ \?\?\?\?\?\?/
rm: cannot remove ‘????????? ??????/’: Is a directory
[root@localhost sessions]# file \?\?\?\?\?\?\?\?\?\ \?\?\?\?\?\?/
????????? ??????/: directory
이러한 개체는 어떻게 삭제해야합니까?
업데이트 : OS 및 셸 :
Linux 4.0.4-2-ARCH # 1 SMP PREEMPT Fri May 22 03:19:32 UTC 2015 i686 GNU / Linux
GNU bash, 버전 4.3.39 (1)-릴리스 (i686-pc-linux-gnu)
업데이트 2 :
[root@localhost sessions]# rm -fr \?\?\?\?\?\?\?\?\?\ \?\?\?\?\?\?/
[root@localhost sessions]# ls
????????? ?????? backup-9.session
[root@localhost sessions]# lsattr \?\?\?\?\?\?\?\?\?\ \?\?\?\?\?\?/
[root@localhost sessions]#
업데이트 3 :
[root@localhost sessions]# echo $LANG
en_US.UTF-8
[root@localhost sessions]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
업데이트 4 :
[root@localhost sessions]# ls -la
ls: ????????? ??????: No such file or directory
total 23760
drwxr-xr-x 1 al users 0 Aug 13 2014 ????????? ??????
drwxr-xr-x 1 al users 0 Jun 7 05:53 .
drwx------ 1 al users 0 Jun 8 05:06 ..
-rw-r--r-- 1 al users 274557 May 24 18:58 backup-11.session
업데이트 5 :
[root@localhost sessions]# find . -exec rm -fr {} \;
rm: refusing to remove ‘.’ or ‘..’ directory: skipping ‘.’
[root@localhost sessions]# ls -la
ls: ????????? ??????: No such file or directory
total 0
drwxr-xr-x 1 al users 0 Aug 13 2014 ????????? ??????
drwxr-xr-x 1 al users 0 Jun 8 17:03 .
drwx------ 1 al users 0 Jun 8 05:06 ..
[root@localhost sessions]#
전체 파티션에 대한 체크섬을 재 구축 한 후 scrub 및 --repair를 한 번 더 실행하면 가비지 파일 시스템 항목이 마침내 사라집니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다