I have XFS /home partition (fortunately not /). I can not mount it because
of the error during reading the superblock.
After running xfs_repair -nLv /dev/hda7 I got
<------cut--------->
................................
would clear inode number in entry at offset 2416...
entry "20060331122258" at block 2 offset 2448 in directory inode 16922661
references free inode 184775172
would clear inode number in entry at offset 2448...
entry "20060331122336" at block 2 offset 2480 in directory inode 16922661
references free inode 201635562
would clear inode number in entry at offset 2480...
entry "20060331122347" at block 2 offset 2512 in directory inode 16922661
references free inode 218356061
would clear inode number in entry at offset 2512...
entry "20060331122411" at block 2 offset 2544 in directory inode 16922661
references free inode 235060608
would clear inode number in entry at offset 2544...
entry "20060331122457" at block 2 offset 2576 in directory inode 16922661
references free inode 252033667
would clear inode number in entry at offset 2576...
entry "20060331122757" at block 2 offset 2640 in directory inode 16922661
references free inode 17026280 would clear inode number in entry at
offset 2640...
entry "20060331122931" at block 2 offset 2672 in directory inode 16922661
references free inode 33982501 would clear inode number in entry at
offset 2672...
entry "20060331123023" at block 2 offset 2704 in directory inode 16922661
references free inode 50472830 would clear inode number in entry at
offset 2704...
entry "20060331124300" at block 2 offset 2736 in directory inode 16922661
references free inode 67334620 would clear inode number in entry at
offset 2736...
entry "20060331124322" at block 2 offset 2768 in directory inode 16922661
references free inode 87134914 would clear inode number in entry at
offset 2768...
- agno = 2
- agno = 3
- agno = 4
- agno = 5
- agno = 6
- agno = 7
entry "saved_state" in shortform directory 117927296 references free inode
119856305
would have junked entry "saved_state" in directory inode 117927296
- agno = 8
- agno = 9
entry "lock" at block 0 offset 1400 in directory inode 151094696 references
free inode 151094596
would clear inode number in entry at offset 1400...
- agno = 10
- agno = 11
- agno = 12
- agno = 13
entry "prefs.js" at block 0 offset 184 in directory inode 218120250
references free inode 218356930
would clear inode number in entry at offset 184...
entry "crashrecovery.bak" at block 0 offset 2064 in directory inode
218120250 references free inode 218356062
would clear inode number in entry at offset 2064...
data fork in ino 218351246 claims dup extent, off - 0, start - 13762894, cnt
16
bad data fork in inode 218351246
would have cleared inode 218351246
data fork in ino 218356062 claims dup extent, off - 0, start - 13762907, cnt
1
bad data fork in inode 218356062
would have cleared inode 218356062
- agno = 14
- agno = 15
No modify flag set, skipping phase 5
Phase 6 - check inode connectivity...
- traversing filesystem starting at / ...
entry "saved_state" in shortform directory inode 117927296 points to free
inode 119856305
would junk entry "saved_state"
entry "lock" in directory inode 151094696 points to free inode 151094596,
would junk entry
entry "prefs.js" in directory inode 218120250 points to free inode
218356930, would junk entry
entry "history.dat" in directory inode 218120250 points to free inode
218351246, would junk entry
entry "crashrecovery.bak" in directory inode 218120250 points to free inode
218356062, would junk entry
entry "20060331104725" in directory inode 16922661 points to free inode
167995662, would junk entry
entry "20060331122258" in directory inode 16922661 points to free inode
184775172, would junk entry
entry "20060331122336" in directory inode 16922661 points to free inode
201635562, would junk entry
entry "20060331122347" in directory inode 16922661 points to free inode
218356061, would junk entry
entry "20060331122411" in directory inode 16922661 points to free inode
235060608, would junk entry
entry "20060331122457" in directory inode 16922661 points to free inode
252033667, would junk entry
entry "20060331122757" in directory inode 16922661 points to free inode
17026280, would junk entry
entry "20060331122931" in directory inode 16922661 points to free inode
33982501, would junk entry
entry "20060331123023" in directory inode 16922661 points to free inode
50472830, would junk entry
entry "20060331124300" in directory inode 16922661 points to free inode
67334620, would junk entry
entry "20060331124322" in directory inode 16922661 points to free inode
87134914, would junk entry
entry "E61AF434d01" in directory inode 432031 points to free inode 482273,
would junk entry
entry "4F7AC625d01" in directory inode 432031 points to free inode 565461,
would junk entry
entry "5BE8CE43d01" in directory inode 432031 points to free inode 565462,
would junk entry
entry "CA71364Cd01" in directory inode 432031 points to free inode 565463,
would junk entry
entry "5265B4CEd01" in directory inode 432031 points to free inode 557310,
would junk entry
entry "5ACFE1DBd01" in directory inode 432031 points to free inode 565464,
would junk entry
entry "A0038D5Dd01" in directory inode 432031 points to free inode 565465,
would junk entry
entry "CC8B81C1d01" in directory inode 432031 points to free inode 565466,
would junk entry
entry "21566C16d01" in directory inode 432031 points to free inode 565467,
would junk entry
entry "87FD77F2d01" in directory inode 432031 points to free inode 565468,
would junk entry
entry "043B9D90d01" in directory inode 432031 points to free inode 565469,
would junk entry
entry "FAC61E89d01" in directory inode 432031 points to free inode 565470,
would junk entry
entry "624CE5DFd01" in directory inode 432031 points to free inode 565471,
would junk entry
entry "2852617Bd01" in directory inode 432031 points to free inode 565492,
would junk entry
entry "54132227d01" in directory inode 432031 points to free inode 565493,
would junk entry
entry "2EEAE483d01" in directory inode 432031 points to free inode 565494,
would junk entry
entry "5053272Ad01" in directory inode 432031 points to free inode 565495,
would junk entry
entry "5A393CB6d01" in directory inode 432031 points to free inode 565496,
would junk entry
entry "E9D34479d01" in directory inode 432031 points to free inode 565497,
would junk entry
entry "48BFCCC0d01" in directory inode 432031 points to free inode 565498,
would junk entry
entry "C9CC7FE0d01" in directory inode 432031 points to free inode 565499,
would junk entry
entry "81B890F9d01" in directory inode 432031 points to free inode 565500,
would junk entry
entry "95EC210Ed01" in directory inode 432031 points to free inode 565501,
would junk entry
entry "D503BEA1d01" in directory inode 432031 points to free inode 565502,
would junk entry
entry "24F4B5ACd01" in directory inode 432031 points to free inode 565503,
would junk entry
entry "27BE8468d01" in directory inode 432031 points to free inode 565517,
would junk entry
entry "80F5F487d01" in directory inode 432031 points to free inode 565518,
would junk entry
entry "6B2A05DCd01" in directory inode 432031 points to free inode 565519,
would junk entry
entry "7AA62CD4d01" in directory inode 432031 points to free inode 565520,
would junk entry
entry "E442E09Ed01" in directory inode 432031 points to free inode 565521,
would junk entry
entry "652077F6d01" in directory inode 432031 points to free inode 565522,
would junk entry
entry "3452818Ed01" in directory inode 432031 points to free inode 565523,
would junk entry
entry "BDAB8D3Ed01" in directory inode 432031 points to free inode 565524,
would junk entry
entry "F34FA42Cd01" in directory inode 432031 points to free inode 565525,
would junk entry
entry "D2DCB468d01" in directory inode 432031 points to free inode 565526,
would junk entry
entry "FB102E32d01" in directory inode 432031 points to free inode 565527,
would junk entry
entry "10131699d01" in directory inode 432031 points to free inode 565528,
would junk entry
entry "DF9813B6d01" in directory inode 432031 points to free inode 565529,
would junk entry
entry "BF6B7290d01" in directory inode 432031 points to free inode 565530,
would junk entry
entry "2B2187FAd01" in directory inode 432031 points to free inode 565531,
would junk entry
entry "D102BB46d01" in directory inode 432031 points to free inode 565532,
would junk entry
entry "31334C17d01" in directory inode 432031 points to free inode 565533,
would junk entry
entry "C34B8538d01" in directory inode 432031 points to free inode 565534,
would junk entry
entry "C3508538d01" in directory inode 432031 points to free inode 565535,
would junk entry
entry "A2BD676Fd01" in directory inode 432031 points to free inode 565553,
would junk entry
entry "2750656Ed01" in directory inode 432031 points to free inode 565554,
would junk entry
entry "575336C8d01" in directory inode 432031 points to free inode 565555,
would junk entry
entry "773A2D72d01" in directory inode 432031 points to free inode 565556,
would junk entry
entry "D4C08B1Bd01" in directory inode 432031 points to free inode 565557,
would junk entry
entry "3D8E1824d01" in directory inode 432031 points to free inode 565558,
would junk entry
entry "2EC1600Cd01" in directory inode 432031 points to free inode 565559,
would junk entry
entry "124C7A75d01" in directory inode 432031 points to free inode 565560,
would junk entry
entry "6999FFD2d01" in directory inode 432031 points to free inode 565561,
would junk entry
entry "8250BEA1d01" in directory inode 432031 points to free inode 565562,
would junk entry
entry "26C76F3Fd01" in directory inode 432031 points to free inode 565563,
would junk entry
entry "2E243691d01" in directory inode 432031 points to free inode 565564,
would junk entry
entry "5C6481DFd01" in directory inode 432031 points to free inode 565565,
would junk entry
entry "3BD10BA5d01" in directory inode 432031 points to free inode 565566,
would junk entry
entry "55345258d01" in directory inode 432031 points to free inode 565567,
would junk entry
entry "E8F09616d01" in directory inode 432031 points to free inode 575999,
would junk entry
entry "2C0CEBA4d01" in directory inode 432031 points to free inode 576000,
would junk entry
entry "2C0FEBA4d01" in directory inode 432031 points to free inode 576001,
would junk entry
entry "5E9DDAECd01" in directory inode 432031 points to free inode 576002,
would junk entry
entry "FB688CBEd01" in directory inode 432031 points to free inode 576003,
would junk entry
bad hash table for directory inode 432031 (no data entry): would rebuild
- traversal finished ...
- traversing all unattached subtrees ...
- traversals finished ...
- moving disconnected inodes to lost+found ...
disconnected inode 218356929, would move to lost+found
disconnected inode 218356931, would move to lost+found
disconnected inode 218356932, would move to lost+found
disconnected inode 218356933, would move to lost+found
disconnected inode 218356934, would move to lost+found
Phase 7 - verify link counts...
would have reset inode 16922661 nlinks from 330 to 331
No modify flag set, skipping filesystem flush and exiting.
<----/cut----------->
Nothing unusual, i.e. There's no message about fatally corrupted
filesystem. But xfs_repair fails when it's run in fixing mode.
<-------cut------------>
senntb ~ # xfs_repair -v /dev/hda7
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
xfs_repair: read failed: Input/output error
senntb ~ # xfs_repair -v /dev/hda7
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
xfs_repair: read failed: Input/output error
senntb ~ # xfs_repair -v /dev/hda7
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
xfs_repair: read failed: Input/output error
senntb ~ #
<-------/cut------------>
The same error when I start it with -L option added.
I found here (
http://docs.cray.com/books/S-2377-22/html-S-2377-22/fixed6bhdyq9i26.html)
that I have to
<-------cut------------->
If xfs_repair failed in phase 2 or later, follow these steps:
1. Mount the file system using mount -r (read-only).
2. Make a file system backup with xfsdump.
3. Use mkfs to a make new file system on the same disk partition or XLV
logical volume.
4. Restore the files from the backup with xfsrestore
<-------/cut------------->
But I can't mount my home partition in read-only mode.
<-------cut------------->
senntb ~ # mount -r /home
mount: /dev/hda7: can't read superblock
senntb ~ #
<-------/cut------------->
I'm lost. How can I recover my /home partition ? It's really important.
--
Evgeniy N. Sharapov
==============================
Lehigh University
Industrial & Systems Eng. Dpt.
Bethlehem, Pennsylvania, USA
==============================
phone: 630 779 3208
mail: ens205@xxxxxxxxxx, sen@xxxxxxxx
icq : 345482263
[[HTML alternate version deleted]]
|