mirror of
https://github.com/ceph/ceph
synced 2024-12-22 19:34:30 +00:00
b9e4aa94b7
Replaced the delay argument for the trash move command with a string acceptable by /bin/date, e.g.: $ rbd trash move --pool foo --image bar --expires-in "2 weeks" Added a "rbd trash purge" command that deletes any expired image from the trash, has also a command to alter the current expiration date with the "--older-than" argument which accepts again a valid argument for /bin/date, e.g.: $rbd trash purge mypool --older-than "2017-08-20" There is also the "threshold" argument which tries to remove the oldest trashed images (by deferment end time) until the pool space is freed up to a percentage point, e.g.: $ rbd trash purge mypool --threshold 0.9 If mypool uses 1GB it will try to remove trashed images until the pool usage becomes equal to or lower than 900MB. Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch> |
||
---|---|---|
.. | ||
caps | ||
ceph-disk | ||
ceph-tests | ||
cephtool | ||
cls | ||
direct_io | ||
erasure-code | ||
fs | ||
hadoop | ||
libcephfs | ||
libcephfs-java | ||
mgr | ||
mon | ||
objectstore | ||
osdc | ||
rados | ||
rbd | ||
rename | ||
rest | ||
restart | ||
rgw | ||
suites | ||
ceph-helpers-root.sh | ||
false.sh | ||
kernel_untar_build.sh | ||
Makefile | ||
post-file.sh | ||
true.sh |