You are not logged in.

#1 2011-02-15 00:39:09

slackcub
Member
Registered: 2009-03-14
Posts: 144

[Solved]mount.nfs: Argument list too long with one mount, but not with

I am having an issue with NFS at the moment.  This is my situation:

my /etc/exports:

# /etc/exports
#
# List of directories exported to NFS clients.  See exports(5).
# Use exportfs -arv to reread.
#
# Example for NFSv2 and NFSv3:
#  /srv/home       hostname1(rw,sync) hostname2(ro,sync)
#
# Example for NFSv4:
#  /srv/nfs4       hostname1(rw,sync,fsid=0)
#  /srv/nfs4/home   hostname1(rw,sync,nohide)
# Using Kerberos and integrity checking:
#  /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt)
#  /srv/nfs4/home   gss/krb5i(rw,sync,nohide)
#
/home/user/media/ 192.168.1.1/24(rw,sync)
/home/user/Documents/Development/ 192.168.1.1/24(rw,sync)

and my /etc/fstab on the client side:

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0
192.168.1.103:/home/user/Documents/Development  /home/user/Development  nfs user,auto    0 2
192.168.1.103:/home/user/media  /home/user/media  nfs user,auto    0 2
.
.
.
.

When I mount /home/user/media it works just fine, but when I mount Development, I get a mount.nfs: Argument list too long error.  Anyone have any ideas what could be going wrong here?

David
slackcub@gmail.com

Last edited by slackcub (2011-02-15 01:06:20)

Offline

#2 2011-02-15 01:05:25

slackcub
Member
Registered: 2009-03-14
Posts: 144

Re: [Solved]mount.nfs: Argument list too long with one mount, but not with

I suppose I should have thought about this a little more before posting!  The problem was that /home/user/Documents/Development on the server is a link to another directory.  I changed /etc/exports to point at the other directory (the one the link pointed to) and /etc/fstab accordingly and it works now.

Offline

Board footer

Powered by FluxBB