OpenSuSE 13.1 -- nfs client only mounts first entry in fstab

I can only seem to get my 13.1 nfs clients to mount the first NFS entry in my fstab file. 12.3 clients are working fine…

rpc bind is running, firewall is disabled on all clients, chkconfig shows nfs enabled. The new Services Manager shows that
nfs and rpcbind are Enabled and active on the 13.1 client and nfsV4 is disabled on the server and client systems.

client fstab:
host:/usr/local/muse /usr/local/muse nfs rsize=8192,wsize=8192 0 0
host:/usr/local/LINUX_FILES /usr/local/LINUX_FILES nfs rsize=8192,wsize=8192 0 0
host:/usr/local/3rdparty /usr/local/3rdparty nfs rsize=8192,wsize=8192 0 0

server exports:
/usr/local/muse *.compro.net(rw,no_subtree_check,no_root_squash,sync)
/usr/local/LINUX_FILES *.compro.net(rw,no_subtree_check,no_root_squash,sync)
/usr/local/3rdparty *.compro.net(rw,no_subtree_check,no_root_squash,sync)

Info from the services manager on client:
nfs.service - LSB: NFS client services Loaded: loaded (/etc/init.d/nfs) Drop-In: /run/systemd/generator/nfs.service.d -50-insserv.conf-$remote_fs.conf Active: active (running) since Mon 2014-01-20 16:33:42 EST; 16min ago Process: 8883 ExecStop=/etc/init.d/nfs stop (code=exited, status=0/SUCCESS) Process: 8918 ExecStart=/etc/init.d/nfs start (code=exited, status=0/SUCCESS) CGroup: /system.slice/nfs.service -8948 /usr/sbin/rpc.gssd -D -p /var/lib/nfs/rpc_pipefs
Jan 20 16:33:41 otw-l systemd[1]: Starting LSB: NFS client services… Jan 20 16:33:42 otw-l nfs[8918]: Starting NFS client services: sm-notify gssd/etc/init.d/nfs: line 225: /run/nfs/nfs-rpc.gssd: No such file or directory Jan 20 16:33:42 otw-l nfs[8918]: …done Jan 20 16:33:42 otw-l systemd[1]: Started LSB: NFS client services.

rpcbind.service - RPC Bind
Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; enabled)
Active: active (running) since Mon 2014-01-20 16:13:35 EST; 37min ago
Main PID: 615 (rpcbind)
CGroup: /system.slice/rpcbind.service
`-615 /sbin/rpcbind -w -f

Jan 20 16:13:35 otw-l systemd[1]: Starting RPC Bind…
Jan 20 16:13:35 otw-l systemd[1]: Started RPC Bind.

Any help would be appreciated…

Thank you,

Curtis Rubel

Please, please. To make your post with computer text readable, copy/paste that computer text between CODE tags. you get the CODE tags by clicking on the # button in the tool bar og the post editor.

crubel wrote:
> I can only seem to get my 13.1 nfs clients to mount the first NFS entry
> in my fstab file. 12.3 clients are working fine…

Are you running NFS V3 or V4 connections between each of these machines?

I turned off NFSv4 to see if that might be the problem, so right now v4 is not even enabled on the nvs server system.

Reposting the data from my original post per the reply to my thread.
My apologies…I am new to posting in the forum.


client fstab:
host:/usr/local/muse                 /usr/local/muse             nfs     rsize=8192,wsize=8192 0 0 
host:/usr/local/LINUX_FILES     /usr/local/LINUX_FILES  nfs     rsize=8192,wsize=8192 0 0 
host:/usr/local/3rdparty            /usr/local/3rdparty           nfs     rsize=8192,wsize=8192 0 0 

server exports:
/usr/local/muse              *.compro.net(rw,no_subtree_check,no_root_squash,sync)
/usr/local/LINUX_FILES  *.compro.net(rw,no_subtree_check,no_root_squash,sync)
/usr/local/3rdparty          *.compro.net(rw,no_subtree_check,no_root_squash,sync)

Info from the services manager on client:
 nfs.service - LSB: NFS client services    Loaded: loaded  (/etc/init.d/nfs)   Drop-In: /run/systemd/generator/nfs.service.d             `-50-insserv.conf-$remote_fs.conf    Active: active (running) since  Mon 2014-01-20 16:33:42 EST; 16min ago   Process: 8883  ExecStop=/etc/init.d/nfs stop (code=exited, status=0/SUCCESS)   Process:  8918 ExecStart=/etc/init.d/nfs start (code=exited, status=0/SUCCESS)     CGroup: /system.slice/nfs.service            `-8948 /usr/sbin/rpc.gssd  -D -p /var/lib/nfs/rpc_pipefs 
Jan 20 16:33:41 otw-l systemd[1]: Starting LSB: NFS client services...  Jan 20 16:33:42 otw-l nfs[8918]: Starting NFS client services: sm-notify  gssd/etc/init.d/nfs: line 225: /run/nfs/nfs-rpc.gssd: No such file or  directory Jan 20 16:33:42 otw-l nfs[8918]: ..done Jan 20 16:33:42 otw-l  systemd[1]: Started LSB: NFS client services.

rpcbind.service - RPC Bind
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; enabled)
   Active: active (running) since Mon 2014-01-20 16:13:35 EST; 37min ago
 Main PID: 615 (rpcbind)
   CGroup: /system.slice/rpcbind.service
           `-615 /sbin/rpcbind -w -f


