LEIL-METARESTORE(8)
π NAME π
okay bestie, meet leil-metarestore β that's LEIL-METARESTORE(8) if you're being all formal π
. It's here to replay LeilFS metadata change logs or dump a LeilFS metadata image. iconic little metadata gremlin behavior, honestly π¦.
β¨ SYNOPSIS β¨
leil-metarestore [-z] -m OLDMETADATAFILE -o NEWMETADATAFILE [CHANGELOGFILE...]
leil-metarestore -m METADATAFILE
leil-metarestore [-z] -a [-d DIRECTORY]
leil-metarestore -g -d DIRECTORY
leil-metarestore -v
leil-metarestore -?
πΈ DESCRIPTION πΈ
When leil-metarestore gets both -m and -o, it replays the CHANGELOGFILEs you give it on OLDMETADATAFILE and writes the result to NEWMETADATAFILE. Multiple change log files can be given β yes bestie, bring the whole group chat π.
With just -m METADATAFILE, it dumps the LeilFS metadata image file in human readable form. It's giving "let me read the metadata tea for you" ββ¨.
When you call it with -a, it automatically performs all operations needed to merge change log files. The master data directory can be specified with the -d DIRECTORY option.
leil-metarestore -g with a path to metadata files prints the latest metadata version that can be restored from disk. Prints 0 if metadata files are corrupted. That's the vibe check, no cap π.
Then the options, bestie β every single one, no skipping:
-vβ print version information and exit. cute little info drop, then it's out π¨-aβ autorestore mode (see above). the full auto-glow-up β¨-d DATAPATHβ master data directory (for autorestore mode)-g DIRECTORYβ prints the latest metadata version that can be restored from disk at the directory. Prints0if metadata files are corrupted π«Ά-m METADATAFILEβ specify input metadata image file-o NEWMETADATAFILEβ specify output metadata image file-zβ ignore metadata checksum inconsistency while applying changelogs. literally what it says π
π FILES π
metadata.sfsβ Leil File System metadata image as read byleil-masterprocessmetadata.sfs.backβ Leil File System metadata image as left by killed or crashedleil-masterprocesschangelog.*.sfsβ Leil File System metadata change logs
π REPORTING BUGS π
found a bug? no cap, report it to the GitHub repository at https://github.com/leil-io/leilfs as an issue. the maintainers will appreciate the receipts π₯.
π COPYRIGHT π
the legal receipts, bestie:
- Copyright 2008-2009 Gemius SA
- Copyright 2013-2019 Skytechnology sp. z o.o.
- Copyright 2023-2024 Leil Storage OΓ
LeilFS 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.
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/.
π SEE ALSO π
go peek at leil-restoremaster(8), leil-master(8), and leilfs(7) β the whole friend group π«Ά.
xoxo, your LEIL-METARESTORE(8) bestie π
β dated 1980-01-01. periodt π
π¦ 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