Skip to content

New-PveNodesCephFs

Create a Ceph filesystem

API: POST /nodes/{node}/ceph/fs/{name}, Proxmox VE API viewer

New-PveNodesCephFs
[-PveTicket <PveTicket>]
[-AddStorage <bool>]
[-Name <string>]
-Node <string>
[-PgNum <int>]
[<CommonParameters>]
Parameter Type Required Description
-PveTicket PveTicket No Ticket data connection.
-AddStorage bool No Configure the created CephFS as storage for this cluster.
-Name string No The ceph filesystem name.
-Node string Yes The cluster node name.
-PgNum int No Number of placement groups for the backing data pool. The metadata pool will use a quarter of this.

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.