Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2001 11:40:57 -0400
From:      Jay Sachs <jay@eziba.com>
To:        freebsd-questions@freebsd.org
Subject:   NFS v3 server locking fails
Message-ID:  <3B66D189.F8AF6763@eziba.com>

next in thread | raw e-mail | index | archive | help
We're trying to get an Oracle db running on Solaris 2.6 to work with a
4.3-Stable (7/24) system as the underlying filesystem via NFS. The
-Stable box has an ATA raid subsystem. The problem is that over NFS v3,
the Solaris system fails to acquire the lock, and NFSv2, though it
works, isn't really an option since it's (a) an order of magnitude
slower and more importantly, (b) we have files > 2gig.

Are there any known problems with NFSv3 locking? If so, any know
workarounds?

/etc/rc.conf has

  nfs_server_enable="YES"
  rpc_lockd_enable="YES"
  portmap_enable="YES"

dmesg output follow.

jay


% dmesg 
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights
reserved.
FreeBSD 4.3-STABLE #0: Tue Jul 24 03:48:56 EDT 2001
    root@nas1.eziba.com:/usr/src/sys/compile/nas1
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 801822909 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (801.82-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
 
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268435456 (262144K bytes)
avail memory = 258363392 (252308K bytes)
Preloaded elf kernel "kernel" at 0xc02d5000.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1106 device=b091)> at device 1.0 on
pci0
pci1: <PCI bus> on pcib1
pci0: <Matrox MGA Millennium II 2164W graphics accelerator> at 8.0 irq
12
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xc000-0xc03f mem
0xf8000000-0xf801ffff,0xf8040000-0xf8040fff irq 10 at device 9.0 on pci0
fxp0: Ethernet address 00:02:b3:33:71:b2
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci0: <Promise ATA100 controller> port
0xd400-0xd43f,0xd000-0xd003,0xcc00-0xcc07,0xc800-0xc803,0xc400-0xc407
mem 0xf8020000-0xf803ffff irq 11 at device 11.0 on pci0
ata2: at 0xc400 on atapci0
ata3: at 0xcc00 on atapci0
isab0: <PCI to ISA bridge (vendor=1106 device=3074)> at device 17.0 on
pci0
isa0: <ISA bus> on isab0
atapci1: <VIA Apollo ATA controller> port 0xd800-0xd80f at device 17.1
on pci0
ata0: at 0x1f0 irq 14 on atapci1
orm0: <Option ROMs> at iomem
0xc0000-0xc7fff,0xc8000-0xc97ff,0xca000-0xd1fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port not found.
ar0: 146617MB <ATA RAID0+1 array> [18691/255/63] subdisks:
  ad4: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata2-master UDMA100
  ad5: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata2-slave UDMA100
  ad6: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata3-master UDMA100
  ad7: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata3-slave UDMA100
Mounting root from ufs:/dev/ar0s1a

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B66D189.F8AF6763>