linux debugfs 找回rm 的文件

[root@ccx64 mnt]# df -T
  Filesystem Type 1K-blocks Used Available Use% Mounted on
  /dev/mapper/vg_ccx64-lv_root
  ext4 18102140 12534156 4648432 73% /
  tmpfs tmpfs 510008 0 510008 0% /dev/shm
  /dev/sda1 ext4 495844 55310 414934 12% /boot
[root@ccx64 mnt]# debugfs
  debugfs 1.41.12 (17-May-2010)
  debugfs: open /dev/sda1
  debugfs: ls -d /usr/local/nginx/conf/vhosts/
  /usr/local/nginx/conf/vhosts/: File not found by ext2_lookup
debugfs:

原文地址:https://www.cnblogs.com/the-moving-ear/p/3210083.html