Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2001 21:20:39 -0700 (PDT)
From:      Brad McNeney <mcneney@cs.sfu.ca>
To:        Joe Clarke <marcus@marcuscom.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: trouble exporting fs
Message-ID:  <Pine.OSF.4.21.0106182119250.10444-100000@smahlt.math.sfu.ca>
In-Reply-To: <20010619001213.G14681-100000@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes, /home is a mounted partition:

cr269907-a% df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s1a     49583    38838     6779    85%    /
/dev/ad0s1g   7496178    12110  6884374     0%    /home
/dev/ad0s1f   5954477  2233286  3244833    41%    /usr
/dev/ad0s1e     19815    16767     1463    92%    /var
procfs              4        4        0   100%    /proc

On Tue, 19 Jun 2001, Joe Clarke wrote:

> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> > 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: <math processor> on motherboard
> > npx0: INT 16 interface
> > pcib0: <Host to PCI bridge> on motherboard
> > pci0: <PCI bus> on pcib0
> > pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
> > pci1: <PCI bus> on pcib2
> > pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 9
> > isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
> > isa0: <ISA bus> on isab0
> > atapci0: <VIA 82C686 ATA66 controller> port 0xd800-0xd80f at device 4.1 on pci0
> > ata0: at 0x1f0 irq 14 on atapci0
> > ata1: at 0x170 irq 15 on atapci0
> > uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 4.2 on pci0
> > usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 10 at device 4.3 on pci0
> > usb1: <VIA 83C572 USB controller> 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: <Macronix 98715/98715A 10/100BaseTX> port 0xb800-0xb8ff mem 0xf7800000-0xf78000ff irq 5 at device 9.0 on pci0
> > dc0: Ethernet address: 00:80:c6:f9:c3:83
> > miibus0: <MII bus> on dc0
> > dcphy0: <Intel 21143 NWAY media interface> on miibus0
> > dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> > ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xb400-0xb41f irq 11 at device 11.0 on pci0
> > ed0: address 00:60:67:3b:de:ef, type NE2000 (16 bit)
> > pcib1: <Host to PCI bridge> on motherboard
> > pci2: <PCI bus> on pcib1
> > 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> flags 0x1 irq 1 on atkbdc0
> > kbd0 at atkbd0
> > psm0: <PS/2 Mouse> irq 12 on atkbdc0
> > psm0: model 4D Mouse, device ID 6
> > 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> 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: <Lexmark International Lexmark Optra E310> PRINTER PCL 6 Emulation, PostScript Level 2 Emulation, NPAP, PJL
> > plip0: <PLIP network interface> on ppbus0
> > lpt0: <Printer> on ppbus0
> > lpt0: Interrupt-driven port
> > ppi0: <Parallel I/O> on ppbus0
> > ad0: 14655MB <Maxtor 91536U3> [29777/16/63] at ata0-master UDMA66
> > acd0: CDROM <ASUS CD-S500/A> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback> none
> > ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,LOOPBACK,RUNNING,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.21.0106182119250.10444-100000>