linux raid & linux kernel

Nov 01, 2009 14:39

Debian's 2.6.26 kernel из backports для Etch (по идее в Lenny такая же шняга) тоже не может нормально работать с рейдами, в честь первого воскресенья нового месяца наблюдаем затык тазика. Точнее не то чтобы тазика а всех процессов работающих с /dev/md?
Выглядит примерно так:

Nov 1 07:09:19 tazeg kernel: [2986195.439183] INFO: task xfssyncd:3099 blocked for more than 120 seconds.

Nov 1 07:09:19 tazeg kernel: [2986195.439218] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Nov 1 07:09:19 tazeg kernel: [2986195.439264] xfssyncd D 0000000000000000 0 3099 2
Nov 1 07:09:19 tazeg kernel: [2986195.439301] ffff81042c451ba0 0000000000000046 0000000000000000 ffffffff802285b8
Nov 1 07:09:19 tazeg kernel: [2986195.439353] ffff81042dc5c990 ffff81042e5c3570 ffff81042dc5cc18 0000000500000001
Nov 1 07:09:19 tazeg kernel: [2986195.439403] 0000000000000282 0000000000000000 00000000ffffffff 0000000000000000
Nov 1 07:09:19 tazeg kernel: [2986195.439442] Call Trace:
Nov 1 07:09:19 tazeg kernel: [2986195.439497] [] __wake_up_common+0x41/0x74
Nov 1 07:09:19 tazeg kernel: [2986195.439532] [] :raid1:wait_barrier+0x87/0xc8
Nov 1 07:09:19 tazeg kernel: [2986195.439562] [] default_wake_function+0x0/0xe
Nov 1 07:09:19 tazeg kernel: [2986195.439594] [] :raid1:make_request+0x73/0x5af
Nov 1 07:09:19 tazeg kernel: [2986195.439625] [] update_curr+0x44/0x6f
Nov 1 07:09:19 tazeg kernel: [2986195.439656] [] __up_read+0x13/0x8a
Nov 1 07:09:19 tazeg kernel: [2986195.439686] [] generic_make_request+0x2fe/0x339
Nov 1 07:09:19 tazeg kernel: [2986195.439720] [] mempool_alloc+0x24/0xda
Nov 1 07:09:19 tazeg kernel: [2986195.439748] [] __next_cpu+0x19/0x26
Nov 1 07:09:19 tazeg kernel: [2986195.439777] [] find_busiest_group+0x254/0x6f5
Nov 1 07:09:19 tazeg kernel: [2986195.439810] [] submit_bio+0xd9/0xe0
Nov 1 07:09:19 tazeg kernel: [2986195.439863] [] :xfs:_xfs_buf_ioapply+0x206/0x231
Nov 1 07:09:19 tazeg kernel: [2986195.439915] [] :xfs:xfs_buf_iorequest+0x36/0x61
Nov 1 07:09:19 tazeg kernel: [2986195.439963] [] :xfs:xlog_bdstrat_cb+0x16/0x3c
Nov 1 07:09:19 tazeg kernel: [2986195.440017] [] :xfs:xlog_sync+0x20a/0x3a1
Nov 1 07:09:19 tazeg kernel: [2986195.440068] [] :xfs:xlog_state_sync_all+0xb6/0x1c5
Nov 1 07:09:19 tazeg kernel: [2986195.440102] [] lock_timer_base+0x26/0x4b
Nov 1 07:09:19 tazeg kernel: [2986195.440155] [] :xfs:_xfs_log_force+0x58/0x67
Nov 1 07:09:19 tazeg kernel: [2986195.440187] [] schedule_timeout+0x92/0xad
Nov 1 07:09:19 tazeg kernel: [2986195.440238] [] :xfs:xfs_log_force+0xb/0x2a
Nov 1 07:09:19 tazeg kernel: [2986195.440287] [] :xfs:xfs_syncsub+0x33/0x226
Nov 1 07:09:19 tazeg kernel: [2986195.440337] [] :xfs:xfs_sync_worker+0x17/0x36
Nov 1 07:09:19 tazeg kernel: [2986195.440385] [] :xfs:xfssyncd+0x133/0x187
Nov 1 07:09:19 tazeg kernel: [2986195.440433] [] :xfs:xfssyncd+0x0/0x187
Nov 1 07:09:19 tazeg kernel: [2986195.440466] [] kthread+0x47/0x74
Nov 1 07:09:19 tazeg kernel: [2986195.440497] [] schedule_tail+0x27/0x5b
Nov 1 07:09:19 tazeg kernel: [2986195.440529] [] child_rip+0xa/0x12
Nov 1 07:09:19 tazeg kernel: [2986195.440563] [] kthread+0x0/0x74
Nov 1 07:09:19 tazeg kernel: [2986195.440594] [] child_rip+0x0/0x12

Ну и мускуль туда же:
Nov 1 07:09:19 tazeg kernel: [2986195.440660] INFO: task mysqld:25911 blocked for more than 120 seconds.

Состояние рейда:

coolcold@tazeg:~$ cat /proc/mdstat
Personalities : [raid1]
md3 : active raid1 sdd3[0] sdc3[1]
290720192 blocks [2/2] [UU]
[>....................] resync = 0.9% (2906752/290720192) finish=5796.8min speed=825K/sec

md2 : active raid1 sda3[0] sdb3[1]
290720192 blocks [2/2] [UU]
[>....................] resync = 0.9% (2755968/290720192) finish=13424.9min speed=355K/sec

md1 : active raid1 sdb2[0] sda2[1]
1951808 blocks [2/2] [UU]

md0 : active raid1 sdb1[0] sda1[1]
289024 blocks [2/2] [UU]

Это правда после ребута уже, так то скорость упёрлась бы в 0 - 3кб :)
На 2.6.28.8 такого не наблюдается, но в нём секурети дырки. Чего делать - непонядна.

linux, mdadm, raid, md

Previous post Next post
Up