1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
|
lizardfs(1)
===========
== NAME
lizardfs - open prompt to perform LizardFS-specific operations
== SYNOPSIS
[verse]
*lizardfs getgoal* [*-r*] [*-n*|*-h*|*-H*] 'OBJECT'...
[verse]
*lizardfs rgetgoal* [*-n*|*-h*|*-H*] 'OBJECT'...
[verse]
*lizardfs setgoal* [*-r*] [*-n*|*-h*|*-H*] 'NAME' 'OBJECT'...
[verse]
*lizardfs rsetgoal* [*-n*|*-h*|*-H*] [*+*|*-*]N 'OBJECT'...
[verse]
*lizardfs setquota* (*-u* 'UID' | *-g* 'GID') 'SOFT-LIMIT-SIZE' 'HARD-LIMIT-SIZE'
'SOFT-LIMIT-INODES' 'HARD-LIMIT-INODES' 'MOUNTPOINT-ROOT-PATH'
[verse]
*lizardfs repquota* [*-nhH*] (*-u* 'UID' | *-g* 'GID')+ 'MOUNTPOINT-ROOT-PATH'
*lizardfs repquota* [*-nhH*] -a 'MOUNTPOINT-ROOT-PATH'
[verse]
*lizardfs gettrashtime* [*-r*] [*-n*|*-h*|*-H*] 'OBJECT'...
[verse]
*lizardfs rgettrashtime* [*-n*|*-h*|*-H*] 'OBJECT'...
[verse]
*lizardfs settrashtime* [*-r*] [*-n*|*-h*|*-H*] [*+*|*-*]SECONDS 'OBJECT'...
[verse]
*lizardfs rsettrashtime* [*-n*|*-h*|*-H*] [*+*|*-*]SECONDS 'OBJECT'...
[verse]
*lizardfs geteattr* [*-r*] [*-n*|*-h*|*-H*] 'OBJECT'...
[verse]
*lizardfs seteattr* [*-r*] [*-n*|*-h*|*-H*] *-f* 'ATTRNAME' [*-f* 'ATTRNAME' ...] 'OBJECT'...
[verse]
*lizardfs deleattr* [*-r*] [*-n*|*-h*|*-H*] *-f* 'ATTRNAME' [*-f* 'ATTRNAME' ...] 'OBJECT'...
[verse]
*lizardfs checkfile* 'FILE'...
[verse]
*lizardfs fileinfo* 'FILE'...
[verse]
*lizardfs dirinfo* [*-n*|*-h*|*-H*] 'OBJECT'...
[verse]
*lizardfs filerepair* [*-n*|*-h*|*-H*] 'FILE'...
[verse]
*lizardfs appendchunks* 'SNAPSHOT_FILE' 'OBJECT'...
[verse]
*lizardfs makesnapshot* [*-o*] 'SOURCE'... 'DESTINATION'
[verse]
*lizardfs rremove* [*-l*] 'OBJECT'...
== DESCRIPTION
See respective documents.
== GENERAL 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.
== REPORTING BUGS
Report bugs to <contact@lizardfs.org>.
== COPYRIGHT
Copyright 2008-2009 Gemius SA, 2013-2016 Skytechnology sp. z o.o.
LizardFS is free software: you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation, version 3.
LizardFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License along with LizardFS. If not, see
<http://www.gnu.org/licenses/>.
== SEE ALSO
mfsmount(1), lizardfs-appendchunks(1), lizardfs-checkfile(1), lizardfs-deleattr(1), lizardfs-dirinfo(1), lizardfs-fileinfo(1),
lizardfs-filerepair(1), lizardfs-geteattr(1), lizardfs-getgoal(1), lizardfs-gettrashtime(1), lizardfs-makesnapshot(1),
lizardfs-rgetgoal(1), lizardfs-rgettrashtime(1), lizardfs-rsetgoal(1), lizardfs-rsettrashtime(1), lizardfs-seteattr(1),
lizardfs-setgoal(1), lizardfs-settrashtime(1), lizardfs-rremove(1), lizardfs-repquota(1), lizardfs-setquota(1), moosefs(7)
|