Gentoo Archives: gentoo-server

From: Johan Ohlin <linux@×××××××××××××.net>
To: gentoo-server@l.g.o
Subject: SV: [gentoo-server] Re: [gentoo-admin] Accidentally issued "mkswap" on ext3 fs -- recovery possible?
Date: Fri, 08 Jul 2005 17:01:23
Message-Id: 004e01c583de$63e53030$65000a0a@madrid
In Reply to: [gentoo-server] Re: [gentoo-admin] Accidentally issued "mkswap" on ext3 fs -- recovery possible? by Wolfram Schlich
1 Maybe using one of the backup superblocks will help the recovery process to
2 get longer on the way. If I'm not mistaken mkswap never overwrites the
3 backup superblocks.
4
5 /Johan
6
7
8 -----Ursprungligt meddelande-----
9 Från: Wolfram Schlich [mailto:lists@×××××××××××××××.org]
10 Skickat: den 8 juli 2005 18:19
11 Till: gentoo-admin@l.g.o; gentoo-server@l.g.o
12 Ämne: [gentoo-server] Re: [gentoo-admin] Accidentally issued "mkswap" on
13 ext3 fs -- recovery possible?
14
15 * Wolfram Schlich <lists@×××××××××××××××.org> [2005-07-08 17:50]:
16 > [...]
17 > Currently I'm running e2retrieve on the image to see whether this is
18 > able to do some recovery, but no results yet.
19
20 Update:
21 --8<--
22 [... progressing near 100% ...]
23 WARNING: problem found with superblock block group number
24 [... several identical lines ...]
25 e2retrieve: src/core.c:634: part_block_bmp_set: Assertion `part &&
26 part->block_bmp && block < part->nb_block® failed.
27 Aborted
28 --8<--
29 :-(
30
31 Here are the work files it left when it aborted:
32 --8<--
33 [root@rescue e2retrieve]# ls -al
34 total 1832
35 drwxr-xr-x 2 root root 4096 Jul 8 18:12 .
36 drwxr-xr-x 4 root root 4096 Jul 8 17:22 ..
37 -rw-r--r-- 1 root root 1627722 Jul 8 18:12 dir_stubs
38 -rw-r--r-- 1 root root 87 Jul 8 18:12 parts
39 -rw-r--r-- 1 root root 222390 Jul 8 18:12 superblocks
40 [root@rescue e2retrieve]#
41 --8<--
42
43 Any ideas?
44 --
45 Wolfram Schlich
46
47 --
48 gentoo-server@g.o mailing list
49
50
51
52
53
54 --
55 gentoo-server@g.o mailing list