Installation failed: open3: exec of sgdisk

smetairie

New Member
Nov 6, 2019
6
0
1
23
I reinstall proxmox 6.0.1 from ISO, the first time it worked. I did 3 nodes but the cluster command pvecm add .. failed. I suspected bad network configuration notably with dns / dhcp.

Now I have this message popup in the proxmox VE installer when it's starting, on each node I try to reinstall.

"open3: exec of sgdisk -n2:1M:+512M -t2:EF00 -n3:513M:0 -t3:8E00 /dev/sda failed ... ... proxinstall line 398"

When i click to [OK] to this popup, i'm invited to press switch to console, I read this : see file attached

" ...
/sbin/vgchange: Input/Output error
Can't exec "lsblk": Input/Output error at /usr/bin/proxinstall line 904
Use of uninitialized valuer $partitions in split at /usr/bin/proxinstall line 905
/sbin/sgdisk: Input/Output error
open3 sgdisk -n2:1M:+512M -t2:EF00 -n3:513M:0 -t3:8E00 /dev/sda failed ... ... proxinstall line 398
...
"
 

Attachments

  • proxmox_6.0.1_error_reinstall.PNG
    proxmox_6.0.1_error_reinstall.PNG
    238.2 KB · Views: 23
hi,

that's really weird. just to rule out data corruption on the install medium, could you check the hash of the ISO file to see if it matches, and then burn it again on usb and try again to see if that changes anything?
 
  • Like
Reactions: smetairie
I extract from the code source this :
my $partitions = `lsblk --output kname --noheadings --path --list $disk`;

That means lsblk failed
hi,

that's really weird. just to rule out data corruption on the install medium, could you check the hash of the ISO file to see if it matches, and then burn it again on usb and try again to see if that changes anything?

I removed with fdisk every partition on targeted disk and now that works

I think reinstall on the same node , same disk , has an issue.
 
this is what we have in the partition
 

Attachments

  • proxmox_sda_partitions.PNG
    proxmox_sda_partitions.PNG
    34.8 KB · Views: 8
hi,

i'd like to try and reproduce this.

which filesystem did you select in the first installation?

maybe you can send a screenshot of the last screen where all the options you chose are shown before you verify.
 
it seems to work here.

can you tell me about your hardware?
 
--- Quick reply
dell poweredge R440
2x Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
4x 32GB DIMM 2400MHZ
4 SSD (no raid)
3 ethernet cards
IDRAC (mgmt)
1GB (2x ports NOT CONNECTED) Broadcom Gigabit Ethernet BCM5720
10GB (2x ports bonded) Intel(R) 10G 2P X520 Adapter

--- Detailed reply
Firmware Inventory


Component FW Version
Power Supply.Slot.1 00.30.47
Power Supply.Slot.2 00.30.47
Integrated Dell Remote Access Controller 3.36.36.36
Intel(R) Ethernet 10G 2P X520 Adapter - 18.8.9
Broadcom Gigabit Ethernet BCM5720 - 21.40.9
Broadcom Gigabit Ethernet BCM5720 - 21.40.9
Intel(R) Ethernet 10G 2P X520 Adapter - 18.8.9
BIOS 1.7.0
PERC H330 Adapter 25.5.5.0005
Disk 0 in Backplane 1 of Integrated RAID Controller 1 DL63
Disk 1 in Backplane 1 of Integrated RAID Controller 1 DL63
Disk 2 in Backplane 1 of Integrated RAID Controller 1 DL63
Disk 3 in Backplane 1 of Integrated RAID Controller 1 DL63
BP14G+ 0:1 4.27
Lifecycle Controller 3.36.36.36
Dell 64 Bit uEFI Diagnostics, version 4301, 4301A29, 4301.30 4301A29
Dell OS Driver Pack, 19.02.07, A00 19.02.07
OS COLLECTOR 3.1, A00 3.1
iDRAC Service Module Embedded Package, v3.4.0, A00 3.4.0
System CPLD 1.0.3
 
i think there's might be something wrong with your disk, because the I/O error with vgchange happens earlier (it runs vgchange -an to deactivate the VGs in the first place before beginning the partitioning)

maybe you could try to run the installer in debug mode, and check dmesg.

(while running in debug mode, you can switch to console with ctrl+alt+f1)
 
any update?
 

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!