Jan 20 16:13:35 otw-l systemd[1]: Starting RPC Bind...
Jan 20 16:13:35 otw-l systemd[1]: Started RPC Bind.


That is already much better readable. But we prefer that you include the prompt, the command, the output and the next prompt. And lines like

client fstab:

arre most probably not part of the compter text, so they do not belong there. How can we assess the computer text when you change things there. And the more while you do not tell you changed things (which is understandable when there is e.g. a password in a listiing).

We aqre relay non-believers of story telling. We believe computer facts (as long as they are not tinkered with).

OK in this case since we are talking about a client computer and a server computer, Its important that everyone know where
that particular data came from, so if I cannot put it in there where does it go?

Do I put it in the main part of the post and add separate code sections under each of those lines, like this:

client fstab – relevant lines posted:


otw-l:/etc # cat fstab
host:/usr/local/muse    /usr/local/muse nfs     rsize=8192,wsize=8192 0 0 
host:/usr/local/LINUX_FILES     /usr/local/LINUX_FILES  nfs     rsize=8192,wsize=8192 0 0 
host:/usr/local/3rdparty        /usr/local/3rdparty     nfs     rsize=8192,wsize=8192 0 0 

server exports file:


ios:/etc # cat exports
/usr/local/muse *.compro.net(rw,no_subtree_check,no_root_squash,sync)
/usr/local/LINUX_FILES  *.compro.net(rw,no_subtree_check,no_root_squash,sync)
/usr/local/3rdparty     *.compro.net(rw,no_subtree_check,no_root_squash,sync)

Output from systemd status for nfsserver service:


ios:/etc # systemctl status nfsserver.service
nfsserver.service - LSB: Start the kernel based NFS daemon
   Loaded: loaded (/etc/init.d/nfsserver)
   Active: active (running) since Mon 2014-01-20 21:11:49 CET; 17h ago
   CGroup: /system.slice/nfsserver.service
           |- 1908 /usr/sbin/rpc.idmapd -p /var/lib/nfs/rpc_pipefs
           |-20012 /usr/sbin/rpc.mountd --no-nfs-version 4
           `-20015 /usr/sbin/rpc.statd --no-notify

Jan 21 14:15:19 ios rpc.mountd[20012]: authenticated mount request from otw-l.compro.net:907 for /usr/local/muse (/usr/local/muse)
Jan 21 14:15:19 ios rpc.mountd[20012]: authenticated mount request from otw-l.compro.net:1022 for /usr/local/LINUX_FILES (/usr/local/LINUX_FILES)
Jan 21 14:15:19 ios rpc.mountd[20012]: authenticated mount request from otw-l.compro.net:944 for /usr/local/3rdparty (/usr/local/3rdparty)

Output from nfs client nfs.service status:


otw-l:/etc # systemctl status nfs.service
nfs.service - LSB: NFS client services
   Loaded: loaded (/etc/init.d/nfs)
  Drop-In: /run/systemd/generator/nfs.service.d
           `-50-insserv.conf-$remote_fs.conf
   Active: active (running) since Mon 2014-01-20 22:33:42 CET; 15h ago
   CGroup: /system.slice/nfs.service
           `-8948 /usr/sbin/rpc.gssd -D -p /var/lib/nfs/rpc_pipefs

Jan 20 22:33:41 otw-l systemd[1]: Starting LSB: NFS client services...
Jan 20 22:33:42 otw-l nfs[8918]: Starting NFS client services: sm-notify gssd/etc/init.d/nfs: line 225: /run/nfs/nfs-rpc.gssd: No such file or directory
Jan 20 22:33:42 otw-l nfs[8918]: ..done
Jan 20 22:33:42 otw-l systemd[1]: Started LSB: NFS client services.

Output from client rpcbind.service:


otw-l:/etc # systemctl status rpcbind.service
rpcbind.service - RPC Bind
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; enabled)
   Active: active (running) since Mon 2014-01-20 22:13:35 CET; 15h ago
 Main PID: 615 (rpcbind)
   CGroup: /system.slice/rpcbind.service
           `-615 /sbin/rpcbind -w -f

