next up previous contents
Next: A word of caution Up: Management of local disks Previous: Deploying local portions of   Contents


DEPLOY* syntax

DEPLOYMOUNT $<$disk$>$ $<$size[%]$>$ $<$mointpoint$>$
|||||||| [-c class[,class]...] [-n node[,node]...]

Directs the mk-diskful script to create and mount a filesystem partition of a specified size on the specified disk, and copy the corresponding directory tree in the master image to that partition.
|The mountpoint parameter specifies a directory in the master image that should be mounted as a partition on the local disk of a machine. The mountpoint must be a directory that already exists in the master image.
|The -l option causes a disklabel matching the mountpoint to be created for the filesystem. This label can be used to auto-mount the filesystem from an initrd, or can be used in /etc/fstab to refer to the partition without having to specify a block device, ie: LABEL=/.

DEPLOYSWAP $<$disk$>$ $<$size[%]$>$ [-c class[,class]...] [-n node[,node]...]
Directs the mk-diskful script to create and enable a swap partition of a specified size on the specified disk.

For both DEPLOYMOUNT and DEPLOYSWAP directives:
The disk parameter is a number specifying disk order as seen by the kernel.
| The size parameter can be either a percentage of the disk to use, or the exact size in megabytes. If size is larger than the remaining capacity of disk, the remainder of the disk is used.
| Supplying any -c options limits the directive to apply only to the given classes.
| Supplying any -n options limits the directive to apply only to the given nodes.


next up previous contents
Next: A word of caution Up: Management of local disks Previous: Deploying local portions of   Contents
root 2005-06-19