View previous topic :: View next topic |
Author |
Message |
michel7 Guru
Joined: 04 May 2006 Posts: 461 Location: localhost
|
Posted: Sat Jul 15, 2006 10:33 am Post subject: XFS errors, how bad? |
|
|
almost every week on checking my fs i get
Code: | livecd root # xfs_check /dev/sda3
bad free block nused 2 should be 8 for dir ino 220115 block 16777216
bad free block nused 0 should be 6 for dir ino 34171444 block 16777216
bad free block nvalid/nused 5/-1 for dir ino 35644249 block 16777216
missing free index for data block 0 in dir ino 35644249
missing free index for data block 1 in dir ino 35644249
missing free index for data block 2 in dir ino 35644249
missing free index for data block 3 in dir ino 35644249
missing free index for data block 4 in dir ino 35644249
|
when i run xfs_repair ... here is the output
Code: | livecd / # xfs_repair /dev/sda3
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...
- clear lost+found (if it exists) ...
- check for inodes claiming duplicate blocks...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
Phase 5 - rebuild AG headers and trees...
- reset superblock...
Phase 6 - check inode connectivity...
- resetting contents of realtime bitmap and summary inodes
- ensuring existence of lost+found directory
- traversing filesystem starting at / ...
free block 16777216 for directory inode 35644249 bad nused
rebuilding directory inode 35644249
free block 16777216 for directory inode 34171444 bad nused
rebuilding directory inode 34171444
free block 16777216 for directory inode 220115 bad nused
rebuilding directory inode 220115
- traversal finished ...
- traversing all unattached subtrees ...
- traversals finished ...
- moving disconnected inodes to lost+found ...
Phase 7 - verify and correct link counts...
done
|
After repairing, xfs_check reports no more errors. Can anyone tell me why im getting these errors and how bad they are? I always unmounting my devices cleanly ... and i never had any power failure! So is XFS so unstable? _________________ Software is like sex. It's better when it's free |
|
Back to top |
|
|
intgr Apprentice
Joined: 23 Jun 2004 Posts: 225 Location: Earth, Sol, Milky Way
|
Posted: Sat Jul 15, 2006 2:22 pm Post subject: Re: XFS errors, how bad? |
|
|
michel7 wrote: | I always unmounting my devices cleanly ... and i never had any power failure! So is XFS so unstable? |
From what I've heard, XFS is pretty reliable, but it certainly gets much less testing than ext3/reiserfs. Could be a hardware problem (bad RAM or a bad HD) or a bug. You might want to try memtest86 and see what smartctl (from sys-apps/smartmontools) has to say about the drive. |
|
Back to top |
|
|
michel7 Guru
Joined: 04 May 2006 Posts: 461 Location: localhost
|
Posted: Sun Jul 16, 2006 8:00 am Post subject: |
|
|
RAM and HDD are faultless ... so no more ideas? _________________ Software is like sex. It's better when it's free |
|
Back to top |
|
|
intgr Apprentice
Joined: 23 Jun 2004 Posts: 225 Location: Earth, Sol, Milky Way
|
Posted: Sun Jul 16, 2006 4:45 pm Post subject: |
|
|
Sounds like a bug in XFS in that case, indeed.
I don't suppose the partition is small enough to get a developer have a look at it? Although I have no idea where one could get in contact with a developer in the first place. |
|
Back to top |
|
|
michel7 Guru
Joined: 04 May 2006 Posts: 461 Location: localhost
|
|
Back to top |
|
|
vitae Tux's lil' helper
Joined: 26 Mar 2004 Posts: 134 Location: Germany
|
Posted: Sun Jul 23, 2006 10:42 pm Post subject: |
|
|
it seems i have the same problem here.
i use kernel 2.6.17-gentoo-r2
i am using xfs since one year without a problem. which kernel version has a fixed version of the xfs?
thnx in advanced
vitae |
|
Back to top |
|
|
michel7 Guru
Joined: 04 May 2006 Posts: 461 Location: localhost
|
Posted: Mon Jul 24, 2006 2:01 am Post subject: |
|
|
vitae wrote: | which kernel version has a fixed version of the xfs?
|
gentoo-sources-2.6.17-r4 _________________ Software is like sex. It's better when it's free |
|
Back to top |
|
|
vitae Tux's lil' helper
Joined: 26 Mar 2004 Posts: 134 Location: Germany
|
Posted: Mon Jul 24, 2006 6:47 am Post subject: |
|
|
thnx for the fast answer |
|
Back to top |
|
|
makenoob Apprentice
Joined: 19 Aug 2004 Posts: 272 Location: /Germany/Düsseldorf
|
|
Back to top |
|
|
|