Whamcloud - gitweb
LU-4788 lfsck: replace cfs_list_t with list_head
[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 # By default the init script will check ldiskfs filesystems using
40 # /sbin/fsck.ldiskfs if it exists, otherwise it will use /sbin/fsck.
41 # Set the PFSCK variable here to override that behavior.  The value must
42 # be an absolute path.
43 #
44 #PFSCK=/sbin/fsck
45
46 # By default the init script will test ldiskfs feature flags using
47 # /sbin/tunefs.ldiskfs if it exists, otherwise it will use
48 # /sbin/tune2fs.  Set the TUNE2FS variable here to override that
49 # behavior.  The value must be an absolute path.
50 #
51 #TUNE2FS=/sbin/tune2fs
52
53 # Uncomment to insert server mount options - see mount.lustre(8)
54 #MOUNT_OPTIONS="-o abort_recov"
55
56 # Stagger mounts by MOUNT_DELAY seconds to avoid possible module loading races
57 # due to multiple mount commands running in parallel.  This obviously does not
58 # eliminate the race but provides a safety buffer.  The default is 2 seconds.
59 # Set to 0 or empty string to disable staggering of mounts.
60 #MOUNT_DELAY=0
61
62 # Uncomment to disable the check for the mmp ldiskfs feature (only
63 # applies if foreign # devices are configured).
64 # REQUIRE_MMP_FEATURE=no
65
66 # Override default mount points for lustre services
67 #LOCAL_MOUNT_DIR=/mnt/lustre/local
68 #FOREIGN_MOUNT_DIR=/mnt/lustre/foreign
69
70 # Uncomment to cause the lustre init scripts to explicitly modprobe the zfs
71 # module when starting services.  The zfs module is normally loaded
72 # automatically by the zfs command line utilities, for example when the zpool
73 # is imported.
74 #LOAD_ZFS="yes"
75
76 # Uncomment to pass additional arguments to 'zpool import'.  For example,
77 # the -m option can be used to allow the pool to be imported even if its
78 # missing a non-critical log device.
79 #ZPOOL_IMPORT_ARGS="-m"
80
81 # Uncomment to force ZFS to import the pool using the device names in the
82 # given directory.  By default, the /dev/disk/by-vdev/ device names will be
83 # used if they are configured followed by the /dev/mapper device names.
84 #ZPOOL_IMPORT_DIR="/dev/disk/by-id"