Jump to content

Lost web access and access to shares after a forced reboot


AppleJon

Recommended Posts

xfs_repair -v /dev/md1

 

just have a blinking cussort after that and can type stuff in the consol but enter just jump down cant really write new comment after that so can just do a manual rebooting of the system.

 

Could be that the drive is not responding and looking up the machine? 

Link to comment

Try rebooting, xfs_repair can take some time but you should get immediate feedback on the first couple of phases, similar to:

 

xfs_repair -v /dev/md1
Phase 1 - find and verify superblock...
        - block cache size set to 170360 entries
Phase 2 - using internal log
        - zero log...
zero_log: head block 175750 tail block 175750
        - scan filesystem freespace and inode maps...
        - found root inode chunk

 

 

Link to comment

ok getting somewere now:

 

running with -n give me:

 

Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
        - scan filesystem freespace and inode maps...
Metadata corruption detected at xfs_agf block 0x105fc7a89/0x200
flfirst 118 in agf 3 too large (max = 118)
agf 118 freelist blocks bad, skipping freelist scan
agi unlinked bucket 20 is 1239857364 in ag 3 (inode=7682308308)
sb_icount 173824, counted 173248
sb_ifree 412, counted 654
sb_fdblocks 363487512, counted 363879812
        - found root inode chunk
Phase 3 - for each AG...
        - scan (but don't clear) agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - check for inodes claiming duplicate blocks...
        - agno = 0
        - agno = 1
        - agno = 3
        - agno = 2
No modify flag set, skipping phase 5
Phase 6 - check inode connectivity...
        - traversing filesystem ...
        - traversal finished ...
        - moving disconnected inodes to lost+found ...
disconnected inode 7682308308, would move to lost+found
Phase 7 - verify link counts...
would have reset inode 7682308308 nlinks from 0 to 1
No modify flag set, skipping filesystem flush and exiting.

 

with -v

Phase 1 - find and verify superblock...
        - block cache size set to 9227624 entries
Phase 2 - using internal log
        - zero log...
zero_log: head block 1146861 tail block 1145904
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.

 

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...