Diskless Boot Problem
Erik Norgaard
norgaard at locolomo.org
Wed Sep 14 02:10:46 PDT 2005
kevin stovall wrote:
> The root file system seems to mount correctly, but I am not sure how to
> tell. The root file system is /home/diskless_ro which is set up
> correctly for NFS. I don't have a memory file system set up, so this is
> likely the problem.
You will use either or, not both. A memory file system will ocupy ram so
if you don't have much it's not a good idea. Also, var and tmp may be
created as mfs if these are not mounted or toggled in rc.conf. (see
/etc/rc.d/var and /etc/rc.d/tmp) so you may run out of ram.
Check that you can mount the nfs root device. There are some permission
stuff to be aware of if you have multiple exports on the same device.
I tried once, a while ago to set up diskless systems, and wrote my own
guide to keep track of what I was doing, you can read it here:
www.daemonsecurity.com/pxe
I didn't get it working, my problem was that the dhclient of 5.4 would
unconfigure the NIC before obtaining a new lease meaning that any NFS
mounted filesystems was lost and then it couldn't write the lease file.
This problem could posibly be solved by using mfs for /var and / but I
only have 112 MB ram, so I prefered to have it nfs mounted.
Cheers, Erik
--
Ph: +34.666334818 web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
More information about the freebsd-questions
mailing list