LEIL-ADMIN(8)
π leil-admin / leil-probe: LeilFS admin era π
okay bestie, welcome to LEIL-ADMIN(8) β the manual page for the LeilFS monitoring and administration tool. This is your group chat with the terminal: commands, flags, and all the receipts. π
β¨ NAME β¨
leil-admin, leil-probe β LeilFS monitoring and administration tool.
π SYNOPSIS π
leil-admin COMMAND [OPTIONS...] [ARGUMENTS...]
π NOTES π
okay so quick vibe check: leil-probe is deprecated, and leil-admin should be used instead. no cap.
π AVAILABLE COMMANDS π
Here's the whole lineup, bestie β every command and every flag, exactly as the page says. π«Ά
chunks-health
chunks-health <master ip> <master port>
Returns chunks health reports in the installation. By default (if no report is specified) all reports will be shown. In replication and deletion states, the column means the number of chunks with number of copies specified in the label to replicate/delete.
--porcelainβ Make the output parsing-friendly.--availabilityβ Print report about availability of chunks.--replicationβ Print report about about number of chunks that need replication.--deletionβ Print report about about number of chunks that need deletion.
info
info <master ip> <master port>
Prints statistics concerning the LeilFS installation.
--porcelainβ Make the output parsing-friendly.
iolimits-status
iolimits-status <master ip> <master port>
Prints current configuration of global I/O limiting.
list-chunkservers
list-chunkservers <master ip> <master port>
Prints information about all connected chunkservers.
--porcelainβ Make the output parsing-friendly.
list-defective-files
list-defective-files <master ip> <master port>
Lists files which currently have defective chunks.
--porcelainβ Make the output parsing-friendly.--unavailableβ Print unavailable files.--undergoalβ Print files with undergoal chunks.--structure-errorβ Print files/directories with structure error.--limit=β Limit maximum number of printed files.
list-disks
list-disks <master ip> <master port>
Prints information about all connected chunkservers.
--porcelainβ Make the output parsing-friendly.--verboseβ Be a little more verbose and show operations statistics.
list-goals
list-goals <master ip> <master port>
List goal definitions.
--porcelainβ Make the output parsing-friendly.--prettyβ Print nice table.
list-mounts
list-mounts <master ip> <master port>
Prints information about all connected mounts.
--porcelainβ Make the output parsing-friendly.--verboseβ Be a little more verbose and show goal and trash time limits.
list-metadataservers
list-metadataservers <master ip> <master port>
Prints status of active metadata servers.
--porcelainβ Make the output parsing-friendly.
metadataserver-status
metadataserver-status <master ip> <master port>
Prints status of a master or shadow master server.
--porcelainβ Make the output parsing-friendly.
list-tasks
list-tasks <master ip> <master port>
Lists tasks which are currently executed by master.
manage-locks
manage-locks <master ip> <master port> [list/unlock] [flock/posix/all]
Manage locks.
--porcelainβ Make the output parsing-friendly.--activeβ Print only active locks.--pendingβ Print only pending locks.--inode=β Specify an inode for operation.--owner=β Specify an owner for operation.--sessionid=β Specify a sessionid for operation.--start=β Specify a range start for operation.--end=β Specify a range end for operation.
ready-chunkservers-count
ready-chunkservers-count <master ip> <master port>
Prints number of chunkservers ready to be written to.
promote-shadow
promote-shadow <shadow ip> <shadow port>
Promotes metadata server. Works only if personality ha-cluster-managed is used. + Authentication with the admin password is required.
stop-master-without-saving-metadata
stop-master-without-saving-metadata <master ip> <master port>
Stop the master server without saving metadata in the metadata.sfs file. Used to quickly migrate a metadata server (works for all personalities). Authentication with the admin password is required.
reload-config
reload-config <master ip> <master port>
Requests reloading configuration from the config file. This is synchronous (waits for reload to finish). Authentication with the admin password is required.
save-metadata
save-metadata <metadataserver ip> <metadataserver port>
Requests saving the current state of metadata into the metadata.sfs file. With --async fail if the process cannot be started, e.g. because the process is already in progress. Without --async, fails if either the process cannot be started or if it finishes with an error (i.e., no metadata file is created). Authentication with the admin password is required.
--asyncβ Donβt wait for the task to finish.--timeout <seconds>β Seconds to wait for the operation to finish (default: 5). A synchronoussave-metadatablocks until the dump completes, so raise this when dumping large metadata.
stop-task
stop-task <master ip> <master port> <task id>
Stop execution of task with the given id.
list-session
list-session <master ip> <master port>
Lists all currently open sessions.
delete-session
delete-session <master ip> <master port> <session_id>
Deletes the specified session.
dump-config
dump-config <master ip> <master port>
Dumps the configuration files of the master server. Authentication with the admin password is required.
π₯ OPTIONS π₯
-v,--versionβ Print version and exit.
π REPORTING BUGS π
Report bugs to the GitHub repository https://github.com/leil-io/leilfs as an issue.
π COPYRIGHT π
- Copyright 2008-2009 Gemius SA
- Copyright 2013-2019 Skytechnology sp. z o.o.
- Copyright 2023-2024 Leil Storage OΓ
LeilFS is free software, bestie: 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.
LeilFS 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 LeilFS. If not, see http://www.gnu.org/licenses/.
okay that's the whole iconic LEIL-ADMIN(8) manual, dated 1980-01-01 β go be the main character of your LeilFS admin arc, bestie ππ
π¦ where this page comes from
- nixpkgs unstable: saunafs 5.12.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms