Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
EXT4: Recovering filenames from orphaned inodes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
haarp
Guru
Guru


Joined: 31 Oct 2007
Posts: 535

PostPosted: Mon Sep 16, 2013 9:19 pm    Post subject: EXT4: Recovering filenames from orphaned inodes Reply with quote

I've had the my laptop screw up one too many time. It hung while entering suspend, resulting in filesystem corruption.
Code:
EXT4-fs (md0): INFO: recovery required on readonly filesystem
EXT4-fs (md0): write access will be enabled during recovery
EXT4-fs (md0): orphan cleanup on readonly fs
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 20847357
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 148557
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 20979473
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 148953
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 20846940
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 20846947
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 20450106
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 20980173
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 20449501
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 20979782
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 20979846
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 20980190
EXT4-fs (md0): ext4_orphan_cleanup: deleting unreferenced inode 3933863
EXT4-fs (md0): 13 orphan inodes deleted
EXT4-fs (md0): recovery complete
EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)

I have found one nuked file so far. I have backups - I'd like to find them all. debugfs ncheck doesn't find them, as they're, well, gone. How do I figure out which files got corrupted/disappeared?

Additionally, what do I mount ext4 with to prevent any corruption in the future?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum