# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data datavg -wi-ao---- <250.00g
Oper (372): tid: ccf0fdf len: 56 clientid: TRANS flags: none
INODE: #regs: 4 ino: 0x1003e972 flags: 0x45 dsize: 16
blkno: 262396256 len: 32 boff: 9216
Oper (373): tid: ccf0fdf len: 176 clientid: TRANS flags: none
INODE CORE
magic 0x494e mode 0100600 version 3 format 2
nlink 1 uid 26 gid 26
atime 0x65489983 mtime 0x65489983 ctime 0x65489983
size 0x2000 nblocks 0x2 extsize 0x0 nextents 0x1
naextents 0x0 forkoff 36 dmevmask 0x0 dmstate 0x0
flags 0x0 gen 0x5e528711
Oper (374): tid: ccf0fdf len: 16 clientid: TRANS flags: none
EXTENTS inode data
Oper (375): tid: 0 len: 0 clientid: ERROR flags: none
LOCAL attr data
============================================================================
cycle: 1 version: 2 lsn: 1,322 tail_lsn: 1,2
length of Log Record: 32256 prev offset: 258 num ops: 375
uuid: a38112c1-ad62-4b9f-9b03-e2b7fa4c5cd1 format: little endian linux
h_size: 32768
----------------------------------------------------------------------------
Oper (0): tid: ccf0fdf len: 48 clientid: TRANS flags: none
**********************************************************************
* ERROR: data block=322 *
**********************************************************************
# xfs_repair /dev/datavg/data
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
- scan filesystem freespace and inode maps...
- found root inode chunk
Phase 3 - for each AG...
- scan and clear agi unlinked lists...
- process known inodes and perform inode discovery...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
- process newly discovered inodes...
Phase 4 - check for duplicate blocks...
- setting up duplicate extent list...
- check for inodes claiming duplicate blocks...
- agno = 0
- agno = 1
- agno = 3
- agno = 2
Phase 5 - rebuild AG headers and trees...
- reset superblock...
Phase 6 - check inode connectivity...
- resetting contents of realtime bitmap and summary inodes
- traversing filesystem ...
- traversal finished ...
- moving disconnected inodes to lost+found ...
Phase 7 - verify and correct link counts...
done