From owner-freebsd-questions Mon Jun 18 21:15:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu26-228-058.nc.rr.com [66.26.228.58]) by hub.freebsd.org (Postfix) with ESMTP id BADD737B406 for ; Mon, 18 Jun 2001 21:15:02 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f5J4EXr28392; Tue, 19 Jun 2001 00:14:33 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Tue, 19 Jun 2001 00:14:33 -0400 (EDT) From: Joe Clarke To: Brad McNeney Cc: Subject: Re: trouble exporting fs In-Reply-To: Message-ID: <20010619001213.G14681-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Is /home a mounted partition? You should specify mounted partitions only in /etc/exports. If your client needs to mount subdirectories on the partition, consider the following: /usr /usr/home 192.168.100.200 Then, the client can mount /usr/home on /home. Joe Clarke On Mon, 18 Jun 2001, Brad McNeney wrote: > > I'm having trouble exporting a filesystem on from a machine > running FreeBSD 4.3-STABLE to a Linux machine (RedHat 6.2). > The FreeBSD computer has 2 NICs. The external is connected to a > cable modem and the internal to a hub on a LAN with network addresses > 192.168.100.xxx. The computer I want to export to has IP 192.168.100.200 > > The relevant part of dmesg (full output clipped below) reads: > Starting final network daemons: > mountd > Jun 18 20:51:36 cr269907-a mountd[165]: can't export /home > Jun 18 20:51:36 cr269907-a mountd[165]: bad exports list line /home > 192.168.100.200 > > My /etc/exports file has just the one line: > > /home 192.168.100.200 > > > Output from netstat -rn: > > Routing tables > > Internet: > Destination Gateway Flags Netif Expire > default 24.113.160.1 UGSc dc0 > 24.113.160/22 link#1 UC dc0 => > 127.0.0.1 127.0.0.1 UH lo0 > 192.168.100 link#2 UC ed0 => > > Internet6: > Destination Gateway Flags Netif Expire > ::1 ::1 UH lo0 > fe80::%dc0/64 link#1 UC dc0 > fe80::%ed0/64 link#2 UC ed0 > fESG::%lo0/64 fe80::1%lo0 Uc lo0 > ff01::/32 ::1 U lo0 > ff02::%dc0/32 link#1 UC dc0 > ff02::%ed0/32 link#2 UC ed0 > ff02::%lo0/32 fe80::1%lo0 UC lo0 > > > Any ideas on what I'm doing wrong? > > Brad > > ----------------------------------------------------------------------- > Full output from 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: Sun Jun 17 17:04:22 PDT 2001 > root@cr269907-a.poco1.bc.wave.home.com:/usr/obj/usr/src/sys/MYKERNEL > Timecounter "i8254" frequency 1193182 Hz > CPU: Pentium III/Pentium III Xeon/Celeron (1004.52-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > Features=0x383f9ff > real memory = 536854528 (524272K bytes) > config> di pcic0 > config> di sn0 > config> di lnc0 > config> di ie0 > config> di fe0 > config> di ed0 > config> di cs0 > config> en pcic1 > config> po pcic1 0x3e2 > config> ir pcic1 11 > config> iom pcic1 0xd4000 > config> f pcic1 0 > config> q > avail memory = 518311936 (506164K bytes) > Preloaded elf kernel "kernel" at 0xc0459000. > Preloaded userconfig_script "/boot/kernel.conf" at 0xc045909c. > Preloaded elf module "splash_bmp.ko" at 0xc04590ec. > Pentium Pro MTRR support enabled > md0: Malloc disk > module_register_init: MOD_LOAD (splash_bmp, c0454798, 0) error 2 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pcib2: at device 1.0 on pci0 > pci1: on pcib2 > pci1: at 0.0 irq 9 > 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 > uhci0: port 0xd400-0xd41f irq 10 at device 4.2 on pci0 > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xd000-0xd01f irq 10 at device 4.3 on pci0 > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > dc0: port 0xb800-0xb8ff mem 0xf7800000-0xf78000ff irq 5 at device 9.0 on pci0 > dc0: Ethernet address: 00:80:c6:f9:c3:83 > miibus0: on dc0 > dcphy0: on miibus0 > dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > ed0: port 0xb400-0xb41f irq 11 at device 11.0 on pci0 > ed0: address 00:60:67:3b:de:ef, type NE2000 (16 bit) > pcib1: on motherboard > pci2: on pcib1 > fdc0: 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: at port 0x60,0x64 on isa0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: irq 12 on atkbdc0 > psm0: model 4D Mouse, device ID 6 > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > sc0: 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: at port 0x378-0x37f irq 7 on isa0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP > Probing for PnP devices on ppbus0: > ppbus0: PRINTER PCL 6 Emulation, PostScript Level 2 Emulation, NPAP, PJL > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > ad0: 14655MB [29777/16/63] at ata0-master UDMA66 > acd0: CDROM at ata1-slave using PIO4 > Mounting root from ufs:/dev/ad0s1a > swapon: adding /dev/ad0s1b as swap device > Automatic boot in progress... > /dev/ad0s1a: > FILESYSTEM CLEAN; SKIPPING CHECKS > /dev/ad0s1a: > clean, 10754 free > (346 frags, 1301 blocks, 0.7% fragmentation) > /dev/ad0s1g: > FILESYSTEM CLEAN; SKIPPING CHECKS > /dev/ad0s1g: > clean, 7484077 free > (581 frags, 935437 blocks, 0.0% fragmentation) > /dev/ad0s1f: > FILESYSTEM CLEAN; SKIPPING CHECKS > /dev/ad0s1f: > clean, 3721191 free > (51167 frags, 458753 blocks, 0.9% fragmentation) > /dev/ad0s1e: > FILESYSTEM CLEAN; SKIPPING CHECKS > /dev/ad0s1e: > clean, 3037 free > (61 frags, 372 blocks, 0.3% fragmentation) > Doing initial network setup: > hostname > . > dc0: flags=8843 mtu 1500 > inet 24.113.163.96 netmask 0xfffffc00 broadcast 24.113.163.255 > inet6 fe80::280:c6ff:fef9:c383%dc0 prefixlen 64 tentative scopeid 0x1 > ether 00:80:c6:f9:c3:83 > media: autoselect (none) status: active > supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 100baseTX none > ed0: flags=8843 mtu 1500 > inet 192.168.100.100 netmask 0xffffff00 broadcast 192.168.100.255 > inet6 fe80::260:67ff:fe3b:deef%ed0 prefixlen 64 tentative scopeid 0x2 > ether 00:60:67:3b:de:ef > lo0: flags=8049 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > add net default: gateway 24.113.160.1 > Additional routing options: > TCP keepalive=YES > . > Routing daemons: > . > Additional daemons: > syslogd > . > Doing additional network setup: > portmap > . > Starting final network daemons: > mountd > Jun 18 20:51:36 cr269907-a mountd[165]: can't export /home > Jun 18 20:51:36 cr269907-a mountd[165]: bad exports list line /home 192.168.100.200 > nfsd > rpc.statd > . > ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib > a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout > Starting standard daemons: > inetd > cron > sendmail > . > Jun 18 20:51:37 cr269907-a sendmail[197]: f5J30aE44624: SYSERR(root): Cannot open hash database /etc/mail/aliases.db: Inappropriate file type or format > Initial rc.i386 initialization: > . > Configuring syscons: > blank_time > screensaver > moused > . > Additional ABI support: > linux > . > Local package initialization: > apache > mysql > . > Additional TCP options: > . > > Mon Jun 18 20:51:43 PDT 2001 > kill: > 45246 > : > No such process > Jun 18 20:52:10 cr269907-a login: ROOT LOGIN (root) ON ttyv0 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message