Re: Recovering files from ext2/3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 09/20/2014 09:41 PM, Robert Nichols wrote:
On 09/20/2014 08:30 PM, jd1008 wrote:
/ posted it to the ext3 maling list (turns out they also know ext4)
and they admitted about undocumented effects of using the -S
option, and that one must NEVER use it unless they know the intrinsics
of the FS so well, that the user knows exactly what effects it will
have.

Sounds like a pretty useless option, then, and that sort of exchange is
exactly the sort of thing I don't want to get involved in.

Digging down into my hack stack, the next thing I would try is to make
a sparse file of exactly the same size as your partition (you can use
the /truncate/ command to do that), then run /mkfs.ext3/ on that file
and copy the resulting super block, which is the 2nd 1K block in the
file, to your broken filesystem.  Then you could see whether /debugfs/
can make any sense of that filesystem and what /fsck/ might try to do
to restore it.  The first time through, just answer "n" to anything
/fsck/ wants to fix and just get a feeling for the extent of the damage.

So, an ext3fs' superblock, starts at 1K bytes from start of partition, extends
only 1K bytes?
Is this true no matter what block size was chosen for the creation of the FS?

I have been looking for a schematic block diagram layout of the ext[2,3,4]
filesystems as far as the superblocks go, and their sizes and member fields
offsets within the superblocks and what these member fields are used for.
If any professor has made any such diagram, I hope someone will post it's
web location to this group :)


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux