View previous topic :: View next topic |
Author |
Message |
cpu Tux's lil' helper
Joined: 09 Nov 2003 Posts: 122 Location: POLAND/ZG
|
Posted: Fri Oct 17, 2008 7:36 pm Post subject: Problems with XFS on x86 Gentoo |
|
|
I often have xfs errors specially during file transfer via NFS to server (xfs partition). After such errors (examples below) I have to restart my server and run xfs_repair which gives me usually some info about corrupted files.
Example output:
Code: | [462567.973560] Filesystem "sda6": Access to block zero in inode 3257375020 start_block: 0 start_off: 0 blkcnt: 0 extent-state: 0 lastx: 329
[462567.983921] Filesystem "sda6": Access to block zero in inode 3257375020 start_block: 0 start_off: 0 blkcnt: 0 extent-state: 0 lastx: 32b
[462567.993600] Filesystem "sda6": Access to block zero in inode 3257375020 start_block: 0 start_off: 0 blkcnt: 0 extent-state: 0 lastx: 32b
[462568.011638] Filesystem "sda6": Access to block zero in inode 3257375020 start_block: 0 start_off: 0 blkcnt: 0 extent-state: 0 lastx: 32d
[462568.013668] Filesystem "sda6": Access to block zero in inode 3257375020 start_block: 0 start_off: 0 blkcnt: 0 extent-state: 0 lastx: 32d
[462568.023831] Filesystem "sda6": Access to block zero in inode 3257375020 start_block: 0 start_off: 0 blkcnt: 0 extent-state: 0 lastx: 32f |
Is there any way to track source of this problem? Does anyone had simmilar problems with XFS? How it is compared to ext3 when we think about files corruption?
Thanks for help. _________________ [img]http://imagegen.last.fm/top5-green/artists/cpu.gif[/img]
Last edited by cpu on Fri Oct 17, 2008 8:39 pm; edited 1 time in total |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
|
Back to top |
|
|
cpu Tux's lil' helper
Joined: 09 Nov 2003 Posts: 122 Location: POLAND/ZG
|
Posted: Fri Oct 17, 2008 8:35 pm Post subject: |
|
|
Thanks for reply. Currently I use stock x86 gentoo kernel but I'll look for this patch during 2.6.27 move. Anyway I don't really know where to look for source of problems. I've only found that corruption occurs under heavy hdd usage. Maybe it's power related? I have Via Epia board + 750 GB F1 Samsung drive and 90W fanless PSU.
My xfs_info:
Code: | meta-data=/dev/sda6 isize=256 agcount=32, agsize=5669187 blks
= sectsz=512 attr=0
data = bsize=4096 blocks=181413984, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=32768, version=1
= sectsz=512 sunit=0 blks, lazy-count=0
realtime =none extsz=4096 blocks=0, rtextents=0 |
fstab:
Code: | /dev/sda6 /home xfs noatime,nodiratime 0 0 |
smart seems to be OK:
Code: | ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 100 100 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0007 080 080 011 Pre-fail Always - 6990
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 82
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 253 253 051 Pre-fail Always - 0
8 Seek_Time_Performance 0x0025 100 100 015 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 1343
10 Spin_Retry_Count 0x0033 100 100 051 Pre-fail Always - 0
11 Calibration_Retry_Count 0x0012 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 82
13 Read_Soft_Error_Rate 0x000e 100 100 000 Old_age Always - 0
183 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
184 Unknown_Attribute 0x0033 100 100 099 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 069 057 000 Old_age Always - 31 (Lifetime Min/Max 31/31)
194 Temperature_Celsius 0x0022 068 055 000 Old_age Always - 32 (Lifetime Min/Max 31/32)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 68385
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x000a 100 100 000 Old_age Always - 0
201 Soft_Read_Error_Rate 0x000a 253 253 000 Old_age Always - 0 |
_________________ [img]http://imagegen.last.fm/top5-green/artists/cpu.gif[/img] |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Fri Oct 17, 2008 8:43 pm Post subject: |
|
|
what does xfs_check say?
Rei _________________ Please stand by - The mailer daemon is busy burning your messages in hell... |
|
Back to top |
|
|
cpu Tux's lil' helper
Joined: 09 Nov 2003 Posts: 122 Location: POLAND/ZG
|
|
Back to top |
|
|
energyman76b Advocate
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Sat Oct 18, 2008 10:48 am Post subject: |
|
|
are you using 4k stacks?
because 4k+xfs+nfs is a known bad scenario. _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
|
cpu Tux's lil' helper
Joined: 09 Nov 2003 Posts: 122 Location: POLAND/ZG
|
|
Back to top |
|
|
energyman76b Advocate
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Sat Oct 18, 2008 12:06 pm Post subject: |
|
|
yeah, check your kernel config. _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
|
|