Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
share|improve this question
    
Have you tried touch /mnt/test to see if you can create any file on the NFS mount? –  DerfK Feb 17 '11 at 6:22
    
Yeah, I can create normal files no problem, but it just won't let me create devices... see edit to OP. –  Aaron B. Russell Feb 18 '11 at 13:46
add comment

1 Answer

up vote 0 down vote accepted

Seems like unRAID doesn't have mknod support in its filesystem driver right now, which seems like the root of my problem. If anyone wants to follow this issue, I've created this thread over in the unRAID forums.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.