Next: EXCLUDEDEPLOY syntax
Up: Management of local disks
Previous: SYNCDIR syntax
Contents
EXCLUDESYNC syntax
| EXCLUDESYNC path![$>$](img2.png) |
[-c class[,class]...] [-n node[,node]...] [-p property[,property]...] |
|
Specifies files/directories that should not be synchronized with the
master image when sync-node (section 6.6) is run.
Note: This directive is only applicable to diskful nodes.
- - path specifies a file or directory that should not be
synced.
- -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.
Network filesystems mounted on a node are automatically excluded, so those
directories do not need EXCLUDESYNC directives. However, any SAN filesystem
that presents itself to the OS as block device (eg: fiber-channel and iSCSI)
will likely need one.
This is crucial for diskful nodes mounting filesystems from any storage
that appears to the system as a local device. Any attempt to synchronize that
mountpoint would synchronize it with the (probably empty) directory in the
master image, possibly resulting in data loss.
Next: EXCLUDEDEPLOY syntax
Up: Management of local disks
Previous: SYNCDIR syntax
Contents
root
2017-02-23