Usage: mk-diskful | [OPTION]... ![]() ![]() |
-run | This argument must be given to run the script | |
-i, | -image=DIR | Specify the NFS location of the master image |
-e, | -exclude=DIR | Exclude DIR from being copied |
-r, | -reboot | Reboot the node when finished |
-d, | -dryrun | Show directories that would be copied to each partition |
-v, | -verbose | Verbose output (copies much slower) |
-q, | -quiet | Suppress output |
Although booting oneSIS nodes with NFS root filesystems is preferred, oneSIS
fully supports booting from a local disk, mounting the root filesystem from
a local disk, or mounting only specific directories of the root filesystem
from a local disk.
The mk-diskful script can be used to deploy portions of the root filesystem onto partitions on a local disk. The script can be run on a node after it is booted into a normal NFS root with no mounted partitions on the target disk. Alternatively, it can be run by calling it as init directly from the kernel command line as follows (note the quotes):
Any portion of a node's root filesystem can be configured to reside on a local disk, so any combination of NFS and local directories in the root filesystem is possible. Nodes having /boot on a local disk can be configured to boot a kernel and initramfs from the disk or may simply continue to boot off the network.