Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


repair_xfs_filesystem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
repair_xfs_filesystem [2021/04/29 16:43] – created juckinsrepair_xfs_filesystem [2021/05/02 14:15] (current) juckins
Line 1: Line 1:
 ==== Repair XFS Filesystem (CentOS 7) ==== ==== Repair XFS Filesystem (CentOS 7) ====
  
-Follow steps in https://www.golinuxcloud.com/e2fsck-repair-filesystem-in-rescue-mode-ext4/ but remember to first note what device/mount you need to fix So do a 'df -hP' before starting up rescue mode.  +Obtain a rescue CD. 
 + 
 +Hopefully the machine is still up and running, or can get to that point, so do the following: 
 + 
 +  df -hP 
 +   
 +and note the device your problematic mount is located on. 
 + 
 +  devtmpfs        1.9G      1.9G   0% /dev 
 +  tmpfs           1.9G      1.9G   0% /dev/shm 
 +  /dev/sda3        96G  4.8G   91G   5% / 
 +  /dev/sda1      1014M  224M  791M  23% /boot 
 + 
 +For example, let's assume it is /dev/sda3  
 + 
 +Now follow steps in https://www.golinuxcloud.com/e2fsck-repair-filesystem-in-rescue-mode-ext4/ 
 + 
 +**This did not work...had to reinstall operating system.** 
 + 
 +Other notes: 
 + 
 +https://microdevsys.com/wp/corruption-warning-metadata-has-lsn-649052-ahead-of-current-lsn-649006-please-unmount-and-run-xfs_repair-v4-3-to-resolve/
repair_xfs_filesystem.1619729035.txt.gz · Last modified: 2021/04/29 16:43 by juckins