LFS-MIRROR-DELETE(1)
π LFS-MIRROR-DELETE(1) π
okay bestie, so this is a page from the Lustre User Utilities manual, and we're talking about lfs-mirror-delete today. sit down, hydrate, and let's get into it π«Ά
β¨ NAME β¨
lfs-mirror-delete β delete a specified mirror from an existing mirrored file
like, you have a mirrored file, and you want one of its mirrors GONE? that's literally this. bye bestie π
πΈ SYNOPSIS πΈ
lfs mirror delete {--mirror-id MIRROR_ID | --component-id|--comp-id|-I
COMP_ID | --pool POOL} MIRRORED_FILE
so you pick one of those three ways to point at the mirror you're evicting, and then you name the MIRRORED_FILE. yes it's that simple. no cap π
π¦ DESCRIPTION π¦
This command deletes a mirror with mirror ID MIRROR_ID, or containing a component with COMP_ID, or containing a component on POOL, out of a mirrored file specified by the path name MIRRORED_FILE.
If MIRRORED_FILE has only one mirror existing after split, it will be converted to a regular non-mirrored file. so basically the file loses its whole mirror girl era and becomes Just A Regular File. character development honestly β¨
If the original MIRRORED_FILE is not a mirrored file, then the command will return an error. π yes. if there's nothing to delete, it's not gonna manifest a mirror out of thin air. error. that's it.
π OPTIONS π
--mirror-id MIRROR_IDβ the numerical unique identifier for a mirror. the mirror ID is unique within a mirrored file and is automatically assigned at file creation or extension time. wanna peep it first? it can be fetched by thelfs getstripecommand (seelfs(1)). π-I,--comp-id COMP_IDβ the numerical unique identifier for a component contained within a mirror. give it the component's digits and it'll hunt down the mirror that's holding it. π--pool POOLβ the pool storing a component contained within a mirror. so like, which pool is the mirror's component chilling on? that one. πβοΈ
π₯ EXAMPLES π₯
Delete the mirror with ID 2 of /mnt/lustre/file1:
# lfs mirror delete --mirror-id 2 /mnt/lustre/file1
Delete the mirror containing the component with ID 65537 of /mnt/lustre/file1:
# lfs mirror delete --comp-id 65537 /mnt/lustre/file1
Split a mirror on pool ssd out of /mnt/lustre/file1 and destroy it:
# lfs mirror delete --pool ssd /mnt/lustre/file1
see how each one is just one of the three selectors? pick your fighter, don't mash them all together bestie π
π AVAILABILITY π
The lfs mirror delete command is part of the lustre(7) filesystem package since release 2.13.0. so if you're on something ancient, that's giving pre-glow-up energy and you won't find it. π«Ά
π SEE ALSO π
lfs(1)lfs-mirror-create(1)lfs-mirror-extend(1)lfs-mirror-resync(1)lfs-mirror-split(1)lfs-mirror-verify(1)lfs-setstripe(1)
the whole mirror squad fr fr β create it, extend it, resync it, split it, verify it, and yeah, delete it π
and that's the whole page, bestie! this one's straight from the Lustre manual, dated 2024-08-20, and it's LFS-MIRROR-DELETE(1) in all its glory. go forth and delete responsibly, mwah π
β¨π
π¦ where this page comes from
- ubuntu stonking: lustre-client-utils 2.17.58+dfsg-0ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms