Sven Gehr wrote:
Hi@all,
is there a option available to rebuld the superblock? with reiserfs i an
option exist --rebuild-sb.
with best regards
sven
You could make a sparse file the same size as the partition, do a mkfs
on the file, then dd the first 512 bytes out to the disk.
However, there is other data stored right after the superblock which is
the head of the free space trees for the first part of the disk. The
root inode is not too far in either. So if you lost more of the
filesystem than the super block, things could be in a sorry state.
Steve
|