lizardfs1
Open prompt to perform lizardfs-specific operations
Usage
lizardfs getgoal
[-r]
[{-n | -h | -H}]
OBJECT ...
lizardfs rgetgoal
[{-n | -h | -H}]
OBJECT ...
lizardfs setgoal
[-r]
[{-n | -h | -H}]
NAME
OBJECT ...
lizardfs rsetgoal
[{-n | -h | -H}]
[{+ | -}]
N
OBJECT ...
lizardfs {setquota
(-u
UID | -g
GID)
SOFT-LIMIT-SIZE
HARD-LIMIT-SIZE}
SOFT-LIMIT-INODES HARD-LIMIT-INODES
MOUNTPOINT-ROOT-PATH
lizardfs {repquota
[-nhH]
(-u
UID | -g
GID)+
MOUNTPOINT-ROOT-PATH}
lizardfs repquota
[-nhH]
-a
MOUNTPOINT-ROOT-PATH
lizardfs gettrashtime
[-r]
[{-n | -h | -H}]
OBJECT ...
lizardfs rgettrashtime
[{-n | -h | -H}]
OBJECT ...
lizardfs settrashtime
[-r]
[{-n | -h | -H}]
[{+ | -}]
SECONDS
OBJECT ...
lizardfs rsettrashtime
[{-n | -h | -H}]
[{+ | -}]
SECONDS
OBJECT ...
lizardfs geteattr
[-r]
[{-n | -h | -H}]
OBJECT ...
lizardfs seteattr
[-r]
[{-n | -h | -H}]
-f
ATTRNAME
[-f
ATTRNAME ...]
OBJECT ...
lizardfs deleattr
[-r]
[{-n | -h | -H}]
-f
ATTRNAME
[-f
ATTRNAME ...]
OBJECT ...
lizardfs checkfile
FILE ...
lizardfs fileinfo
FILE ...
lizardfs dirinfo
[{-n | -h | -H}]
OBJECT ...
lizardfs filerepair
[{-n | -h | -H}]
FILE ...
lizardfs appendchunks
SNAPSHOT_FILE
OBJECT ...
lizardfs makesnapshot
[-o]
SOURCE ...
DESTINATION
lizardfs rremove
[-l]
OBJECT ...
Overview
See respective documents.
Options
Most of lizardfs operations use following options to select format of printed numbers:
-
-n -
Print exact numbers (e.g. 1024).
-
-h -
Print numbers with binary prefixes (Ki, Mi, Gi as 2^10, 2^20 etc.).
-
-H -
Print numbers with SI prefixes (k, M, G as 10^3, 10^6 etc.).
The same can be achieved by setting MFSHRFORMAT environment variable to: 0 (exact numbers), 1 or h (binary prefixes), 2 or H (SI prefixes), 3 or h+ (exact numbers and binary prefixes), 4 or H+ (exact numbers and SI prefixes). The default is to print just exact numbers.
Other options:
-
-r -
This option enables recursive mode.
Inheritance
When new object is created in LizardFS, attributes such as goal, trashtime and extra attributes are inherited from parent directory. So if you set i.e. "noowner" attribute and goal to 3 in a directory then every new object created in this directory will have goal set to 3 and "noowner" flag set. A newly created object inherits always the current set of its parent’s attributes. Changing a directory attribute does not affect its already created children. To change an attribute for a directory and all of its children use '-r' option.
Releases
2 releases since Debian 9 (Stretch); the text changed 1 time.