next up previous contents
Next: sync-node Up: Utility Programs Previous: mk-initramfs-oneSIS   Contents


mk-diskful

 Usage: mk-diskful [OPTION]... $<$-run$>$  


This script will convert an NFSroot node into a diskful node.

Options:
  -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):

Proper DEPLOY* directives must be listed in the sysimage.conf file of the system image to make the desired portions of the root filesystem diskful, and a BOOTLOADER directive must be defined if the node should boot from its local disk.

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.


next up previous contents
Next: sync-node Up: Utility Programs Previous: mk-initramfs-oneSIS   Contents
root 2017-02-23