Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XFS errors, how bad?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
michel7
Guru
Guru


Joined: 04 May 2006
Posts: 461
Location: localhost

PostPosted: Sat Jul 15, 2006 10:33 am    Post subject: XFS errors, how bad? Reply with quote

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
View user's profile Send private message
intgr
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 225
Location: Earth, Sol, Milky Way

PostPosted: Sat Jul 15, 2006 2:22 pm    Post subject: Re: XFS errors, how bad? Reply with quote

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
View user's profile Send private message
michel7
Guru
Guru


Joined: 04 May 2006
Posts: 461
Location: localhost

PostPosted: Sun Jul 16, 2006 8:00 am    Post subject: Reply with quote

RAM and HDD are faultless ... so no more ideas?
_________________
Software is like sex. It's better when it's free
Back to top
View user's profile Send private message
intgr
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 225
Location: Earth, Sol, Milky Way

PostPosted: Sun Jul 16, 2006 4:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
michel7
Guru
Guru


Joined: 04 May 2006
Posts: 461
Location: localhost

PostPosted: Tue Jul 18, 2006 1:15 am    Post subject: Reply with quote

seems to be xfs bug ...

http://bugzilla.kernel.org/show_bug.cgi?id=6757
_________________
Software is like sex. It's better when it's free
Back to top
View user's profile Send private message
vitae
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2004
Posts: 134
Location: Germany

PostPosted: Sun Jul 23, 2006 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
michel7
Guru
Guru


Joined: 04 May 2006
Posts: 461
Location: localhost

PostPosted: Mon Jul 24, 2006 2:01 am    Post subject: Reply with quote

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
View user's profile Send private message
vitae
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2004
Posts: 134
Location: Germany

PostPosted: Mon Jul 24, 2006 6:47 am    Post subject: Reply with quote

thnx for the fast answer :)
Back to top
View user's profile Send private message
makenoob
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 272
Location: /Germany/Düsseldorf

PostPosted: Wed Jul 26, 2006 8:45 am    Post subject: Reply with quote

what about the xfs_tools?

http://oss.sgi.com/projects/xfs/faq.html#dir2

TIA,
marc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum