LEIL-ADMIN(8)

πŸ“¦ version 5.12.0, in nixpkgs unstable

πŸ’– 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 synchronous save-metadata blocks 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 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