Jan 20 22:13:35 otw-l systemd[1]: Starting RPC Bind...
Jan 20 22:13:35 otw-l systemd[1]: Started RPC Bind.

Thank you…

Just saying once that ios is the server and otw-l is the client should be enough.
That is why we ask you to include the prompts.

OK after doing some more checking, it appears that the NFS mounts area actually there. The linux command df is just NOT showing them as mounted.
If I use df -a I get a good listing – relevant lines post for clearity.


otw-l:/usr/local/3rdparty # df -a
Filesystem                  1K-blocks     Used Available Use% Mounted on
rootfs                      173232952 12353648 159806952   8% /
/dev/sda3                   173232952 12353648 159806952   8% /
/dev/sda1                     1035084    45272    920848   5% /boot
host:/usr/local/muse        110218240 32838656  76355584  31% /usr/local/muse
host:/usr/local/LINUX_FILES 110218240 32838656  76355584  31% /usr/local/LINUX_FILES
host:/usr/local/3rdparty    110218240 32838656  76355584  31% /usr/local/3rdparty

At any rate it appears NFS is working just the df command with no options only shows one nfs mount for some reason…

Thank you…

crubel wrote:
> Reposting the data from my original post per the reply to my thread.
> My apologies…I am new to posting in the forum.

Not a criticism but you haven’t shown us what is mounted. Also, I’d
suggest trying to manually mount the problematic exports and see what is
reported. So I’d like to see the output of

mount

mount -v /usr/local/LINUX_FILES

mount -v /usr/local/3rdparty

I’m beginning to wonder how you configured the whole thing. When I add a mountpoint in the client, fstab looks like this:


10.11.12.100:/disk/Muzickx      /Data/Extra/Mount       nfs     defaults 0 0

on the server, /etc/exports


/disk/Muzickx   *(rw,root_squash,sync,no_subtree_check)

I had just tried that when you were replying I guess. This is when I discovered that the nfs mounts where being reported as
already being mounted. Sure enough when I cd into the dirs the data was there. So seems the df command or whatever data
its using to report the listing has some sort of issue.

Thank you…

Curtis

crubel wrote:
> OK in this case since we are talking about a client computer and a
> server computer, Its important that everyone know where
> that particular data came from, so if I cannot put it in there where
> does it go?

Good point. Don’t fret about Henk, he’s just trying to help you state
the problem clearly, which I think you have done.

I am not quite sure what you mean. The only difference between yours and mine appears to be a few nfs options are set in mine and you are using just the default settings, which do not work well for us here. I did try the default options though just to be sure it was nothing to do with our specific nfs options.

Thank you,
Curtis

No problem, I do want to make sure that I am clear, so I appreciate the
input. Next time I have a problem I will have a better understanding now of
what and how to post the data.

Thank you,
Curtis

Next time, please report what you are doiing, what you expect to happen and what happened instead. Do not jump to conclusions.

Often only the fact that one presses oneself into formulating ones problem with the approprite computer evidence, often leads to understanding the problem (and often seeing the solution).

When you would have started to show your df output anf told us you expected NFS mounted file systems there (which you then would have showed us by using mount as being present), we probably would have started studying your problem instead of thin air.

BTW I can not realy find in the df man page that NFS is not included by default, I can see a case for it. You export a directory (not nesseceraly being a file system mount point). I guess that what often is reported are the numbers (size, etc.) of the file system the exported directory is part of. More something to worry over by the manager of the server system.

Yes I understand now the more information I report the better
I appreciate all your input as it will help me with any future postings.

From the info data on the df command it reports that by default with
no command line options, ALL mounted filesystems should be reported as
show below.


ios:~# info coreutils 'df invocation'
File: coreutils.info,  Node: df invocation,  Next: du invocation,  Up: Disk usage

14.1 `df': Report file system disk space usage
==============================================

`df' reports the amount of disk space used and available on file
systems.  Synopsis:

     df [OPTION]... [FILE]...

   With no arguments, `df' reports the space used and available on all
currently mounted file systems (of all types).  Otherwise, `df' reports
on the file system containing each argument FILE.
.....

