ls on NFS mounted msdos partition returns nothing on client machine

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ls on NFS mounted msdos partition returns nothing on client machine

zrzut01
>Synopsis: ls on NFS mounted msdos partition returns nothing on
client machine
>Category: system
>Environment:
        System      : OpenBSD 6.4
        Details     : OpenBSD 6.4 (GENERIC.MP) #364: Thu Oct 11 13:30:23 MDT 2018
                         [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
        Not possible to list contents of NFS mounted msdos partition on client
machine, ls returns nothing and it is not possible to see its contents.
>How-To-Repeat:
(on the OpenBSD server)
# vnconfig /dev/vnd0c /home/user/slackware64-14.2-install-dvd.iso
# mount -t cd9660 /dev/vnd0c /mnt/slackware64-14.2/
# vnconfig /dev/vnd1c
/mnt/slackware64-14.2/usb-and-pxe-installers/usb-and-pxe-installers/usbboot.img
# vnconfig -l                                                          
vnd0: covering /home/user/slackware64-14.2-install-dvd.iso on wd0k, inode
12082645
vnd1: covering /mnt/slackware64-14.2/usb-and-pxe-installers/usbboot.img on
vnd0c, inode 920198
vnd2: not in use
vnd3: not in use
# disklabel /dev/vnd1c                                                
/dev/vnd1c:
type: vnd
disk: vnd device
label: fictitious
duid: 0000000000000000
flags:
bytes/sector: 512
sectors/track: 100
tracks/cylinder: 1
sectors/cylinder: 100
cylinders: 939
total sectors: 93978
boundstart: 0
boundend: 93978
drivedata: 0
 
16 partitions:
                 size           offset  fstype [fsize bsize   cpg]
  c:            93978                0  unused                    
  i:            93978                0   MSDOS                    
# mount -t msdos -o ro /dev/vnd1i /mnt/net01/
# mount  
 (OS slices)
/dev/vnd0c on /mnt/slackware64-14.2 type cd9660 (NFS exported, local,
read-only)
/dev/vnd1i on /mnt/net01 type msdos (NFS exported, local, read-only)
# cat /etc/exports                                                    
/mnt/slackware64-14.2 -ro -network=192.168.1 -mask=255.255.255.0
/mnt/net01 -ro -network=192.168.1 -mask=255.255.255.0
# ls /mnt/net01/                                                      
EFI          f2.txt       initrd.img   message.txt  syslinux.cfg
LDLINUX.SYS  huge.s       memtest      setpkg
# ls /mnt/slackware64-14.2/                                            
ANNOUNCE.14_2              GPG-KEY                    SPEAK_INSTALL.TXT
 (...)
 
(on the linux client)
# mount -t nfs -o vers=3,rsize=8192,wsize=8192 <openbsd server
IP>:/mnt/net01 /mnt/net01#
# mount -t nfs -o vers=3,rsize=8192,wsize=8192 <openbsd server
IP>:/mnt/slackware64-14.2 /mnt/slackware64-14.2
# mount
 (OS partitions)
nfsd on /proc/fs/nfs type nfsd (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
<openbsd server IP>:/mnt/net01 on /mnt/net01 type nfs
(rw,vers=3,rsize=8192,wsize=8192,addr=<openbsd server IP>)
<openbsd server IP>:/mnt/slackware64-14.2/ on /mnt/slackware64-14.2
type nfs (rw,vers=3,rsize=8192,wsize=8192,addr=<openbsd server IP>)
# ls /mnt/net01
# ls /mnt/slackware64-14.2
ANNOUNCE.14_2          GPG-KEY           SPEAK_INSTALL.TXT
vnd1c: type: vnd disk: vnd device label: fictitious duid: 0000000000000000
flags
>Fix:
        <how to correct or work around the problem, if known (multiple
lines)>

dmesg:
OpenBSD 6.4 (GENERIC.MP) #364: Thu Oct 11 13:30:23 MDT 2018
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4009426944 (3823MB)
avail mem = 3878633472 (3698MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfaf60 (20 entries)
bios0: vendor American Megatrends Inc. version "P1.20" date
09/19/2011
bios0: ASRock N68-VS3 UCC
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB SRAT AAFT SSDT
acpi0: wakeup devices UAR1(S4) NSMB(S4) USB0(S4) USB2(S4) NMAC(S5) P0P1(S4)
HDAC(S4) BR10(S4) BR11(S4) BR12(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Sempron(tm) X2 190 Processor, 2511.87 MHz, 10-06-03
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully
associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully
associative
cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Sempron(tm) X2 190 Processor, 2511.44 MHz, 10-06-03
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully
associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully
associative
cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xfc000000, bus 0-31
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 2 (BR10)
acpiprt3 at acpi0: bus 3 (BR11)
acpiprt4 at acpi0: bus 4 (BR12)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpicmos0 at acpi0
acpibtn0 at acpi0: PWRB
cpu0: 2511 MHz: speeds: 2500 2000 1500 800 MHz
pci0 at mainbus0 bus 0
"NVIDIA MCP61 Memory" rev 0xa1 at pci0 dev 0 function 0 not
configured
pcib0 at pci0 dev 1 function 0 "NVIDIA MCP61 ISA" rev 0xa2
nviic0 at pci0 dev 1 function 1 "NVIDIA MCP61 SMBus" rev 0xa2
iic0 at nviic0
sdtemp0 at iic0 addr 0x19: stts2002
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM ECC PC3-12800 with thermal sensor
iic1 at nviic0
"NVIDIA MCP61 Memory" rev 0xa2 at pci0 dev 1 function 2 not
configured
ohci0 at pci0 dev 2 function 0 "NVIDIA MCP61 USB" rev 0xa3: apic
2 int 5, version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 "NVIDIA MCP61 USB" rev 0xa3: apic
2 int 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "NVIDIA EHCI root hub"
rev 2.00/1.00 addr 1
ppb0 at pci0 dev 4 function 0 "NVIDIA MCP61" rev 0xa1
pci1 at ppb0 bus 1
azalia0 at pci0 dev 5 function 0 "NVIDIA MCP61 HD Audio" rev
0xa2: apic 2 int 11
azalia0: codecs: VIA/0x4397
audio0 at azalia0
pciide0 at pci0 dev 6 function 0 "NVIDIA MCP61 IDE" rev 0xa2:
DMA, channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
nfe0 at pci0 dev 7 function 0 "NVIDIA MCP61 LAN" rev 0xa2: apic 2
int 5, address 00:25:22:ed:59:da
rlphy0 at nfe0 phy 0: RTL8201L 10/100 PHY, rev. 1
pciide1 at pci0 dev 8 function 0 "NVIDIA MCP61 SATA" rev 0xa2:
DMA
pciide1: using apic 2 int 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST3160811AS>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide2 at pci0 dev 8 function 1 "NVIDIA MCP61 SATA" rev 0xa2:
DMA
pciide2: using apic 2 int 10 for native-PCI interrupt
ppb1 at pci0 dev 9 function 0 "NVIDIA MCP61 PCIE" rev 0xa2
pci2 at ppb1 bus 2
ppb2 at pci0 dev 11 function 0 "NVIDIA MCP61 PCIE" rev 0xa2
pci3 at ppb2 bus 3
ppb3 at pci0 dev 12 function 0 "NVIDIA MCP61 PCIE" rev 0xa2
pci4 at ppb3 bus 4
vga1 at pci0 dev 13 function 0 "NVIDIA GeForce 7025 nForce 630a"
rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pchb0 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport"
rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev
0x00
pchb2 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00
pchb3 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: W83627DHG-P rev 0x73
lm1 at wbsio0 port 0x290/8: W83627DHG
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "NVIDIA OHCI root hub"
rev 1.00/1.00 addr 1
vmm0 at mainbus0: SVM/RVI
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (4397fc0b87252da3.a) swap on wd0b dump on wd0b

usbdevs:
Controller /dev/usb0:
addr 01: 10de:0000 NVIDIA, EHCI root hub
         high speed, self powered, config 1, rev 1.00
         driver: uhub0
Controller /dev/usb1:
addr 01: 10de:0000 NVIDIA, OHCI root hub
         full speed, self powered, config 1, rev 1.00
         driver: uhub1