Initialize Disk With GPT - Error: Unknown Error

tlazarus

Member
Mar 1, 2020
1
0
6
Anyone see this before? If I try and use the "Initialize Disk With GPT" button under host -> Disks for any of my 6 SATA drives, I get a popup with "Error: Unknown Error". However, if I click okay, the task has apparently completed successfully:

Creating new GPT entries.
The operation has completed successfully.
TASK OK

After refreshing the page, GPT is yes instead of no. Thoughts? I've tried wiping the disk using wipefs, which didn't help. The 6 drives are connected to an HP H220 flashed to IT mode. Some poking around on the internet suggested that Proxmox was running "/sbin/sgdisk /dev/sd<drive> -U R" in the background, and that command completes successfully when run from the command line.

I know there alternatives to using the GUI to do this, but I want to make sure that there isn't something bigger going on since this is a new to me HBA.

Thanks!
 
This looks like a bug to me. You can add yourself in the bugzilla tracker for it, if you want.

I don't think that there is much bad stuff going on. The command line / API still works correctly I think.
Code:
➜  ~ pvesh create nodes/dev/disks/initgpt --disk /dev/sdb

Thank you!
 
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!