You are not logged in.

#1 2013-10-23 12:58:22

Clouseau
Member
Registered: 2010-12-24
Posts: 112

mount -t nfs4 is not functioning

Hi,

https://wiki.archlinux.org/index.php/Nf … from_Linux

I followed the guide but mount -t nfs4 doesn't work. What works is mount -t nfs. Do I need something else installed, or some module loaded? Also, does someone know how to see which protocol I'm using?

Tnx

Last edited by Clouseau (2013-10-23 12:58:55)

Offline

#2 2013-10-23 15:11:38

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: mount -t nfs4 is not functioning

EDIT: bad advice.  See the man page for mount to see that indeed nfs4 is valid:

      -t, --types vfstype
              The  argument  following  the -t is used to indicate the filesystem type.  The filesystem types which are cur‐
              rently supported include: adfs, affs, autofs, cifs, coda, coherent, cramfs, debugfs, devpts, efs,  ext,  ext2,
              ext3,  ext4,  hfs, hfsplus, hpfs, iso9660, jfs, minix, msdos, ncpfs, nfs, nfs4, ntfs, proc, qnx4, ramfs, reis‐
              erfs, romfs, squashfs, smbfs, sysv, tmpfs, ubifs, udf, ufs, umsdos, usbfs, vfat, xenix, xfs, xiafs.  Note that
              coherent,  sysv  and  xenix  are  equivalent  and that xenix and coherent will be removed at some point in the
              future — use sysv instead. Since kernel version 2.1.21 the types ext and xiafs do not exist anymore.  Earlier,
              usbfs was known as usbdevfs.  Note, the real list of all supported filesystems depends on your kernel.

Last edited by graysky (2013-10-23 15:13:53)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2013-10-23 15:23:03

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: mount -t nfs4 is not functioning

If type nfs4 doesn't work but type nfs does, it means the share is nfs2/3 rather than nfs4.

When the share is mounted, the output of mount will let you know the type. I don't know of any command that will explicitly indicate the type of each share, even when run on the server itself.

Last edited by alphaniner (2013-10-23 15:27:42)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#4 2013-10-24 09:22:12

Clouseau
Member
Registered: 2010-12-24
Posts: 112

Re: mount -t nfs4 is not functioning

Blah, sry guys, I've misinterpreted the root part in exports file. It works now. You can mark this solved and closed.

Offline

Board footer

Powered by FluxBB