Package: diskless
Version: 0.3.18.0.5

I installed the diskless package on a server and succeded to boot a diskless client successfully;

I successfully managed to start my diskless client (through PXE and recompiled kernel with appropriate options).The root file system is mounted as expected by the client though NFS. On my server, I did not chage the defaults proposed by both commands 'diskless-newimage' and 'diskless-newhost' at installation time: - the root file system for myclient to NFS mount is : /var/lib/diskless/default/root - the customized '/etc' '/tmp' and '/var' directories for my diskless client (with IP adress being 10.1.0.4) are stored in : /var/lib/diskless/default/10.1.0.4

However, during the client boot, the cutomized directories ( /var/lib/diskless/default/10.1.0.4/etc, /var/lib/diskless/default/10.1.0.4/var and /var/lib/diskless/default/10.1.0.4/tmp are not mounted as /etc, /var, /tmp). I believe they should.

I realize this is due to the fact that I boot I mount the NFS root file system with read-write option. I do this through my SYSLINUX/PXE boot script (otpion 'rw' of append insctruction in the PXE file below :

default diskless

label   diskless
       kernel bzImage
append rw root=/dev/nfs nfsroot=10.1.0.3:/var/lib/diskless/default/root ip=dhcp

label   local
       localboot 0


When I mount the NFS root file system read-only, then the customized directories are mounted for my diskless client as expected.

I do not see where this kind of logic is implemented. I believe the customized directories should be mounted even if the root file system is mounted read-write.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to