From owner-freebsd-questions Fri Dec 21 8: 2:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.bigstudios.com (H185.C214.tor.velocet.net [216.138.214.185]) by hub.freebsd.org (Postfix) with ESMTP id 51AAD37B419 for ; Fri, 21 Dec 2001 08:02:29 -0800 (PST) Received: from bigstudios.com([192.168.75.105]) (6451 bytes) by mail.bigstudios.com via sendmail with P:esmtp/R:bind_hosts/T:smtp (sender: ) id for ; Fri, 21 Dec 2001 11:02:28 -0500 (EST) (Smail-3.2.0.111 2000-Feb-17 #1 built 2000-Jul-5) Message-ID: <3C235E16.C139FDF1@bigstudios.com> Date: Fri, 21 Dec 2001 11:06:46 -0500 From: Sam Suh X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: NFS broken? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, everyone. I don't know if I am the first one to suspect this but I think there maybe a problem with NFS in 4.4 stable. I recently setup the RAID 5 machine which will serve as file server. I have 512MB ram with 650MHz PIII and 5 IDE drives ( 1 system drive of 20GB, 4 RAID composed of 3 RAID volume and one hot spare. Each has 93GB WD Caviar 1000BB ), Adaptec 2400A. I have created RAID volume and small partition of system drive as NFS volume. I been having difficulties with SGI and 4.1 machine seeing this volume correctly. Given the nature of our shop, it is norm to have over 900+ files within single directory. Present file server on IRIX does not have any problems with these; however, new 4.4 based RAID machine I have created displays much problems. For examples, after mounting RAID volume on IRIX or 4.1 machine, ls on directories with many files simply wouldn't turn up. IRIX will set there forever and finally tells me this: IRIX /n/exportedNFS/$ ls total 0 IRIX /n/exportedNFS/$ On 4.1, matter is more complicated. It becomes a zombie process and wouldn't even die. Not to mention not letting umount the NFS in question. So, naturally, I thought it may something to do with NFS configuration or RAID card. However, configurations are checked out fine and rpcinfo informs me it is up and running OK. Puzzled, I did exported the system drive partition (/tmp) and tried to mount on 4.1 and IRIX. They are both mounted fine but simple 'ls' will produce same result. Worse, I experienced a crash when I did a test with copying some files from RAID volume to new share on system drive. Before I had chance to look at the error, it rebooted itself. When booted, I saw fsck was doing salvage on new share. Now I am really alarmed. Now, I am not sure if it is something to do with hardware anymore. Does anyone know of any bugs introduced to 4.4 stable distribution? Below is my rc.conf, exports and dmesg ifconfig_bge0="inet 192.168.75.108 netmask 255.255.255.0" defaultrouter="192.168.75.254" kern_securelevel_enable="NO" linux_enable="YES" moused_type="auto" saver="blank" sendmail_enable="NO" sshd_enable="YES" hostname="4.4 machine" portmap_enable="YES" nfs_server_enable="YES" nfs_server_flags="-u -t -n 4" mountd_flags="-r" nfs_client_enable="YES" nfs_client_flags="-n 4" usbd_enable="YES" nisdomainname="bigstudios.com" nis_client_enable="YES" local_startup="/usr/local/etc/rc.d" /jobs /tmp 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.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (651.48-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Stepping = 1 Features=0x383f9ff real memory = 536858624 (524276K bytes) avail memory = 518107136 (505964K bytes) Preloaded elf kernel "kernel" at 0xc048c000. Preloaded elf module "bcmphy.ko" at 0xc048c09c. Preloaded elf module "if_bge.ko" at 0xc048c13c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 6 entries at 0xc00f0c80 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: <3D Labs model 000a graphics accelerator> at 0.0 irq 11 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x1274, dev=0x1371) at 10.0 irq 5 bge0: mem 0xd6800000-0xd680ffff irq 10 at device 11.0 on pci0 bge0: Ethernet address: 00:04:76:3b:4a:08 miibus0: on bge0 bcmphy0: on miibus0 bcmphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto pcib3: at device 12.0 on pci0 pci2: on pcib3 asr0: mem 0xd8000000-0xd9ffffff irq 11 at device 12.1 on pci0 asr0: major=154 asr0: ADAPTEC 2400A FW Rev. 370L, 4 channel, 256 CCBs, Protocol I2O pcib1: on motherboard pci3: on pcib1 orm0: