csd − Pstorage chunk server daemon
csd [OPTIONS]
pstorage−csd start|stop|reload|restart|status [CLUSTER_NAME|PATH]
csd(1) is a Pstorage chunk server (CS) daemon. This Pstorage component services read/write client data requests, manages chunk storage, performs data checksumming and verification, and so on.
csd(1) can be started using the monitor service pstorage−csd. This service accepts different commands for configuring and checking the status of CSs that belong to all configured clusters on a host, to the specified cluster, or to a single CS.
It is highly recommended to set the replication factor to 3 (default value is 1) and run the same number of CSs to store data. If the number of CSs is less than the default replication factor, the clients will not be operational: the process either stalls (until enough CSs are added to the cluster) or the ENOSPC error is displayed. You can increase the default replication factor using the pstorage set−attr −p −R / replicas=norm:min command.
Normally, all csd(1) parameters are specified in the /etc/pstorage/cs.config file used by pstorage−csd. The parameters are listed below for your reference only.
−a PROTO
csd(1) authentication protocol (e.g., ssl).
−d LEVEL
Set the log level. The global configuration parameter cs.log.level is used to configure the current level for all CSs on the fly.
−D
Daemonize the service after start.
−l LOGFILE
Set the file to put all messages to.
−r DIR
Set the csd(1) root directory.
−u USER
Switch to the specified user after start.
−v
Increase the log level.
By default, pstorage−csd creates two log files for a single csd(1) daemon:
• DIR/logs/log
• DIR/logs/fatal−log
The former is filled by csd(1) itself, and the latter is filled by the monitor service with fatal messages from csd(1).
0
Success
Non−zero
Failure (syntax or usage error; configuration error; cluster failure; unexpected error).
Copyright © 2011−2013, Parallels, Inc. All rights reserved.
pstorage−make−cs(1), pstorage−overview(7), pstorage−config−files(7)