]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - doc/README-env-vars.txt
xfs_scrub: remove moveon from repair action list helpers
[thirdparty/xfsprogs-dev.git] / doc / README-env-vars.txt
CommitLineData
669be3c4
ES
1Several environment variables are used within the code, primarily for
2for debugging purposes; they are documented here. In most cases simply
3setting the environment variable enables the behavior, but in some
4cases the value assigned influences behavior as well, as noted below.
5
6General
7-------
8LIBXFS_LEAK_CHECK -- warn and exit(1) if zone-allocated memory
9 is leaked at exit.
10xfs_fsr
11-------
12FSRXFSTEST -- enable -C nfrag in theory coalesces into
13 nfrag extents. Doesn't work.
14xfs_scrub
15---------
16Known debug tweaks (pass -d and set the environment variable):
17XFS_SCRUB_FORCE_ERROR -- pretend all metadata is corrupt
18XFS_SCRUB_FORCE_REPAIR -- repair all metadata even if it's ok
19XFS_SCRUB_NO_KERNEL -- pretend there is no kernel ioctl
20XFS_SCRUB_NO_SCSI_VERIFY -- disable SCSI VERIFY (if present)
21XFS_SCRUB_PHASE -- run only this scrub phase
22XFS_SCRUB_THREADS -- start exactly this number of threads
23
24Available even in non-debug mode:
25SERVICE_MODE -- compress all error codes to 1 for LSB
26 service action compliance