Bootable disks replacement and ZFS on Proxmox 6.1-8

AlexJ

Active Member
Jun 26, 2012
4
0
41
Hello! I need help.
Proxmox 6.1-8
It was installed on pool of 4 HDD, and two of them contains boot and efi partitions.
I need to replace all 4, they are too old and unreliable.
One of this disks is already faulted, I've detached it (zpool detach /dev/disk-by-id/disk_id and then physically), and plug in a new one, but didn't set it up yet.
What are the steps to safely replace those disks without making the system unbootable?
I found this topic,
https://forum.proxmox.com/threads/c...ot-file-system-after-disk-replacement.102288/
with advise to follow wiki instructions,
but it mentions proxmox-boot-tool wich is not installed on my system (probably there is no such tool in Proxmox 6.1-8) and I can't find it with apt. Is it possible to get this tool on my version 6.1-8?
Or is there any kind of instructions without proxmox-boot-tool?
Code:
zpool status rpool
state: ONLINE
  scan: scrub repaired 52K in 0 days 08:33:06 with 0 errors on Sun May  9 08:57:09 2021
config:


        NAME                                        STATE     READ WRITE CKSUM
        rpool                                       ONLINE       0     0     0
          mirror-0                                  ONLINE       0     0     0
            ata-TOSHIBA_HDWQ140_104EK2MQFAYG-part3  ONLINE       0     0     0
            ata-TOSHIBA_HDWQ140_1042K0ECFAYG-part3  ONLINE       0     0     0
          ata-TOSHIBA_HDWQ140_104EK2MLFAYG          ONLINE       0     0     0

New HDD isn't a part of pool yet and have no partitions at all.
Other 3 has a layouts:

Device Start End Sectors Size Type /dev/sdg1 2048 7814019071 7814017024 3.7T Solaris /usr & Apple ZFS /dev/sdg9 7814019072 7814035455 16384 8M Solaris reserved 1


Code:
fdisk -l /dev/sdi
/dev/sdi1       34       2047       2014 1007K BIOS boot
/dev/sdi2     2048    1050623    1048576  512M EFI System
/dev/sdi3  1050624 7814037134 7812986511  3.7T Solaris /usr & Apple ZFS

Code:
/dev/sdj1       34       2047       2014 1007K BIOS boot
/dev/sdj2     2048    1050623    1048576  512M EFI System
/dev/sdj3  1050624 7814037134 7812986511  3.7T Solaris /usr & Apple ZFS

Code:
efibootmgr -v
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0008,0007,0004,0000,0001
Boot0000* P2: TOSHIBA HDWQ140                   BBS(17,,0x0)
Boot0001* IBA GE Slot 0500 v1513        BBS(20,,0x0)
Boot0002* proxmox       HD(2,GPT,f92305bc-c285-4d22-a391-e4d50f2928ac,0x800,0x100000)/File(\EFI\PROXMOX\GRUBX64.EFI)
Boot0004* UEFI: Built-in EFI Shell      VenMedia(5023b95c-db26-429b-a648-bd47664c8012)..BO
Boot0007* UEFI OS       HD(2,GPT,f92305bc-c285-4d22-a391-e4d50f2928ac,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
Boot0008* UEFI OS       HD(2,GPT,c1660880-dcba-46b5-83c1-eb9c3496910c,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)..BO

Should all 4 of them have "bios boot" and EFI partitions and how to add those on new drives?


I'll be glad to provide any additional information.
 
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!