How to wipe and initialise disks with pvesh?

Dec 25, 2021
18
0
6
62
Initialising with GTP:
The command needed seems to be pvesh create /nodes/{node}/disks/initgpt (pve-docs)
...but I don't know hot to implement it. What would be the command to initialise /dev/sdc?

Same problem with pvesh set /nodes/{node}/disks/wipedisk ...
 
I found it out myself. Given the setup below it's:

pvesh set /nodes/pve/disks/wipedisk --disk /dev/sdc
pvesh create /nodes/pve/disks/initgpt --disk /dev/sdc
 

Attachments

  • Selection_001.png
    Selection_001.png
    175.5 KB · Views: 18
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!