Skip to content

Instantly share code, notes, and snippets.

@norrs
Created May 31, 2012 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save norrs/2845764 to your computer and use it in GitHub Desktop.
Save norrs/2845764 to your computer and use it in GitHub Desktop.
md7 : active (auto-read-only) raid1 sda9[0] sdb10[1]
914202816 blocks [2/2] [UU]
xfs_check /dev/md7
xfs_check: /dev/md7 is not a valid XFS filesystem (unexpected SB magic number 0x4c554b53)
xfs_check: size check failed
xfs_check: WARNING - filesystem uses v1 dirs,limited functionality provided.
xfs_check: read failed: Invalid argument
cache_node_purge: refcount was 1, not zero (node=0x9186be8)
xfs_check: cannot read root inode (22)
cache_node_purge: refcount was 1, not zero (node=0x9186cf0)
xfs_check: cannot read realtime summary inode (22)
xfs_check: size check failed
xfs_check: WARNING - filesystem uses v1 dirs,limited functionality provided.
xfs_check: read failed: Invalid argument
bad superblock magic number 4c554b53, giving up
grep -n1 md7 /etc/fstab
10-UUID=5e944e94-7861-4f3b-8e07-443379595ccc / ext4 errors=remount-ro 0 1
11:# /home was on /dev/md7 during installation
12-UUID=335011f5-0426-4c1b-864b-73615973720e /home xfs defaults 0 2
xfs_check /dev/sda9
xfs_check: /dev/sda9 is not a valid XFS filesystem (unexpected SB magic number 0x4c554b53)
xfs_check: size check failed
xfs_check: WARNING - filesystem uses v1 dirs,limited functionality provided.
xfs_check: read failed: Invalid argument
cache_node_purge: refcount was 1, not zero (node=0x8f69be8)
xfs_check: cannot read root inode (22)
cache_node_purge: refcount was 1, not zero (node=0x8f69cf0)
xfs_check: cannot read realtime summary inode (22)
xfs_check: size check failed
xfs_check: WARNING - filesystem uses v1 dirs,limited functionality provided.
xfs_check: read failed: Invalid argument
bad superblock magic number 4c554b53, giving up
xfs_check /dev/sdb10
xfs_check: /dev/sdb10 is not a valid XFS filesystem (unexpected SB magic number 0x4c554b53)
xfs_check: size check failed
xfs_check: WARNING - filesystem uses v1 dirs,limited functionality provided.
xfs_check: read failed: Invalid argument
cache_node_purge: refcount was 1, not zero (node=0xa05abe8)
xfs_check: cannot read root inode (22)
cache_node_purge: refcount was 1, not zero (node=0xa05acf0)
xfs_check: cannot read realtime summary inode (22)
xfs_check: size check failed
xfs_check: WARNING - filesystem uses v1 dirs,limited functionality provided.
xfs_check: read failed: Invalid argument
bad superblock magic number 4c554b53, giving up
xfs_repair gives no results:
.Sorry, could not find valid secondary superblock
Exiting now.
//usr/local/src/xfsprogs# xfs_repair -V
xfs_repair version 3.1.8
root@phobos://usr/local/src/xfsprogs# xfs_check -V
xfs_check version 3.1.8
//usr/local/src/xfsprogs# git status
# On branch master
nothing to commit (working directory clean)
root@phobos://usr/local/src/xfsprogs# git log -n1
commit a8decaf0cf49d3db099e8dc419390c353e2b19ad
Author: Ben Myers <bpm@sgi.com>
Date: Tue Mar 20 13:52:15 2012 -0500
3.1.8 release
Signed-off-by: Ben Myers <bpm@sgi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment