SliTaz SliTaz Forum

You are not logged in.

#1 2018-10-23 05:03:41

spo
Member
Registered: 2018-10-23
Posts: 1

mount.nfs: No such device

Hi all,

I'm trying to mount a nfs share from a server to the live CD and I get the above error.

However showmount -e does show all the available exports.

Mounting the share from another Debian workstation is working fine.

I have followed the NFS section of the handbook and nfsd is running. Here is the output of lsmod  |grep nfs

nfsd                  204843  11

auth_rpcgss            38460  1 nfsd

nfs_acl                 1999  1 nfsd

lockd                  54189  1 nfsd

sunrpc                157796  14 nfsd,auth_rpcgss,lockd,nfs_acl

Any help would be much appreciated.

Thanks,

Stephane

Offline

#2 2018-10-23 17:26:47

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: mount.nfs: No such device

If you want help you must provide specific version and md5sum of the iso your having problems with.

Use mount with -v switch for verbose error output.

Provide terminal commands and verbose error messages.

Dmesg and /var/log/messages sometimes will provide valuable troubleshooting info as well.

I only use 5.0 32-bit rolling core version.

Slitaz 5.0 nfs client mounts to nfs-server as expected.

Test iso I burned to cdrw and booted on generic desktop:

58fa91b09ae066ac3b0827509f8eeca8  slitaz-rolling-core.iso

Command [c]slitaz[/c] provides info on running slitaz:

[c]root@slitaz:/home/tux# slitaz[/c]

[c]SliTaz GNU/Linux[/c]

[c]===============================================================[/c][c]=================[/c]

[c]Release      : 5.0[/c]

[c]Architecture : i486[/c]

[c]Kernel       : 3.16.55-slitaz[/c]

[c]Machine type : i686[/c]

[c]Home path    : /home/slitaz[/c]

[c]Configs      : /etc/slitaz[/c]

[c]Main config  : /etc/slitaz/slitaz.conf[/c]

[c]Log files    : /var/log/slitaz[/c]

[c]Packages DB  : /var/lib/tazpkg[/c]

[c]Installed    : 283 packages[/c]

[c]Mirror       : http://mirror1.slitaz.org/packages/cooking/[/c]

[c]System date  : Tue Oct 23 13:13:21 EDT 2018[/c]

[c]--------------[/c]

[c]Boot options : BOOT_IMAGE=/boot/bzImage initrd=/boot/rootfs.gz rw root=/dev/null video=-32 autologin lang=en_US kmap=us tz=America/New_York[/c]

[c]===============================================================[/c][c]=================[/c]

Nfs-utils must be installed for slitaz to function as nfs-client:

root@slitaz:/home/tux# tazpkg -gi nfs-utils

nfs-utils-1.3.0.tazp 100% |*******************************|   114k  0:00:00 ETA

Tracking dependencies for package "nfs-utils"

================================================================================

Missing package "libtirpc"

Missing package "libwrap"

Missing package "rpcbind"

Missing package "linux-nfsd"

================================================================================

4 missing packages to install.

libtirpc-0.2.1.tazpk 100% |*******************************| 45964   0:00:00 ETA

Installation of package "libtirpc"

================================================================================

Transport-Independent RPC library.

--------------------------------------------------------------------------------

Copying package...                                                   [ Done ]

Extracting package...                                                [ Done ]

Remember modified packages...                                        [ Done ]

Installing package...                                                [ Done ]

Removing all tmp files...                                            [ Done ]

================================================================================

Package "libtirpc" (0.2.1) is installed.

libwrap-7.6.tazpkg   100% |*******************************| 12600   0:00:00 ETA

Installation of package "libwrap"

================================================================================

Wietse Venema's network logger.

--------------------------------------------------------------------------------

Copying package...                                                   [ Done ]

Extracting package...                                                [ Done ]

Remember modified packages...                                        [ Done ]

Installing package...                                                [ Done ]

Removing all tmp files...                                            [ Done ]

================================================================================

Package "libwrap" (7.6) is installed.

