[linux] Re: nfs mounts willen niet

Wybo Dekker wybo op servalys.nl
Vr Mrt 30 11:17:17 CEST 2007


Hans van der Made wrote:
> Hoi Wybo,
> 
>> Ik heb drie machines met SuSE-10.1 in een lan hangen.
>> Alledrie kunnen ze elkaars exports mounten, met 1 uitzondering:
>> de exports van een van de drie kunnen op de andere twee niet gemount 
>> worden; een mount -t nfs drie:/home /mnt zegt:
>>
>> mount server reported tcp not available, falling back to udp
>> mount: RPC: Program not registered
> 
> Kijk even naar verschillen tussen de systemen, wat betreft:
> 
> * firewallconfiguratie (iptables -L)
> * kernel-verschillen, met name geladen modules (lsmod)
nou, die geven beide op alle machines sterk verschillende resultaten, 
waar ik geen touw aan kan vastknopen. De  probleemmachine wijkt niet 
meer dan de andere machines af. Zie de geattachte diff3 outputs (1: is 
de probleemmachine)

> * /etc/fstab - mountopties

die had ik juist bij allemaal gelijk gemaakt: 
rsize=8192,wsize=8192,timeo=14,intr,noauto
Zie ook de geattachte fstab van de probleemmachine.

> Kennelijk gebruik je NFS over TCP, is dat met opzet?

Ik heb gewoon de Suse-opzet laten gebeuren, en lezend in mount(1) 
krijg ik de indruk dat ze daar ook voor tcp pleiten i.v.m. 
reassembling van packets die bij udp nodig zou zijn.
-- 
Wybo

Al lid van de Nederlandstalige TeX Gebruikersgroep?
Meld je aan op: http://www.ntg.nl/lidmaatschap.html


-- Attached file included as plaintext by Ecartis --
-- File: fstab

/dev/hda1        /                 reiserfs acl,user_xattr        1 1 # 10
/dev/hda2        swap              swap     defaults              0 0 # 10
/dev/hda3        /data1            reiserfs defaults,noauto       1 2 # 10
#/dev/hda5       /data2            reiserfs defaults,noauto       1 2 # 10
/dev/hda6        /home             reiserfs defaults              1 2 # 10
/dev/hda7        /local            reiserfs defaults              1 2 # 10
/dev/sda1        /store            reiserfs defaults              1 2 # 10
/dev/sdb1        /stick            auto     defaults,user         0 0
proc             /proc             proc     defaults              0 0
sysfs            /sys              sysfs    noauto                0 0
debugfs          /sys/kernel/debug debugfs  noauto                0 0
usbfs            /proc/bus/usb     usbfs    noauto                0 0
devpts           /dev/pts          devpts   mode=0620,gid=5       0 0
/dev/fd0         /a                auto     noauto,user,sync      0 0
/dev/hdc         /dvd              auto     defaults,ro,user,exec 0 0
/store/texlive   /TeX              iso9660  loop                  0 0

pluto:/          /pluto            nfs      rsize=8192,wsize=8192,timeo=14,intr,noauto 0 0
pluto:/store     /plutos           nfs      rsize=8192,wsize=8192,timeo=14,intr,noauto 0 0
venus:/          /venus            nfs      rsize=8192,wsize=8192,timeo=14,intr,noauto 0 0
venus:/home      /venush           nfs      rsize=8192,wsize=8192,timeo=14,intr,noauto 0 0
venus:/local     /venusl           nfs      rsize=8192,wsize=8192,timeo=14,intr,noauto 0 0
venus:/store     /venuss           nfs      rsize=8192,wsize=8192,timeo=14,intr,noauto 0 0

-- Attached file included as plaintext by Ecartis --
-- File: iptables.diff3

====2
1:6a
3:6a
2:7c
  input_ext  all  --  anywhere             anywhere            
====2
1:23c
3:23c
  Chain input_ext (2 references)
2:24c
  Chain input_ext (3 references)
====1
1:24a
2:26c
3:25c
  ACCEPT     udp  --  anywhere             anywhere            PKTTYPE = broadcast udp dpt:ipp 
====
1:36,46c
  LOG        tcp  --  anywhere             anywhere            limit: avg 3/min burst 5 tcp dpt:4080 flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' 
  ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:4080 
  LOG        tcp  --  anywhere             anywhere            limit: avg 3/min burst 5 tcp dpt:http flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' 
  ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:http 
  LOG        tcp  --  anywhere             anywhere            limit: avg 3/min burst 5 tcp dpt:ssh flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' 
  ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh 
  ACCEPT     udp  --  anywhere             anywhere            udp dpt:tftp 
  LOG        udp  --  anywhere             anywhere            limit: avg 3/min burst 5 state NEW udp dpt:889 LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-RPC ' 
  ACCEPT     udp  --  anywhere             anywhere            udp dpt:889 
  LOG        tcp  --  anywhere             anywhere            limit: avg 3/min burst 5 state NEW tcp dpt:890 LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-RPC ' 
  ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:890 
