Jul 2, 2024

Proxmox : Delete Existing HDD with Data

Sometimes we just added or swapped a faulty HDD in Proxmox, but the data that resides in that HDD is preventing Proxmox from using it.

This also happens if the HDD was previously used by another Proxmox VE server, as data inside the HDD already marked/flag with that Proxmox server.

To make use of that HDD, we need to first clear the flag.

1. Open --> Shell


2. Run the disk manager.

fdisk /dev/sda

* Assuming the device you wanted to remove the partitions is [sda].


3. It will display a list of available options, press the corresponding number (eg. Delete --> D).


4. To Save and Exit, press --> W


5. Now to remove the flags.

sgdisk --zap-all /dev/sda


6. Reboot the host server.


7. Login back Promox VE WebUI, goto --> Node --> Disk.


8. Select the HDD and click --> Wipe Disk button.


9. Then click --> Initialize GPT button.


10. Now the HDD is ready for use.



!!! HAPPY COMPUTING !!!

No comments:

Post a Comment