Next: Configuring RAM disk elements
Up: Configuration
Previous: Defining node properties
Contents
Specifying the RAM disk size
The oneSIS RAM disk often only needs to contain links and several
small files. Server logs and similar output can be configured to be
sent to log servers or NFS-mounted directories to eliminate the need
for
persistent local storage.
The oneSIS RAM disk defaults to use half of physical memory. The RAM disk
size can be bounded or made larger if necessary.
The RAM disk is first created by rc.preinit at boot time,
but the update-node script can be used to re-size the RAM disk
according to the current configuration after a node is booted.
| RAMSIZE max_size [kmg] |
[-c class[,class]...] [-n node[,node]...] [-p property[,property]...] |
|
Directs oneSIS to create a RAM disk that can grow to at most max_size
size. The max size defaults to half of physical RAM.
Units can be specified in kilobytes(k), megabytes(m), or gigabytes(g).
- max_size is the upper bound on the size of the ramdisk created by oneSIS.
- -c limits the directive to apply only to the given classes.
- -n limits the directive to apply only to the given nodes.
- -p limits the directive to apply only to nodes having one or more of the given properties.
Next: Configuring RAM disk elements
Up: Configuration
Previous: Defining node properties
Contents
root
2017-02-23