2:38,42c
  ACCEPT     udp  --  anywhere             anywhere            udp dpt:ipp 
  LOG        udp  --  anywhere             anywhere            limit: avg 3/min burst 5 state NEW udp dpt:896 LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-RPC ' 
  ACCEPT     udp  --  anywhere             anywhere            udp dpt:896 
  LOG        tcp  --  anywhere             anywhere            limit: avg 3/min burst 5 state NEW tcp dpt:897 LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-RPC ' 
  ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:897 
3:37,44c
  LOG        tcp  --  anywhere             anywhere            limit: avg 3/min burst 5 tcp dpt:ssh flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' 
  ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh 
  ACCEPT     udp  --  anywhere             anywhere            udp dpt:ipp 
  ACCEPT     udp  --  anywhere             anywhere            udp dpt:tftp 
  LOG        udp  --  anywhere             anywhere            limit: avg 3/min burst 5 state NEW udp dpt:dctp LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-RPC ' 
  ACCEPT     udp  --  anywhere             anywhere            udp dpt:dctp 
  LOG        tcp  --  anywhere             anywhere            limit: avg 3/min burst 5 state NEW tcp dpt:vpps-via LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-RPC ' 
  ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:vpps-via 
====
1:55,58c
  LOG        udp  --  anywhere             anywhere            limit: avg 3/min burst 5 state NEW udp dpt:filenet-tms LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-RPC ' 
  ACCEPT     udp  --  anywhere             anywhere            udp dpt:filenet-tms 
  LOG        tcp  --  anywhere             anywhere            limit: avg 3/min burst 5 state NEW tcp dpt:35307 LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-RPC ' 
  ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:35307 
2:51,54c
  LOG        udp  --  anywhere             anywhere            limit: avg 3/min burst 5 state NEW udp dpt:mxxrlogin LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-RPC ' 
  ACCEPT     udp  --  anywhere             anywhere            udp dpt:mxxrlogin 
  LOG        tcp  --  anywhere             anywhere            limit: avg 3/min burst 5 state NEW tcp dpt:25113 LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-RPC ' 
  ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:25113 
3:53,56c
  LOG        udp  --  anywhere             anywhere            limit: avg 3/min burst 5 state NEW udp dpt:filenet-tms LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-RPC ' 
  ACCEPT     udp  --  anywhere             anywhere            udp dpt:filenet-tms 
  LOG        tcp  --  anywhere             anywhere            limit: avg 3/min burst 5 state NEW tcp dpt:51746 LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-RPC ' 
  ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:51746 

-- Attached file included as plaintext by Ecartis --
-- File: lsmod.diff3

====1
1:4c
  af_packet              19464  2 
2:4c
3:4c
  af_packet              19336  2 
====1
1:6,8c
  aic7xxx               147636  0 
  apparmor               48284  0 
  ata_piix               10244  0 
2:6c
3:6c
  apparmor               47004  0 
====1
1:10c
  binfmt_misc            10376  1 
2:7a
3:7a
====
1:12,14c
  cdrom                  32288  2 sr_mod,ide_cd
  crc_ccitt               2176  1 hisax
  dm_mod                 52200  0 
2:9,13c
  cdrom                  32416  1 ide_cd
  cpufreq_ondemand        5660  1 
  cpufreq_powersave       1792  0 
  cpufreq_userspace       3732  0 
  dm_mod                 52584  0 
3:9,12c
  cdrom                  32416  2 sr_mod,ide_cd
  dm_mod                 52584  0 
  e100                   32264  0 
  e1000                 102712  0 
====3
1:16c
2:15c
  ehci_hcd               26760  0 
3:13a
====2
1:17a
3:14a
2:17c
  ext3                  117384  1 
====
1:19,23c
  fat                    46492  1 vfat
  hisax                 386512  1 
  ide_cd                 35360  0 
  ide_core              115900  4 usb_storage,ide_cd,piix,ide_disk
  ide_disk               14976  5 
2:19,29c
  fat                    46620  1 vfat
  firmware_class          9856  2 pcmcia,ipw2100
  freq_table              4228  1 speedstep_centrino
  i2c_core               19728  1 i2c_i801
  i2c_i801                8076  0 
  i8xx_tco                6804  0 
  ide_cd                 35488  0 
  ide_core              116540  3 ide_cd,piix,ide_disk
  ide_disk               15104  4 
  ieee80211              28232  1 ipw2100
  ieee80211_crypt         5248  1 ieee80211
3:16,23c
  i2c_algo_bit            8200  1 i2c_i810
  i2c_core               19728  2 i2c_algo_bit,i2c_i801
  i2c_i801                8076  0 
  i2c_i810                4868  0 
  i8xx_tco                6804  0 
  ide_cd                 35488  0 
  ide_core              116540  3 ide_cd,piix,ide_disk
  ide_disk               15104  8 
====
1:32c
  ipt_LOG                 5632  19 
2:38c
  ipt_LOG                 5632  16 
3:32c
  ipt_LOG                 5632  17 