crubel wrote:
> hcvv;2618098 Wrote:
>> BTW I can not realy find in the df man page that NFS is not included by
>> default, I can see a case for it. You export a directory (not
>> nesseceraly being a file system mount point). I guess that what often is
>> reported are the numbers (size, etc.) of the file system the exported
>> directory is part of. More something to worry over by the manager of the
>> server system.
>
> From the info data on the df command it reports that by default with
> no command line options, ALL mounted filesystems should be reported as
> show below.

Yes, df does report NFS mounts by default, so there’s something
strange on your system(s). Which machine or machines has this problem?

I can confirm this. On a 13.1 (installed this morning) that has an NFS mount, I do get a line in the df output for the NFS mount.

I also think that we should try to find out why (this is your real problem :wink: )

I get my locally mounted filesystems and one line of nfs mounted output instead of the three that are really there
when I run df with no arguments.


amx@otw-l:~> df
Filesystem          1K-blocks     Used Available Use% Mounted on
/dev/sda3           173232952 12573544 159587056   8% /
devtmpfs              4049740       32   4049708   1% /dev
tmpfs                 4095336       76   4095260   1% /dev/shm
tmpfs                 4095336     5856   4089480   1% /run
tmpfs                 4095336        0   4095336   0% /sys/fs/cgroup
tmpfs                 4095336     5856   4089480   1% /var/run
tmpfs                 4095336     5856   4089480   1% /var/lock
/dev/sda1             1035084    45272    920848   5% /boot
host:/usr/local/bin 110217536 33929792  75263576  32% /usr/local/bin

df -a reports all mounted filesystems including ALL the nfs mounted ones.


amx@otw-l:~> df -a
Filesystem                  1K-blocks     Used Available Use% Mounted on
rootfs                      173232952 12573544 159587056   8% /
devtmpfs                      4049740       32   4049708   1% /dev
tmpfs                         4095336       76   4095260   1% /dev/shm
tmpfs                         4095336     5856   4089480   1% /run
devpts                              0        0         0    - /dev/pts
/dev/sda3                   173232952 12573544 159587056   8% /
proc                                0        0         0    - /proc
sysfs                               0        0         0    - /sys
securityfs                          0        0         0    - /sys/kernel/security
tmpfs                         4095336        0   4095336   0% /sys/fs/cgroup
cgroup                              0        0         0    - /sys/fs/cgroup/systemd
pstore                              0        0         0    - /sys/fs/pstore
cgroup                              0        0         0    - /sys/fs/cgroup/cpuset
cgroup                              0        0         0    - /sys/fs/cgroup/cpu,cpuacct
cgroup                              0        0         0    - /sys/fs/cgroup/memory
cgroup                              0        0         0    - /sys/fs/cgroup/devices
cgroup                              0        0         0    - /sys/fs/cgroup/freezer
cgroup                              0        0         0    - /sys/fs/cgroup/net_cls
cgroup                              0        0         0    - /sys/fs/cgroup/blkio
cgroup                              0        0         0    - /sys/fs/cgroup/perf_event
cgroup                              0        0         0    - /sys/fs/cgroup/hugetlb
systemd-1                           0        0         0    - /proc/sys/fs/binfmt_misc
mqueue                              0        0         0    - /dev/mqueue
hugetlbfs                           0        0         0    - /dev/hugepages
debugfs                             0        0         0    - /sys/kernel/debug
tmpfs                         4095336     5856   4089480   1% /var/run
tmpfs                         4095336     5856   4089480   1% /var/lock
/dev/sda1                     1035084    45272    920848   5% /boot
fusectl                             0        0         0    - /sys/fs/fuse/connections
gvfsd-fuse                          0        0         0    - /run/user/1000/gvfs
gvfsd-fuse                          0        0         0    - /var/run/user/1000/gvfs
rpc_pipefs                          0        0         0    - /var/lib/nfs/rpc_pipefs
binfmt_misc                         0        0         0    - /proc/sys/fs/binfmt_misc
host:/usr/local/muse        110217536 33929800  75263576  32% /usr/local/muse
host:/usr/local/LINUX_FILES 110217536 33929800  75263576  32% /usr/local/LINUX_FILES
host:/usr/local/3rdparty    110217536 33929800  75263576  32% /usr/local/3rdparty

df mountpoint
reports the correct data for each mountpoint when input each nfs mount as the mountpoint.


amx@otw-l:~> df /usr/local/3rdparty 
Filesystem               1K-blocks     Used Available Use% Mounted on
host:/usr/local/3rdparty 110217536 33929992  75263384  32% /usr/local/3rdparty
amx@otw-l:~> df /usr/local/muse    
Filesystem           1K-blocks     Used Available Use% Mounted on
host:/usr/local/muse 110217536 33929992  75263376  32% /usr/local/muse