mirror of
https://github.com/ceph/ceph
synced 2025-01-18 17:12:29 +00:00
59a0cbc14b
Set custom metadata on the snapshot as a key-value pair using $ ceph fs subvolume snapshot metadata set <vol_name> <subvol_name> <snap_name> <key_name> <value> [--group_name <subvol_group_name>] note: If the key_name already exists then the old value will get replaced by the new value. note: The key_name and value should be a string of ASCII characters (as specified in python's string.printable). The key_name is case-insensitive and always stored in lower case. note: Custom metadata on a snapshots is not preserved when snapshotting the subvolume, and hence, is also not preserved when cloning the subvolume snapshot. Get custom metadata set on the snapshot using the metadata key:: $ ceph fs subvolume snapshot metadata get <vol_name> <subvol_name> <snap_name> <key_name> [--group_name <subvol_group_name>] List custom metadata (key-value pairs) set on the snapshot using:: $ ceph fs subvolume snapshot metadata ls <vol_name> <subvol_name> <snap_name> [--group_name <subvol_group_name>] Remove custom metadata set on the snapshot using the metadata key:: $ ceph fs subvolume snapshot metadata rm <vol_name> <subvol_name> <snap_name> <key_name> [--group_name <subvol_group_name>] [--force] Using the '--force' flag allows the command to succeed that would otherwise fail if the metadata key did not exist. Fixes: https://tracker.ceph.com/issues/55401 Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com> |
||
---|---|---|
.. | ||
api | ||
.gitignore | ||
add-remove-mds.rst | ||
administration.rst | ||
app-best-practices.rst | ||
cache-configuration.rst | ||
capabilities.rst | ||
ceph-dokan.rst | ||
cephfs-architecture.svg | ||
cephfs-io-path.rst | ||
cephfs-journal-tool.rst | ||
cephfs-mirroring.rst | ||
cephfs-top.png | ||
cephfs-top.rst | ||
client-auth.rst | ||
client-config-ref.rst | ||
createfs.rst | ||
dirfrags.rst | ||
disaster-recovery-experts.rst | ||
disaster-recovery.rst | ||
dynamic-metadata-management.rst | ||
eviction.rst | ||
experimental-features.rst | ||
file-layouts.rst | ||
fs-volumes.rst | ||
full.rst | ||
health-messages.rst | ||
index.rst | ||
journaler.rst | ||
kernel-features.rst | ||
lazyio.rst | ||
mantle.rst | ||
mdcache.rst | ||
mds-config-ref.rst | ||
mds-journaling.rst | ||
mds-state-diagram.dot | ||
mds-states.rst | ||
mount-prerequisites.rst | ||
mount-using-fuse.rst | ||
mount-using-kernel-driver.rst | ||
multifs.rst | ||
multimds.rst | ||
nfs.rst | ||
posix.rst | ||
quota.rst | ||
recover-fs-after-mon-store-loss.rst | ||
scrub.rst | ||
snap-schedule.rst | ||
standby.rst | ||
subtree-partitioning.svg | ||
troubleshooting.rst | ||
upgrading.rst |