xfs
[Top] [All Lists]

xfs + knfsd w/ sync exports

To: "Linux XFS (E-mail)" <linux-xfs@xxxxxxxxxxx>, "NFS list (E-mail)" <nfs@xxxxxxxxxxxxxxxxxxxxx>
Subject: xfs + knfsd w/ sync exports
From: "Christian, Chip" <chip.christian@xxxxxxxxxxxxxxx>
Date: Fri, 27 Apr 2001 11:44:56 -0400
Sender: owner-linux-xfs@xxxxxxxxxxx
The answer could very well be "don't use sync exports with a journaling 
filesystem", but I thought I'd throw this out there so it's at least a 
documented restriction...  

I'm running 2.4.2-SGI_XFS_0.10.4d1 with knfsd, supporting NFS v3.  Mounted a 
XFS filesystem through RedHat's new multipath code, exported the filesystem 
(rw,no_subtree_check,sync).

Mounted on a similar machine, then tried to write a few files.  The operation 
hung.  Furthermore, access on the local system to the same filesystem also 
hung.  I presume somebody was sitting on a lock?

Couldn't halt the box, so I powered down then up.  When it came up, the first 
inode was there (maybe through log replay?), file was empty.  Here's what I get 
from /var/log/messages:

Apr 26 13:55:06 betanas1 kernel: interrupting MD-thread pid 778
Apr 26 13:55:06 betanas1 kernel: marking sb clean...
Apr 26 13:55:06 betanas1 kernel: md0 stopped.
Apr 26 13:55:06 betanas1 kernel: unbind<sde,1>
Apr 26 13:55:06 betanas1 kernel: export_rdev(sde)
Apr 26 13:55:06 betanas1 kernel: Unable to handle kernel NULL pointer dereferenc
e at virtual address 000000cc
Apr 26 13:55:06 betanas1 kernel:  printing eip:
Apr 26 13:55:06 betanas1 kernel: 80264f9e
Apr 26 13:55:06 betanas1 kernel: pgd entry 976d0000: 0000000000000000
Apr 26 13:55:06 betanas1 kernel: pmd entry 976d0000: 0000000000000000
Apr 26 13:55:06 betanas1 kernel: ... pmd not present!
Apr 26 13:55:06 betanas1 kernel: Oops: 0000
Apr 26 13:55:06 betanas1 kernel: CPU:    0
Apr 26 13:55:06 betanas1 kernel: EIP:    0010:[usb_stor_exit+-2144972978/-107269
3328]
Apr 26 13:55:06 betanas1 kernel: EIP:    0010:[<80264f9e>]
Apr 26 13:55:06 betanas1 kernel: EFLAGS: 00010202
Apr 26 13:55:06 betanas1 kernel: eax: 00000040   ebx: 00000000   ecx: 803d0840
 edx: 818f7000
Apr 26 13:55:06 betanas1 kernel: esi: 9fc30ea0   edi: 96dee000   ebp: fffffff4
 esp: 96defe18
Apr 26 13:55:06 betanas1 kernel: ds: 0018   es: 0018   ss: 0018
Apr 26 13:55:06 betanas1 kernel: Process raidstop (pid: 10528, stackpage=96def00
0)
Apr 26 13:55:06 betanas1 kernel: Stack: 96e72e00 8013bfe8 96e72e00 00000000 9fcd
6720 9823d2b4 9823d2a0 00000000
Apr 26 13:55:06 betanas1 kernel:        96dee000 9fc30eb8 803d0840 80294e67 9fc3
0ea0 00000003 9fcd6720 80294ec2
Apr 26 13:55:06 betanas1 kernel:        9fcd6720 9fcd6720 9823d2b4 80294f45 9fcd
6720 9fcd6720 97c26760 80294fa6
Apr 26 13:55:06 betanas1 kernel: Call Trace: [usb_stor_exit+-2146189416/-1072693
328] [usb_stor_exit+-2144776681/-1072693328] [usb_stor_exit+-2144776590/-1072693
328] [usb_stor_exit+-2144776459/-1072693328] [usb_stor_exit+-2144776362/-1072693
328] [usb_stor_exit+-2144776263/-1072693328] [usb_stor_exit+-2144768950/-1072693
328]
Apr 26 13:55:06 betanas1 kernel: Call Trace: [<8013bfe8>] [<80294e67>] [<80294ec
2>] [<80294f45>] [<80294fa6>] [<80295009>] [<80296c9a>]
Apr 26 13:55:06 betanas1 kernel:        [usb_stor_exit+-2144007867/-1072693328]
[usb_stor_exit+-2144763053/-1072693328] [usb_stor_exit+-2146189288/-1072693328]
[usb_stor_exit+-2146292134/-1072693328] [usb_stor_exit+-2146362092/-1072693328]
[usb_stor_exit+-2146189250/-1072693328] [usb_stor_exit+-2146157593/-1072693328]
[usb_stor_exit+-2146398325/-1072693328]
Apr 26 13:55:06 betanas1 kernel:        [<80350995>] [<802983a3>] [<8013c068>] [
<80122eaa>] [<80111d64>] [<8013c08e>] [<80143c37>] [<80108fdb>]
Apr 26 13:55:06 betanas1 kernel:
Apr 26 13:55:06 betanas1 kernel: Code: 8b 83 cc 00 00 00 8d 48 ff 89 8b cc 00 00
 00 f6 83 fa 00 00

<Prev in Thread] Current Thread [Next in Thread>