Diskless boot swap space (or swap over NFS)

K Anderson freebsduser at comcast.net
Wed Aug 6 22:46:07 PDT 2003


I am trying to create swap space for diskless bootted systems but it 
doesn't seem to be working out.

Before the kernel panics the system reports reports
subnet mask 255.255.0 router 192.168.100.105 rootfs 
192.168.100.105:/diskless_root swapfs 
192.168.100.105:/conf/192.168.100.201/swap.192.168.100.201 swapsize 
64000 KB hostname flip.

When booting the kernel panics with
   panic: nfs_boot: mountd swap, error=72

The NFS export looks like this
/diskless_root  -alldirs -ro -network 192.168.100
/usr            -alldirs        -maproot=0      -network 192.168.100

Disk slices are reported as
/dev/ad0s1a   504M   172M   292M    37%    /
/dev/ad0s1g   504M    12M   452M     3%    /tmp
/dev/ad0s1h    36G   7.1G    26G    22%    /usr
/dev/ad0s1f   504M    41M   423M     9%    /var
/dev/ad3s1    3.9G   2.9G   739M    80%    /mouse
/dev/ad2s1e   3.9G   138M   3.5G     4%    /diskless_root
procfs        4.0K   4.0K     0B   100%    /proc
linprocfs     4.0K   4.0K     0B   100%    /usr/compat/linux/proc

Anybody have any ideas on correcting this?

TIA



More information about the freebsd-questions mailing list