All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julius <julius.junghans@gmx.de>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: linux-nfs@vger.kernel.org
Subject: Re: root over nfs, error -93
Date: Sun, 01 Jun 2008 10:22:11 +0200	[thread overview]
Message-ID: <1212308531.19000.2.camel@wf> (raw)
In-Reply-To: <1212019497.7544.4.camel@localhost>

On Wed, 2008-05-28 at 17:04 -0700, Trond Myklebust wrote:
> On Wed, 2008-05-28 at 23:17 +0200, Julius wrote:
> > Hi,
> > 
> > 
> > im trying to get a client boot from my server via nfs. but it fails
> > with:
> > 
> > Root-NFS: Server returned error -93 while
> > mounting /nfs-exports/pxeclient
> > 
> > the client uses a vanilla 2.6.24.7 kernel with these settings:
> > <*>   NFS file system support 
> >  [*]     Provide NFSv3 client support 
> >  [*]       Provide client support for the NFSv3 ACL protocol extension 
> >  [*]   Root file system on NFS
> >  [*]   Support for rpcbind versions 3 & 4 (EXPERIMENTAL)
> > 
> > 
> > full config:
> > http://metalfan2.me.funpic.de/.config
> > 
> > 
> > kernel append line:
> > append root=/dev/nfs nfsroot=192.168.11.3:/nfs-exports/pxeclient ip=dhcp
> > 
> > 
> > the system successfully boots the kernel via syslinux and requests its
> > ip via dhcp
> > 
> > 
> > server:
> > rpcinfo -p localhost
> >    program vers proto   port
> >     100000    2   tcp    111  portmapper
> >     100000    2   udp    111  portmapper
> >     100024    1   udp  54039  status
> >     100024    1   tcp  57693  status
> >     100005    3   udp  48497  mountd
> >     100005    3   tcp  34406  mountd
> >     100003    2   udp   2049  nfs
> >     100003    3   udp   2049  nfs
> >     100003    4   udp   2049  nfs
> >     100021    1   udp  47061  nlockmgr
> >     100021    3   udp  47061  nlockmgr
> >     100021    4   udp  47061  nlockmgr
> >     100003    2   tcp   2049  nfs
> >     100003    3   tcp   2049  nfs
> >     100003    4   tcp   2049  nfs
> >     100021    1   tcp  54896  nlockmgr
> >     100021    3   tcp  54896  nlockmgr
> >     100021    4   tcp  54896  nlockmgr
> > 
> > nfs-utils-1.1.0
> > 
> > 
> > 
> > Any ideas whats wrong?
> 
> I believe that the default is to try mounting NFSv2, unless you
> explicitly add the 'v3' option. Try something like
> 
> append root=/dev/nfs nfsroot=192.168.11.3:/nfs-exports/pxeclient,v3 ip=dhcp
> 
> 
> Cheers
>   Trond

Got it running, finally. Thx to all, saved me a lot of trouble.
Ive changed the machine that serves the nfs-root and some other small
adjustments.
Turotrial will be available here:
http://wiki.archlinux.org/index.php/Diskless_network_boot_NFS_root


      parent reply	other threads:[~2008-06-01  8:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-28 21:17 root over nfs, error -93 Julius
2008-05-28 21:31 ` david m. richter
2008-05-28 22:24   ` Julius
2008-05-28 22:23 ` Chuck Lever
2008-05-29  0:04 ` Trond Myklebust
2008-05-29 10:01   ` Julius
2008-06-01  8:22   ` Julius [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1212308531.19000.2.camel@wf \
    --to=julius.junghans@gmx.de \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trond.myklebust@fys.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.