All of lore.kernel.org
 help / color / mirror / Atom feed
* Repair Metadata corruption detected at xfs_inode_buf_verify on CentOS 7 virtual machine
@ 2021-09-08 14:35 brian
  2021-09-08 21:39 ` Dave Chinner
  0 siblings, 1 reply; 8+ messages in thread
From: brian @ 2021-09-08 14:35 UTC (permalink / raw)
  To: linux-xfs

I have CentOS 7 Virtualbox virtual machine (VM) that gives the following 
error on boot(removed parts replaced with …)
----------------------------------------------------------------------------
XFS (dm-2): Metadata corruption detected at xfs_inode_buf_verify...
XFS (dm-2): unmount and run xfs_repair
XFS (dm-2): First 128 bytes of corrupted metadata buffer:
…
XFS (dm-2): metadata I/O error in “xlog_recov_do..(read#2)” at daddr 
0x1b32 error 117
----------------------------------------------------------------------------

I tried entered emergency mode, entered password and tried:
     xfs_repair -L /dev/mapper/centos-root

But I got the error:
     /dev/mapper/centos-root contains a mounted filesystem
     /dev/mapper/centos-root contains a mounted and writable filesystem

Next I booted from the Centos ISO then went
       troubleshooting → Rescue a CentOS system  → 1) Continue

This fails.  I get lines of = marks.  When I left overnight, I had a 
blank screen.  When I ALT+Tab to program-log and then back to main, I 
got a screen of scrolling errors.

I nightly backup my data including this VM with rsync to a USB drive.  
My last backup was while the VM was running.  In Virtualbox and on my 
computers drive, I deleted the VM using the virtualbox GUI.  I thought 
this would move the VM to the trash but it permanently deleted the VM.  
The problem I'm having is with the backup VM from my USB drive.

How should I troubleshoot and fix this problem?  My main goal is to get 
my data off the VM.  I also unsuccessful with mounting the .vdi file in 
another computer.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-09-10  3:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-08 14:35 Repair Metadata corruption detected at xfs_inode_buf_verify on CentOS 7 virtual machine brian
2021-09-08 21:39 ` Dave Chinner
2021-09-08 23:08   ` brian
2021-09-09  2:54     ` Dave Chinner
2021-09-09  3:39       ` brian
2021-09-09 19:11       ` brian
2021-09-09 21:09         ` Dave Chinner
2021-09-10  3:26           ` brian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.