I seem to have exactly the same problems. I first upgraded a server from
jaunty to karmic, and this morning decided to give the machine a clean
install (karmic server 32bits) - with only openssh, nfs-common and
portmap packages installed.

I have only put the following line in /etc/fstab:

172.16.1.250:/staff     /nfs/staff      nfs
rw,rsize=8192,wsize=8192,soft,bg,intr,nodev,nosuid,noexec       1
1

(this has always worked before)

--

The mountall program then hangs. When I kill it from the commandline and
start it manually with arguments --verbose --debug, it ends with the
following output:

...
swap finished
mounted: local 2/2 remote 0/0 virtual 11/11 swap 1/1
try_mount: /nfs/staff waiting for device 172.16.1.250:/staff
try_udev_device: block /dev/sda5 dc57d7a3-15a6-48dd-b047-b6ce35e2b2c6 (null)
try_udev_device: none by link 
/dev/disk/by-uuid/dc57d7a3-15a6-48dd-b047-b6ce35e2b2c6
queue_fsck: /dev/disk/by-uuid/dc57d7a3-15a6-48dd-b047-b6ce35e2b2c6: already 
ready
run_swapon: /dev/disk/by-uuid/dc57d7a3-15a6-48dd-b047-b6ce35e2b2c6: already 
activated

And mountall hangs again.

--

I also tried stracing on pid the mountall program, to see what it's
doing, but it just loops the following:

waitid(P_ALL, 0, 0xbf88b998, WNOHANG|WEXITED|WSTOPPED|WCONTINUED, NULL) = -1 
ECHILD (No child processes)
clock_gettime(CLOCK_MONOTONIC, {12981, 496289054}) = 0
clock_gettime(CLOCK_MONOTONIC, {12981, 496350970}) = 0
select(8, [0 3 4 6], [], [3 7], {1, 0}) = 0 (Timeout)
read(4, 0xbf88bbff, 1)                  = -1 EAGAIN (Resource temporarily 
unavailable)

--

Does anyone know if this is the same problem, or what I should do to get
the NFS mount working ?

I forgot to mention: when doing a 'mount -a' the nfs gets mounted
properly..

Thanks,

Leon

-- 
karmic: nfs shares are not mounted at boot
https://bugs.launchpad.net/bugs/461133
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to