Skip to content

New-PveNodesCephOsdScrub

Instruct the OSD to scrub.

API: POST /nodes/{node}/ceph/osd/{osdid}/scrub, Proxmox VE API viewer

New-PveNodesCephOsdScrub
[-PveTicket <PveTicket>]
[-Deep <bool>]
-Node <string>
-Osdid <int>
[<CommonParameters>]
Parameter Type Required Description
-PveTicket PveTicket No Ticket data connection.
-Deep bool No If set, instructs a deep scrub instead of a normal one.
-Node string Yes The cluster node name.
-Osdid int Yes OSD ID.

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.

A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.