[Wylug-discuss] It never rains, but it pours...

james riley jimr1603 at gmail.com
Mon Feb 6 14:53:45 UTC 2012


I just discovered and read xfs_repair. It failed. Log dumped. I must
now rush to a lecture....

trisquel at trisquel:~$ sudo xfs_repair /dev/sda6
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed.  Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair.  If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
trisquel at trisquel:~$ sudo xfs_repair -L /dev/sda6
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
ALERT: The filesystem has valuable metadata changes in a log which is being
destroyed because the -L option was used.
        - scan filesystem freespace and inode maps...
agi_freecount 303, counted 283 in ag 0
out-of-order bno btree record 78 (8094 9) block 1/1
block (1,8094-8094) multiply claimed by bno space tree, state - 1
out-of-order bno btree record 142 (9628 13) block 1/1
block (1,9628-9628) multiply claimed by bno space tree, state - 1
out-of-order bno btree record 143 (9678 8) block 1/1
out-of-order bno btree record 144 (9801 13) block 1/1
block (1,9801-9801) multiply claimed by bno space tree, state - 1
out-of-order bno btree record 145 (9818 12) block 1/1
block (1,9818-9818) multiply claimed by bno space tree, state - 1
out-of-order bno btree record 146 (9834 12) block 1/1
block (1,9834-9834) multiply claimed by bno space tree, state - 1
block (1,953859-953859) multiply claimed by cnt space tree, state - 2
block (1,955636-955636) multiply claimed by cnt space tree, state - 2
block (1,9678-9678) multiply claimed by cnt space tree, state - 2
block (1,11583-11583) multiply claimed by cnt space tree, state - 2
block (1,12435-12435) multiply claimed by cnt space tree, state - 2
block (1,15449-15449) multiply claimed by cnt space tree, state - 2
block (1,13896-13896) multiply claimed by cnt space tree, state - 2
agf_freeblks 6167246, counted 6167032 in ag 1
agi_freecount 497, counted 480 in ag 1
out-of-order bno btree record 302 (44946 3) block 2/88766
block (2,44946-44946) multiply claimed by bno space tree, state - 1
out-of-order bno btree record 303 (44951 46) block 2/88766
block (2,44983-44983) multiply claimed by bno space tree, state - 1
out-of-order bno btree record 304 (45003 24) block 2/88766
block (2,45003-45003) multiply claimed by bno space tree, state - 1
out-of-order bno btree record 305 (45046 13) block 2/88766
block (2,45046-45046) multiply claimed by bno space tree, state - 1
out-of-order bno btree record 306 (45075 20) block 2/88766
block (2,45075-45075) multiply claimed by bno space tree, state - 1
out-of-order bno btree record 307 (45225 190) block 2/88766
block (2,45372-45372) multiply claimed by bno space tree, state - 1
out-of-order bno btree record 308 (45424 23) block 2/88766
block (2,45424-45424) multiply claimed by bno space tree, state - 1
out-of-order bno btree record 309 (45559 36) block 2/88766
block (2,45559-45559) multiply claimed by bno space tree, state - 1
block (2,33239-33239) multiply claimed by cnt space tree, state - 2
block (2,33818-33818) multiply claimed by cnt space tree, state - 2
block (2,44499-44499) multiply claimed by cnt space tree, state - 2
block (2,39897-39897) multiply claimed by cnt space tree, state - 2
block (2,42191-42191) multiply claimed by cnt space tree, state - 2
block (2,43684-43684) multiply claimed by cnt space tree, state - 2
block (2,40390-40390) multiply claimed by cnt space tree, state - 2
block (2,40414-40414) multiply claimed by cnt space tree, state - 2
block (2,41267-41267) multiply claimed by cnt space tree, state - 2
block (2,41948-41948) multiply claimed by cnt space tree, state - 2
block (2,42668-42668) multiply claimed by cnt space tree, state - 2
block (2,40653-40653) multiply claimed by cnt space tree, state - 2
block (2,42490-42490) multiply claimed by cnt space tree, state - 2
block (2,42880-42880) multiply claimed by cnt space tree, state - 2
block (2,43021-43021) multiply claimed by cnt space tree, state - 2
block (2,42915-42915) multiply claimed by cnt space tree, state - 2
block (2,43737-43737) multiply claimed by cnt space tree, state - 2
out-of-order cnt btree record 382 (3243583 217) block 2/27671
block (2,3243583-3243583) multiply claimed by cnt space tree, state - 2
out-of-order cnt btree record 383 (45915 218) block 2/27671
out-of-order cnt btree record 384 (339545 218) block 2/27671
block (2,339545-339545) multiply claimed by cnt space tree, state - 2
out-of-order cnt btree record 385 (340057 218) block 2/27671
block (2,340057-340057) multiply claimed by cnt space tree, state - 2
out-of-order cnt btree record 386 (435327 218) block 2/27671
block (2,435327-435327) multiply claimed by cnt space tree, state - 2
out-of-order cnt btree record 387 (437375 218) block 2/27671
block (2,437375-437375) multiply claimed by cnt space tree, state - 2
out-of-order cnt btree record 388 (1205631 218) block 2/27671
block (2,1205631-1205631) multiply claimed by cnt space tree, state - 2
out-of-order cnt btree record 389 (1803647 218) block 2/27671
block (2,1803647-1803647) multiply claimed by cnt space tree, state - 2
out-of-order cnt btree record 390 (3166781 219) block 2/27671
block (2,3166781-3166781) multiply claimed by cnt space tree, state - 2
block (2,436349-436349) multiply claimed by cnt space tree, state - 2
block (2,804221-804221) multiply claimed by cnt space tree, state - 2
block (2,1168757-1168757) multiply claimed by cnt space tree, state - 2
agf_freeblks 6341076, counted 6342712 in ag 2
agi_freecount 301, counted 244 in ag 2
block (3,7438-7438) multiply claimed by cnt space tree, state - 2
block (3,7479-7479) multiply claimed by cnt space tree, state - 2
agf_freeblks 5961909, counted 5961500 in ag 3
agi_freecount 535, counted 525 in ag 3
sb_ifree 544, counted 1532
sb_fdblocks 24262726, counted 24282270
        - found root inode chunk
Phase 3 - for each AG...
        - scan and clear agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
data fork in ino 165 claims free block 789
data fork in ino 165 claims free block 790
data fork in ino 166 claims free block 954
data fork in ino 166 claims free block 955
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
correcting imap
imap claims a free inode 211414 is in use, correcting imap and clearing inode
cleared inode 211414
imap claims a free inode 211415 is in use, correcting imap and clearing inode
cleared inode 211415
        - agno = 1
xfs_repair: read failed: Input/output error
cannot read inode 268436512, disk block 71705104, cnt 16
Aborted



More information about the Wylug-discuss mailing list