My setup consists of a server, running Ubuntu 10.10, and a device, running a customized Linux. The device gets its kernel and mounts its root filesystem from the server using TFTP and NFS, respectively.
In my exports file I have:
/export/rootfs 192.168.1.0/24(rw,no_root_squash,no_subtree_check,sync)
I have a file containing the EXT2 filesystem which I mount onto /export/rootfs
:
mount -t ext2 -o loop TargetFS.ext2 /export/rootfs
When I boot my device I get "no space left on device during initialization, although it has space. If I copy the contents of TargetFS.ext2
to /export/rootfs
instead of mounting it, I don't have this problem.
Any thoughts?