Maybe using one of the backup superblocks will help the recovery process to get longer on the way. If I'm not mistaken mkswap never overwrites the backup superblocks.
/Johan -----Ursprungligt meddelande----- Från: Wolfram Schlich [mailto:[EMAIL PROTECTED] Skickat: den 8 juli 2005 18:19 Till: [EMAIL PROTECTED]; [email protected] Ämne: [gentoo-server] Re: [gentoo-admin] Accidentally issued "mkswap" on ext3 fs -- recovery possible? * Wolfram Schlich <[EMAIL PROTECTED]> [2005-07-08 17:50]: > [...] > Currently I'm running e2retrieve on the image to see whether this is > able to do some recovery, but no results yet. Update: --8<-- [... progressing near 100% ...] WARNING: problem found with superblock block group number [... several identical lines ...] e2retrieve: src/core.c:634: part_block_bmp_set: Assertion `part && part->block_bmp && block < part->nb_blockŽ failed. Aborted --8<-- :-( Here are the work files it left when it aborted: --8<-- [EMAIL PROTECTED] e2retrieve]# ls -al total 1832 drwxr-xr-x 2 root root 4096 Jul 8 18:12 . drwxr-xr-x 4 root root 4096 Jul 8 17:22 .. -rw-r--r-- 1 root root 1627722 Jul 8 18:12 dir_stubs -rw-r--r-- 1 root root 87 Jul 8 18:12 parts -rw-r--r-- 1 root root 222390 Jul 8 18:12 superblocks [EMAIL PROTECTED] e2retrieve]# --8<-- Any ideas? -- Wolfram Schlich -- [email protected] mailing list -- [email protected] mailing list
