리눅스 debugfs 사용불가

debugfs 사용불가

1 문제상황[ | ]

[root@zetawiki script]# rm -f batch.sh
→ 헉... batch.log를 삭제한다는 것이 batch.sh를 삭제해버렸다.

2 debugfs 복구 불가[ | ]

[root@zetawiki script]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       27G   12G   14G  47% /
/dev/xvda1             99M   36M   58M  39% /boot
tmpfs                 512M     0  512M   0% /dev/shm
batch.sh는 /root/script/에 있었다. 그러므로 해당되는 파일시스템은 /dev/mapper/VolGroup00-LogVol00
[root@zetawiki script]# debugfs /dev/mapper/VolGroup00-LogVol00
debugfs 1.39 (29-May-2006)
debugfs:  lsdel
 Inode  Owner  Mode    Size    Blocks   Time deleted
0 deleted inodes found.
debugfs:  quit
[root@zetawiki script]#
→ 아무것도 안나온다... 음... 어쩌지?
[root@zetawiki script]# debugfs /dev/xvda1
debugfs 1.39 (29-May-2006)
debugfs:  lsdel  
 Inode  Owner  Mode    Size    Blocks   Time deleted
0 deleted inodes found.
debugfs:
→ 혹시나 해서 /dev/xvda1 에 대해서도 해봤는데 역시 안된다.

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}