nfs export problems

Patrick Hornecker phornecker at googlemail.com
Fri Oct 15 08:41:35 UTC 2010


hi,

im using nfs version 3 to export data of several raids over the network. the
raids are attached to different server which are running ubuntu 10.04. the
exported raids are using xfs as filesystem.
On one server occurs a random freeze of the nfsd. if this happens, the
exported raid is not accessable over the network anymore. if a user wants to
open the directory with his shell, the shell freezes.

i haven't found any known bugs or problems, which fit to this problem. do
you have any suggestions oder maybe a known fix of this problem?

thanks in advance and regards,
patrick

error in syslog:

kernel: [80164.910229] INFO: task nfsd:2557 blocked for more than 120
seconds.
kernel: [80164.931774] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
kernel: [80164.954099] nfsd          D 00000000ffffffff     0  2557      2
0x00000000
kernel: [80164.954112]  ffff881fb32e1860 0000000000000046 0000000000015bc0
0000000000015bc0
kernel: [80164.954117]  ffff881fa6d5df80 ffff881fb32e1fd8 0000000000015bc0
ffff881fa6d5dbc0
kernel: [80164.954120]  0000000000015bc0 ffff881fb32e1fd8 0000000000015bc0
ffff881fa6d5df80
kernel: [80164.954124] Call Trace:
kernel: [80164.954145]  [<ffffffff81558d77>]
__mutex_lock_slowpath+0x107/0x190
kernel: [80164.954148]  [<ffffffff81558773>] mutex_lock+0x23/0x50
kernel: [80164.954212]  [<ffffffffa02c77b0>] xfs_write+0x490/0x9f0 [xfs]
kernel: [80164.954216]  [<ffffffff81559ffe>] ? _spin_lock+0xe/0x20
kernel: [80164.954226]  [<ffffffffa02a84b8>] ? xfs_log_move_tail+0x138/0x190
[xfs]
kernel: [80164.954236]  [<ffffffffa029e94c>] ? xfs_iget+0x14c/0x1a0 [xfs]
kernel: [80164.954246]  [<ffffffffa02c34a0>] ? xfs_file_aio_write+0x0/0x70
[xfs]
kernel: [80164.954255]  [<ffffffffa02c3502>] xfs_file_aio_write+0x62/0x70
[xfs]
kernel: [80164.954262]  [<ffffffff8114366b>] do_sync_readv_writev+0xfb/0x140
kernel: [80164.954266]  [<ffffffffa00155f8>] ?
find_acceptable_alias+0x28/0x100 [exportfs]
kernel: [80164.954272]  [<ffffffff81084250>] ?
autoremove_wake_function+0x0/0x40
kernel: [80164.954278]  [<ffffffff81251f96>] ?
security_file_permission+0x16/0x20
kernel: [80164.954281]  [<ffffffff811446df>] do_readv_writev+0xcf/0x1f0
kernel: [80164.954287]  [<ffffffff8113589e>] ? kmem_cache_alloc+0x11e/0x130
kernel: [80164.954289]  [<ffffffff81144848>] vfs_writev+0x48/0x60
kernel: [80164.954309]  [<ffffffffa03c61cd>] nfsd_vfs_write+0x10d/0x420
[nfsd]
kernel: [80164.954311]  [<ffffffff81141cd2>] ? dentry_open+0x52/0xc0
kernel: [80164.954317]  [<ffffffffa03c6d95>] ? nfsd_open+0x115/0x1d0 [nfsd]
kernel: [80164.954319]  [<ffffffff81559ffe>] ? _spin_lock+0xe/0x20
kernel: [80164.954325]  [<ffffffffa03c7097>] nfsd_write+0xe7/0x100 [nfsd]
kernel: [80164.954331]  [<ffffffffa03cf50f>] nfsd3_proc_write+0xaf/0x140
[nfsd]
kernel: [80164.954338]  [<ffffffffa03c043e>] nfsd_dispatch+0xfe/0x250 [nfsd]
kernel: [80164.954371]  [<ffffffffa02f7674>] svc_process_common+0x344/0x610
[sunrpc]
kernel: [80164.954378]  [<ffffffff8105a350>] ?
default_wake_function+0x0/0x20
kernel: [80164.954386]  [<ffffffffa02f7a50>] svc_process+0x110/0x150
[sunrpc]
kernel: [80164.954391]  [<ffffffffa03c0ae5>] nfsd+0xc5/0x170 [nfsd]
kernel: [80164.954395]  [<ffffffffa03c0a20>] ? nfsd+0x0/0x170 [nfsd]
kernel: [80164.954397]  [<ffffffff81083ed6>] kthread+0x96/0xa0
kernel: [80164.954401]  [<ffffffff810131ea>] child_rip+0xa/0x20
kernel: [80164.954404]  [<ffffffff81083e40>] ? kthread+0x0/0xa0
kernel: [80164.954406]  [<ffffffff810131e0>] ? child_rip+0x0/0x20
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101015/617696a1/attachment.html>


More information about the ubuntu-users mailing list