Debootstrap Ubuntu over NFS leads to mknod I/O error

Posted by Aaron B. Russell on Server Fault See other posts from Server Fault or by Aaron B. Russell
Published on 2011-02-17T02:52:47Z Indexed on 2011/02/18 15:27 UTC
Read the original article Hit count: 368

Filed under:
|
|

Hi everyone, I'm trying to prepare an Ubuntu environment for a diskless machine that will PXE boot and mount an NFS share as it's root. I've currently got another Ubuntu machine mounting the NFS share and I'm trying to debootstrap into it, but it has trouble creating devices over NFS:

root@kimiko:~# mount | grep Seiuchi
192.168.0.203:/mnt/user/Seiuchi on /mnt type nfs (rw,addr=192.168.0.203)
root@kimiko:~# debootstrap --arch i386 maverick /mnt http://gb.archive.ubuntu.com/ubuntu/
mknod: `/mnt/test-dev-null': Input/output error
E: Cannot install into target '/mnt' mounted with noexec or nodev

My NFS rule on the unRAID server is 192.168.0.201/32(rw,no_root_squash,sync). I don't have the noexec or nodev options set. I've not got much experience with NFS, so I'm probably missing something basic in the way I'm sharing this, but my attempts at Googling for an answer isn't really turning anything useful up.

Does anyone have suggestions on what I might have missed or maybe relevant docs?

Edit: Creating normal files (and directories) works just fine, I just can't create devices...

root@kimiko:/mnt# mkdir foo
root@kimiko:/mnt# cd foo
root@kimiko:/mnt/foo# touch bar
root@kimiko:/mnt/foo# mknod quux c 4 64
mknod: `quux': Input/output error
root@kimiko:/mnt/foo# ls
bar

© Server Fault or respective owner

Related posts about ubuntu

Related posts about nfs