====
1:37,50c
  ipv6                  216832  26 ip6t_REJECT
  isdn                  119392  5 hisax
  libata                 65296  1 ata_piix
  lockd                  60136  3 nfsd,nfs
  loop                   14984  2 
  nfnetlink               6040  2 ip_nat,ip_conntrack
  nfs                   185708  2 
  nfs_acl                 3584  2 nfsd,nfs
  nfsd                  196752  9 
  nls_utf8                2048  1 
  osst                   46496  0 
  parport                31944  1 parport_pc
  parport_pc             34916  0 
  pci_hotplug            23988  1 shpchp
2:43,56c
  ipv6                  215808  31 ip6t_REJECT
  ipw2100                68144  0 
  jbd                    54944  1 ext3
  lockd                  60008  3 nfs,nfsd
  loop                   14728  2 
  mii                     5120  1 via_rhine
  nfnetlink               6168  2 ip_nat,ip_conntrack
  nfs                   186348  0 
  nfs_acl                 3584  2 nfs,nfsd
  nfsd                  196880  9 
  nls_utf8                2048  1 
  pci_hotplug            24372  1 shpchp
  pcmcia                 34492  0 
  pcmcia_core            37008  3 pcmcia,yenta_socket,rsrc_nonstatic
3:37,48c
  ipv6                  215808  21 ip6t_REJECT
  lockd                  60008  3 nfsd,nfs
  loop                   14728  0 
  mii                     5120  1 e100
  nfnetlink               6168  2 ip_nat,ip_conntrack
  nfs                   186348  0 
  nfs_acl                 3584  2 nfsd,nfs
  nfsd                  196880  9 
  osst                   46624  0 
  parport                32200  1 parport_pc
  parport_pc             34916  0 
  pci_hotplug            24372  1 shpchp
====
1:52,76c
  processor              22724  1 thermal
  raw                    39456  0 
  reiserfs              209664  4 
  scsi_mod              121992  9 sg,st,osst,sr_mod,usb_storage,aic7xxx,scsi_transport_spi,libata,sd_mod
  scsi_transport_spi     20736  1 aic7xxx
  sd_mod                 16144  2 
  sg                     30620  0 
  shpchp                 39104  0 
  slhc                    6272  1 isdn
  snd                    50692  8 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
  snd_ac97_bus            2176  1 snd_ac97_codec
  snd_ac97_codec         82848  1 snd_intel8x0
  snd_intel8x0           30108  0 
  snd_mixer_oss          16256  1 snd_pcm_oss
  snd_page_alloc          9608  2 snd_intel8x0,snd_pcm
  snd_pcm                79880  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
  snd_pcm_oss            42752  0 
  snd_seq                46960  0 
  snd_seq_device          7948  1 snd_seq
  snd_timer              20868  2 snd_seq,snd_pcm
  soundcore               8672  1 snd
  sr_mod                 14500  0 
  st                     34204  0 
  sunrpc                130620  11 nfsd,nfs,lockd,nfs_acl
  tg3                    88964  0 
2:58,75c
  processor              22592  2 speedstep_centrino,thermal
  reiserfs              210944  1 
  rsrc_nonstatic         12416  1 yenta_socket
  shpchp                 39488  0 
  snd                    51076  8 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
  snd_ac97_bus            2176  1 snd_ac97_codec
  snd_ac97_codec         82848  1 snd_intel8x0
  snd_intel8x0           30236  0 
  snd_mixer_oss          16512  1 snd_pcm_oss
  snd_page_alloc          9608  2 snd_intel8x0,snd_pcm
  snd_pcm                80136  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
  snd_pcm_oss            42752  0 
  snd_seq                47216  0 
  snd_seq_device          7948  1 snd_seq
  snd_timer              20868  2 snd_seq,snd_pcm
  soundcore               8672  1 snd
  speedstep_centrino      6736  0 
  sunrpc                130620  10 nfs,nfsd,lockd,nfs_acl
3:50,59c
  processor              22592  1 thermal
  raw                    39584  0 
  reiserfs              210944  4 
  scsi_mod              122120  5 sg,st,osst,sr_mod,sd_mod
  sd_mod                 16144  0 
  sg                     31004  0 
  shpchp                 39488  0 
  sr_mod                 14500  0 
  st                     34332  0 
  sunrpc                130620  11 nfsd,nfs,lockd,nfs_acl
====
1:79,84c
  usb_storage            69952  1 
  usbcore               108804  4 usb_storage,ehci_hcd,uhci_hcd
  vfat                   11648  0 
  x_tables               11524  10 xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tables
  xt_limit                2432  19 
  xt_pkttype              1792  3 
2:78,84c
  usbcore               109700  4 usbhid,ehci_hcd,uhci_hcd
  usbhid                 39392  0 
  vfat                   11648  0 
  via_rhine              20868  0 
  x_tables               11908  10 xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tables
  xt_limit                2432  16 
  xt_pkttype              1792  4 
3:62,66c
  usbcore               109700  3 usbhid,uhci_hcd
  usbhid                 39392  0 
  x_tables               11908  10 xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tables
  xt_limit                2432  17 
  xt_pkttype              1792  4 
====
1:86c
  xt_tcpudp               3072  26 
2:86,87c
  xt_tcpudp               3072  21 
  yenta_socket           23692  1 
3:68c
  xt_tcpudp               3072  24 




More information about the Linux mailing list