V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
marktask
V2EX  ›  Linux

关于 Linux 误删文件恢复问题

  •  
  •   marktask · 2021-10-18 20:55:17 +08:00 · 1042 次点击
    这是一个创建于 913 天前的主题,其中的信息可能已经有所发展或是发生改变。
    有同事误删了文件,发现以后已经及时 umount 掉分区了。
    使用 extundelete 进行文件恢复时候,扫描 inode2 节点,但是结果是空的
    有遇到过这种情况吗?
    服务器是 ubuntu 的,分区是通过阵列卡做的 RAID5,extundelete 是 apt 安装的


    Inode is Allocated
    File mode: 16877
    Low 16 bits of Owner Uid: 0
    Size in bytes: 4096
    Access time: 1634537588
    Creation time: 1626155556
    Modification time: 1626155556
    Deletion Time: 0
    Low 16 bits of Group Id: 0
    Links count: 5
    Blocks count: 8
    File flags: 524288
    File version (for NFS): 0
    File ACL: 0
    Directory ACL: 0
    Fragment address: 0
    Direct blocks: 127754, 4, 0, 0, 1, 6085, 0, 0, 0, 0, 0, 0
    Indirect block: 0
    Double indirect block: 0
    Triple indirect block: 0

    File name | Inode number | Deleted status
    root@server:~#
    marktask
        1
    marktask  
    OP
       2021-10-19 09:53:15 +08:00
    有人帮忙解释下吗?是不是跟做了 RAID 有关呢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2902 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 15:13 · PVG 23:13 · LAX 08:13 · JFK 11:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.