doc: explain link-purge-all

This commit is contained in:
Thomas Schoebel-Theuer 2020-03-28 20:05:49 +01:00
parent 3ba04911c2
commit d0cf90a67d
2 changed files with 142 additions and 1 deletions

View File

@ -13896,7 +13896,7 @@ all
\size scriptsize \size scriptsize
\begin_inset Tabular \begin_inset Tabular
<lyxtabular version="3" rows="43" columns="3"> <lyxtabular version="3" rows="44" columns="3">
<features islongtable="true" longtabularalignment="left"> <features islongtable="true" longtabularalignment="left">
<column alignment="left" valignment="top" width="0pt"> <column alignment="left" valignment="top" width="0pt">
<column alignment="center" valignment="top"> <column alignment="center" valignment="top">
@ -19356,6 +19356,138 @@ marsadm view $res --verbose
\end_inset \end_inset
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\family typewriter
\size scriptsize
\begin_inset Box Frameless
position "t"
hor_pos "c"
has_inner_box 1
inner_pos "t"
use_parbox 0
use_makebox 0
width "20col%"
special "none"
height "1in"
height_special "totalheight"
thickness "0.4pt"
separation "3pt"
shadowsize "4pt"
framecolor "black"
backgroundcolor "none"
status open
\begin_layout Plain Layout
\family typewriter
\size scriptsize
link-purge-all
\begin_inset Newline newline
\end_inset
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
strut
\backslash
hfill
\end_layout
\end_inset
$res
\end_layout
\end_inset
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
no
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
\begin_inset Box Frameless
position "t"
hor_pos "c"
has_inner_box 1
inner_pos "t"
use_parbox 0
use_makebox 0
width "60col%"
special "none"
height "1in"
height_special "totalheight"
thickness "0.4pt"
separation "3pt"
shadowsize "4pt"
framecolor "black"
backgroundcolor "none"
status open
\begin_layout Plain Layout
\size scriptsize
Precondition: none additionally.
\end_layout
\begin_layout Plain Layout
\size scriptsize
Postcondition: all deletable links withspeical value
\family typewriter
.deleted
\family default
, which have been fully replicated throughout the whole cluster, will be
deleted eventually.
This is necessary to prevent inode overflow on
\family typewriter
/mars
\family default
.
\end_layout
\begin_layout Plain Layout
Notice:
\family typewriter
marsadm cron
\family default
will do this also.
\end_layout
\end_inset
\end_layout \end_layout
\end_inset \end_inset

View File

@ -34,6 +34,11 @@ marsadm [<global_options>] view[-<macroname>] [<resource_names> | all ]
--parallel=<number> --parallel=<number>
Like --parallel, but limit the parallelism degree to the given Like --parallel, but limit the parallelism degree to the given
number of parallel processes. number of parallel processes.
--delete-method=<code>
EXPERIMENTAL! Only for testing! This option will disappear again!
<code> == 0: Use new deletion method
<code> == 1: Use old deletion method
default is 1 for compatibility.
--logger=/path/to/usr/bin/logger --logger=/path/to/usr/bin/logger
Use an alternative syslog messenger. Use an alternative syslog messenger.
When empty, disable syslogging. When empty, disable syslogging.
@ -248,6 +253,10 @@ marsadm [<global_options>] view[-<macroname>] [<resource_names> | all ]
replication activities. The status of the underlying disk replication activities. The status of the underlying disk
will remain in its current state (whatever it is). will remain in its current state (whatever it is).
link-purge-all
usage: link-purge-all <resource_name>
Remove any .deleted links.
log-delete log-delete
usage: log-delete <resource_name> usage: log-delete <resource_name>
When possible, globally delete all old transaction logfiles which When possible, globally delete all old transaction logfiles which