rpcbind-0.2.0.tazpkg 100% |*******************************| 22808   0:00:00 ETA

Installation of package "rpcbind"

================================================================================

RPC program numbers to universal addresses converter.

--------------------------------------------------------------------------------

Copying package...                                                   [ Done ]

Extracting package...                                                [ Done ]

Remember modified packages...                                        [ Done ]

Installing package...                                                [ Done ]

Removing all tmp files...                                            [ Done ]

================================================================================

Package "rpcbind" (0.2.0) is installed.

linux-nfsd-3.16.55.t 100% |*******************************| 36980   0:00:00 ETA

Installation of package "linux-nfsd"

================================================================================

The Linux kernel NFS server module.

--------------------------------------------------------------------------------

Copying package...                                                   [ Done ]

Extracting package...                                                [ Done ]

Remember modified packages...                                        [ Done ]

Saving configuration files...                                        [ Done ]

Installing package...                                                [ Done ]

Removing all tmp files...                                            [ Done ]

Execute post-install commands...                                     [ Done ]

Update system databases...                                           [ Done ]

================================================================================

Package "linux-nfsd" (3.16.55) is installed.

Installation of package "nfs-utils"

================================================================================

Network FileSystem tools.

--------------------------------------------------------------------------------

Copying package...                                                   [ Done ]

Extracting package...                                                [ Done ]

Remember modified packages...                                        [ Done ]

Saving configuration files...                                        [ Done ]

Installing package...                                                [ Done ]

Removing all tmp files...                                            [ Done ]

Execute post-install commands...                                     [ Done ]

================================================================================

Package "nfs-utils" (1.3.0) is installed.

Slitaz is @ 192.168.1.2, another computer @ 192.168.1.3 running a nfs-server exports it's  /

From slitaz I mount the computer @192.168.1.3 / to /home/tux/Music with -v for VERBOSE

[c]root@slitaz:/home/tux# mount -v 192.168.1.3:/ Music/[/c]

[c]mount.nfs: timeout set for Tue Oct 23 13:14:36 2018[/c]

[c]mount.nfs: trying text-based options 'vers=4,addr=192.168.1.3,clientaddr=192.168.1.2'[/c]

[c]192.168.1.3:/ on /home/tux/Music type nfs (rw)[/c]

[c]root@slitaz:/home/tux# mount | grep nfs[/c]

[c]192.168.1.3:/ on /home/tux/Music type nfs4 (rw,relatime,vers=4.0,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.2,local_lock=none,addr=192.168.1.3)[/c]

On slitaz @ 192.168.1.2 list mounted filesystem from computer @ 192.168.1.3

[c]root@slitaz:/home/tux# ls Music[/c]

[c]bin                                    misc[/c]

[c]boot                                   mnt[/c]

[c]cifs                                   net[/c]

[c]data.tar.gz                            opt[/c]

[c]debian                                 proc[/c]

[c]debian-archive-keyring_2014.3_all.deb  root[/c]

[c]dev                                    run[/c]

[c]etc                                    sbin[/c]

[c]export                                 Shared[/c]

[c]home                                   Storage[/c]

[c]lib                                    swapfile[/c]

[c]lib32                                  sys[/c]

[c]lib64                                  tmp[/c]

[c]lost+found                             usr[/c]

[c]lubuntu                                var[/c]

[c]media                                  wpa_supplicant.conf[/c]

[c]MegaVault[/c]

Offline

#3 2021-12-06 05:52:05

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

Re: mount.nfs: No such device

Problem persists with SliTaz 5.0 rolling 64 bit (3.16.55).

While the 32 bit flavour has kernel builtin modules nfs, nfsv2, nfsv3 and nfsv4, all of these are

missing in the 64 bit flavour.

So kernel module nfsd can be loaded, but none of the above listed modules.

Is that the reason why mount.nfs fails with "no such device"?

Offline

#4 2021-12-08 05:45:07

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

Re: mount.nfs: No such device

Since Pascal Bellard modified the 64 bit kernel configuration on 2021-12-06, nfs modules are included in the 64 bit kernel and

mount.nfs works properly.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]