xfs
[Top] [All Lists]

centos7 xfs able to mount, but unable to write, unable to perform repair

To: xfs@xxxxxxxxxxx
Subject: centos7 xfs able to mount, but unable to write, unable to perform repair
From: Morgan Yang <morgan.yang1982@xxxxxxxxx>
Date: Mon, 23 May 2016 11:46:34 -0700
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=DFn5bv+UowoDmVvKNyGVpxNJ0o8l02J4f0wUmqbxR5I=; b=A2iBq7MAXQVjHuyyjpTqrwR97x6TdONu7W81xy7S8mSdZJC7pgm58ow9rO5bYR5zVg ys2+wF58Kl/6pstULW71isaJ6B1tREsOJQXEna7M0Bap1cMh/Q2+NfFeKxr4xvqGeuTA HsNj+CFZOU9whTPgIu0QG3nHdyR9bIx5DqqNSo2KBczr1e4p2ei8HLbVsS0kklIEFgOt MDAeKmNg5gvifRcBVltCgc95nEFniwPF7Fh05qOlI0Nu5n/XIbI/rsOperETCOi76a/9 MPCRftiTWNUlCyHuo+BzXXHky3Ybgsy+6S3hZD0zOLR48kTupkmml2xmFUjX79hUym78 hq6w==

I am running CentOS 7.1. I have a 1TB drive that is formatted as XFS.

After a year of continuous use, I can no longer write to it

sudo touch /capture/a.a

touch: cannot touch â/capture/a.aâ: No space left on device


However, there's plenty of room on the drive


sudo fdisk -l /dev/sdb

WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.


Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes


I see the following on dmesg

[336198.224298] XFS (sdb): metadata I/O error: block 0x3a3836e2 ("xfs_trans_read_buf_map") error 117 numblks 1

[336198.224479] XFS (sdb): Metadata corruption detected at xfs_agi_read_verify+0x5e/0x110 [xfs], block 0x57545252

[336198.224483] XFS (sdb): Unmount and run xfs_repair

[336198.224486] XFS (sdb): First 64 bytes of corrupted metadata buffer:

[336198.224489] ffff880404f30400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Â................

[336198.224491] ffff880404f30410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Â................

[336198.224494] ffff880404f30420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Â................

[336198.224496] ffff880404f30430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Â................

[336198.224554] XFS (sdb): metadata I/O error: block 0x57545252 ("xfs_trans_read_buf_map") error 117 numblks 1

[337680.482764] xfs_db[25323]: segfault at 7ffe0aeceff8 ip 0000000000424085 sp 00007ffe0aecf000 error 6 in xfs_db[400000+81000]


When I try to run "xfs_repair", it can't seem to find secondary superblock


sudo xfs_repair -v /dev/sdb

Phase 1 - find and verify superblock...

couldn't verify primary superblock - not enough secondary superblocks with matching geometry !!!

Â

attempting to find secondary superblock...

................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Sorry, could not find valid secondary superblock

Exiting now.


Does anyone have any recommendations on how I can recover this?Â


Much Thanks

Morgan Yang



<Prev in Thread] Current Thread [Next in Thread>