live-initramfs can not write to NFS writable exports
Hi list,
i have a server debian etch, kernel is 2.6.19.2 with patches i use, i installed and configured dhcp3 and tftp-hpa.
i want to have diskless nodes, so i use debootstrap to build a subirectory for the nodes and installed my custom kernel.
debootstrap --arch i386 --include=passwd,procps,etc... --variant minbase etch /nodes_system/live/fs.dir
I installed live-initramfs at nodes (from lenny repository).
* server /var/lib/tftpboot/pxelinux.cfg/default:
label linux
kernel vmlinuz-2.6.19.2-patched
append initrd=initrd.img-2.6.19.2-patched root=/dev/nfs boot=live union=aufs neetboot=nfs nfsroot=192.168.1.4:/nodes_system keyb=es
* server cfg file exports:
/nodes_system 192.168.1.0/255.255.255.0(rw,no_root_squash,no_subtree_check,async)
/nfs_shared *(rw,no_root_squash,no_subtree_check,async,anonuid=0,anongid=0)
* node (/nodes_system/live/fs.dir) etc/fstab:
192.168.1.4:/nfs_shared /nfs_shared nfs defaults,auto 0 0
* /nfs_shared has write/read permissions to all
COOL!! the nodes wake up very well, with my custom server and my custom applications, but when i mount nfs_shared i can't write to it, i only can read, the system says that the file system is read only ¿?. I have only this pain problem!!
The strange thing is that if i wake up the nodes without the boot=live option (see below) i can write to my /nfs_shared folder ¿?¿?
* server /var/lib/tftpboot/pxelinux.cfg/default:
label linux
kernel vmlinuz-2.6.19.2-patched
append root=/dev/nfs initrd=initrd.img-2.6.19.2-patched neetboot=nfs nfsroot=192.168.1.4:/nodes_system/live/fs.dir ip=dhcp panic=10
But obviously this configuration isn't as good oa boot=live + aufs option, because all the nodes access and writes to /nodes_system/live/fs.dir...
Any help will be appreciated.
Salutations
Javier
Reply to: