Whamcloud - gitweb
3f894c333bb8014baedfa9094cd6df99b4d1d04e
[fs/lustre-release.git] / lustre / conf / lustre
1 # Configuration options for /etc/init.d/lustre
2
3 # The command in PREEXEC_SCRIPT is run before starting services.  Its first
4 # parameter is mode of the init script (start|restart|condrestart).  If the
5 # command has a non-zero return code, then the init script will abort without
6 # taking any action.
7 #PREEXEC_SCRIPT="/usr/bin/somescript"
8
9 # The command in PREEXEC_CHECK is run before starting services.  It is not
10 # passed any arguments.  If the command has a non-zero return code, then the
11 # init script will abort without taking any action.
12 #PREEXEC_CHECK="command"
13
14 # The commands in POSTEXEC_SCRIPT and/or POSTEXEC_CHECK are run after starting
15 # services.  If the command has a non-zero return code, then the init script
16 # will terminate with an exit status of 1.
17 #POSTEXEC_SCRIPT="/usr/bin/somescript"
18 #POSTEXEC_CHECK="command"
19
20 # If SCSI_DEVICE_TIMEOUT is set, its value is echoed into
21 #  /sys/block/sdXX/device/timeout
22 # before checking file systems or starting Lustre
23 #SCSI_DEVICE_TIMEOUT=60
24
25 # LOCAL_SRV or FOREIGN_SRV can be set to a space-delimited list of
26 # labels that will be mounted as local and foreign (failover) lustre services.
27 # If unset or null, /etc/ldev.conf establishes the labels for these services.
28 #LOCAL_SRV="`shopt -s nullglob && cd /dev/disk/by-label 2>/dev/null && echo *-OST* *-MDT* *MGS* *MGT*`"
29
30 # Before mounting any lustre backend devices, the init script will
31 # run pfsck.ldiskfs only if the following FSCK_ARGS variable is a
32 # non-empty string.  There are no default options for this fsck.
33 # The command takes the form:
34 #
35 #     /sbin/pfsck.ldiskfs $devices -- ${FSCK_ARGS}
36 #
37 #FSCK_ARGS="-p"
38
39 # Uncomment to insert server mount options - see mount.lustre(8)
40 #MOUNT_OPTIONS="-o abort_recov"
41
42 # Stagger mounts by MOUNT_DELAY seconds to avoid possible module loading races
43 # due to multiple mount commands running in parallel.  This obviously does not
44 # eliminate the race but provides a safety buffer.  The default is 2 seconds.
45 # Set to 0 or empty string to disable staggering of mounts.
46 #MOUNT_DELAY=0
47
48 # Uncomment to disable the check for the mmp ldiskfs feature (only
49 # applies if foreign # devices are configured).
50 # REQUIRE_MMP_FEATURE=no
51
52 # Override default mount points for lustre services
53 #LOCAL_MOUNT_DIR=/mnt/lustre/local
54 #FOREIGN_MOUNT_DIR=/mnt/lustre/foreign
55
56 # Uncomment to cause the lustre init scripts to explicitly modprobe the zfs
57 # module when starting services.  The zfs module is normally loaded
58 # automatically by the zfs command line utilities, for example when the zpool
59 # is imported.
60 #LOAD_ZFS="yes"
61
62 # Uncomment to pass additional arguments to 'zpool import'.  For example,
63 # the -m option can be used to allow the pool to be imported even if its
64 # missing a non-critical log device.
65 #ZPOOL_IMPORT_ARGS="-m"
66
67 # Uncomment to force ZFS to import the pool using the device names in the
68 # given directory.  By default, the /dev/disk/by-vdev/ device names will be
69 # used if they are configured followed by the /dev/mapper device names.
70 #ZPOOL_IMPORT_DIR="/dev/disk/by-id"