[Bug 1216853] Re: During PXE booting failed to mount nfs directory

Daniel Manrique daniel.manrique at canonical.com
Mon Aug 26 15:22:56 UTC 2013


Here are steps to reproduce:

1- Install a server with nfs-kernel-server package, and configure it to export an easy-to-type directory over nfs (I used /etc).
2- Prepare a USB stick with a 12.04.3 desktop image.
3- Boot the USB stick, select "try without installing", then press F6 to add a kernel parameter
4- Add "break=mount" (I put it just after boot=casper)
5- Once the system boots, assign a suitable IP with ifconfig eth0 <whatever>
6- nfsmount <your-server-ip>:/etc /tmp

Expected result (this is what I got on a 12.04.2 system booted the same way, as a control):
- No output on the command line
- Typing "mount" afterwards should show the NFS-mounted directory

Actual result (on 12.04.3):
- mount: Protocol not supported

I set my server to detailed NFS logging (-d all for rpc.mountd), its
logs show this:

-------------- This is the 12.04.3 system that fails -----------------
Aug 26 11:11:43 201103-7376 rpc.mountd[31122]: from_local: updating local if addr list
Aug 26 11:11:43 201103-7376 rpc.mountd[31122]: from_local: checked 8 local if addrs; incoming address not found
Aug 26 11:11:43 201103-7376 rpc.mountd[31122]: check_default: access by 10.153.104.248 ALLOWED
Aug 26 11:11:43 201103-7376 rpc.mountd[31122]: Received MNT3(/etc) request from 10.153.104.248
Aug 26 11:11:43 201103-7376 rpc.mountd[31122]: authenticated mount request from 10.153.104.248:897 for /etc (/etc)
Aug 26 11:11:43 201103-7376 rpc.mountd[31122]: check_default: access by 10.153.104.248 ALLOWED (cached)
Aug 26 11:11:43 201103-7376 rpc.mountd[31122]: Received UMNT(/tmp) request from 10.153.104.248
Aug 26 11:11:43 201103-7376 rpc.mountd[31122]: refused unmount request from 10.153.104.248 for /tmp (/): not exported

------------------- This is the 12.04.2 system that works --------------
Aug 26 11:15:40 201103-7376 rpc.mountd[31122]: from_local: updating local if addr list
Aug 26 11:15:40 201103-7376 rpc.mountd[31122]: from_local: checked 8 local if addrs; incoming address not found
Aug 26 11:15:40 201103-7376 rpc.mountd[31122]: check_default: access by 10.153.104.247 ALLOWED
Aug 26 11:15:40 201103-7376 rpc.mountd[31122]: Received MNT3(/etc) request from 10.153.104.247
Aug 26 11:15:40 201103-7376 rpc.mountd[31122]: authenticated mount request from 10.153.104.247:905 for /etc (/etc)
Aug 26 11:15:40 201103-7376 rpc.mountd[31122]: nfsd_fh: inbuf '* 7 \x0100c6000000000024f8ffd3898a4663926eb8686acb4e6f'
Aug 26 11:15:40 201103-7376 rpc.mountd[31122]: nfsd_fh: found 0x12c4ff0 path /etc

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1216853

Title:
  During PXE booting failed to mount nfs directory

Status in “casper” package in Ubuntu:
  New

Bug description:
  Unable to mount nfs correctly with PXE install server, which works no
  issue with 12.04.2 and 13.04.

  Encountered this issue with 12.04.3 destkop CD image[0], both amd64
  and i386 image have the same problem.

  [0] http://releases.ubuntu.com/precise/ubuntu-12.04.3-desktop-
  amd64.iso

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1216853/+subscriptions




More information about the foundations-bugs mailing list