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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux