H-Sphere requires that FreeBSD kernel be compiled with quota enabled.
To update kernel on a FreeBSD server in an H-Sphere cluster:
Download and install FreeBSD kernel sources.
Under root, change directory to /usr/src/sys/i386/conf, where the kernel source is located:
# cd /usr/src/sys/i386/conf
In this directory, you will have the default GENERIC kernel configuration file, and,
if the custom kernel compilation has been performed, a custom kernel configuration file,
for example MYKERNEL.
Open your current kernel configuration file (for example MYKERNEL)
and add the line:
options QUOTA
Important: We don't recommend modifying the default GENERIC file.
Instead, copy its content to a custom file (like MYKERNEL)
and perform modifications there!
Compile and install the kernel:
# /usr/sbin/config MYKERNEL
# cd ../../compile/MYKERNEL
# make depend
# make
# make install
Reboot FreeBSD server to activate the new kernel settings.
For more information, see generic instructions on
Building and Installing a Custom Kernel.
|