Set-PveClusterCephFlags
Set/Unset multiple Ceph flags at once. Each flag is a top-level optional boolean: passing true sets the flag, false unsets it, omitting it leaves the current state untouched. Runs as a worker task; returns a UPID to follow.
API: PUT /cluster/ceph/flags, Proxmox VE API viewer
Syntax
Section titled “Syntax”Set-PveClusterCephFlags [-PveTicket <PveTicket>] [-Nobackfill <bool>] [-NodeepScrub <bool>] [-Nodown <bool>] [-Noin <bool>] [-Noout <bool>] [-Norebalance <bool>] [-Norecover <bool>] [-Noscrub <bool>] [-Notieragent <bool>] [-Noup <bool>] [-Pause <bool>] [<CommonParameters>]Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
-PveTicket |
PveTicket |
No | Ticket data connection. |
-Nobackfill |
bool |
No | Backfilling of PGs is suspended. |
-NodeepScrub |
bool |
No | Deep Scrubbing is disabled. |
-Nodown |
bool |
No | OSD failure reports are being ignored, such that the monitors will not mark OSDs down. |
-Noin |
bool |
No | OSDs that were previously marked out will not be marked back in when they start. |
-Noout |
bool |
No | OSDs will not automatically be marked out after the configured interval. |
-Norebalance |
bool |
No | Rebalancing of PGs is suspended. |
-Norecover |
bool |
No | Recovery of PGs is suspended. |
-Noscrub |
bool |
No | Scrubbing is disabled. |
-Notieragent |
bool |
No | Cache tiering activity is suspended. |
-Noup |
bool |
No | OSDs are not allowed to start. |
-Pause |
bool |
No | Pauses read and writes. |
Every parameter also binds by property name from the pipeline, so an object with node and vmid properties (the output of Get-PveGuest, for one) fills -Node and -Vmid. Without -PveTicket the cmdlet uses the last connection, see Connection.
Output
Section titled “Output”A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.