On Wed, 28 Feb 2007, Joaquin Herrero wrote:

> Hi everyone,
> 
> I'm trying to set up a sftp server for my boss using OpenBSD. It will be
> used for heavy work from 10 remote places in the country.
> The file repository is in a Windows 2003 Server, so I have to mount that
> repository to put there the files uploaded.
> As OpenBSD does not allow smbmount I first tried mounting the remote file
> system with sharity-light.
> 
> The file repository has a very crowded top level with some
> 20.000directories in the root directory. I cannot change that.
> 
> With sharity-light the remote machine gets mounted ok, but when I issue a
> "ls" on the root directory, I get a partial list of directories and then the
> listing hangs forever.
> 
> I then installed the "Services for Unix" (SFU) in the Windows Server, and
> mounted the remote drive via NFS:
> 
> # mount -t nfs -o -T winserver:/Data  /mnt/winserver

I have no windows machines, but I can try to recreate your problem
using an OpenBSD NFS server. 

One question: can yo try with UDP mounts also (leave out the -T)? 

        -Otto

> 
> Then tried the "ls". Same result: partial list and hangs.
> 
> The NFS and sharity-light works ok for the "normal" operations, such as file
> upload and download and partial directory listing. But as you know, the
> graphical ftp clients show the list of directories in the first screen they
> show, so they are not usable with the OpenBSD machine.
> 
> I tried the same from a Linux machine and it works ok in both tests: with
> smbmount and with a NFS mount. I have to wait some 30 seconds to get the
> full listing but it works ok.
> 
> It seems to me that there's some kind of limit that I am reaching in OpenBSD
> with that "ls". But I am completely lost.
> 
> Can you help me with some ideas, please?
> 
> Thanks
> 
> -Joaquin Herrero
> 
> 
> Pd. Here you have the dmesg.
> -----------------------------------------------------------------
> OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
>     [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: AMD Opteron(tm) Processor 285 ("AuthenticAMD" 686-class, 1024KB L2
> cache) 2.61 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT
> real mem  = 267939840 (261660K)
> avail mem = 236662784 (231116K)
> using 3296 buffers containing 13500416 bytes (13184K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(6f) BIOS, date 04/21/04, BIOS32 rev. 0 @ 0xfd880,
> SMBIOS rev. 2.31 @ 0xe4010 (45 entries)
> bios0: VMware, Inc. VMware Virtual Platform
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown
> apm0: flags 30102 dobusy 0 doidle 1
> pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
> pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
> pcibios0: PCI bus #1 is the last bus
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1a00! 0xca000/0x1000
> 0xdc000/0x4000! 0xe4000/0x4000!
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x01
> ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x01
> pci1 at ppb0 bus 1
> pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x08
> pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel
> 0 configured to compatibility, channel 1 configured to compatibility
> pciide0: channel 0 ignored (disabled)
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <NECVMWar, VMware IDE CDR10, 1.00> SCSI0
> 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x08: SMBus
> disabled
> vga1 at pci0 dev 15 function 0 "VMware Virtual SVGA II" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> mpi0 at pci0 dev 16 function 0 "Symbios Logic 53c1030" rev 0x01: irq 9
> scsibus1 at mpi0: 16 targets
> sd0 at scsibus1 targ 0 lun 0: <VMware, Virtual disk, 1.0> SCSI2 0/direct
> fixed
> sd0: 3072MB, 3072 cyl, 64 head, 32 sec, 512 bytes/sec, 6291456 sec total
> mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
> pcn0 at pci0 dev 17 function 0 "AMD 79c970 PCnet-PCI" rev 0x10, Am79c970A,
> rev 0: irq 10, address 00:50:56:bb:4d:4d
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pmsi0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pmsi0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> biomask eb65 netmask ef65 ttymask ffe7
> pctr: user-level cycle counter enabled
> dkcsum: sd0 matches BIOS drive 0x80
> root on sd0a
> rootdev=0x400 rrootdev=0xd00 rawdev=0xd02

Reply via email to