The Artima Developer Community
Sponsored Link

Python Buzz Forum
nfsmount (initrd) doesn't work with nfs-user-server, only nfs-kernel-server

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
nfsmount (initrd) doesn't work with nfs-user-server, only nfs-kernel-server Posted: May 27, 2007 5:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: nfsmount (initrd) doesn't work with nfs-user-server, only nfs-kernel-server
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement

I'm trying to do some hard disk maintenance on a machine on the other side of the world, and before I start doing things like reconfiguring its RAID arrays with things still mounted there, I'm giving NFS booting a go. The idea is to configure the system to boot using its usual GRUB boot partition, but then mount its root filesystem off an NFS server. This will let me unmount /boot and do all the hard disk maintenance, and if the worst comes to the worst, I can ask our man in the datacenter to bring the machine back to life with a Debian rescue disk.

I'd installed nfs-user-server on a Debian install on VMware, and configured a second Debian install to mount an NFS export from the server as its root partition. However, it would always fail during the boot with this error:

rpc failed: 2

At first I thought there was a module missing during boot or something, but I eventually figured out that the nfsmount tool used during boot was /usr/lib/klibc/nfsmount, and that it would give the same error if run after a normal boot:

/usr/lib/klibc/nfsmount 192.168.2.64:/nfsroot /mnt

The fix? Install nfs-kernel-server rather than nfs-user-server.

It now gets past that point OK. (It's still failing after 'Setting up networking....' -- I suspect that it's resetting eth0 and losing its IP address, or killing the NFS session.)

Comment

Read: nfsmount (initrd) doesn't work with nfs-user-server, only nfs-kernel-server

Topic: Naming known molecules Previous Topic   Next Topic Topic: TurboGears Sprint Saturday

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use