[SOLVED] quick question about replacing disk ZFS

killmasta93

Renowned Member
Aug 13, 2017
973
58
68
31
Hi,
Recently changed a disk on my home lab because got an alert of failing disk, i went though the tutorial on replacing a disk with installing grub. the issue im having is when i try to install the grub on the disk i get this
Code:
root@prometheus:~# grub-install /dev/sdc
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: error: filesystem `zfs' doesn't support blocklists.

im going on a limb and say the sdc mirror 1 is using the same partition label as sdd which those two do not have the grub, so if i undestand correclty on a raid 10 the mirror 0 is always the grub and the mirror 1 just data as looking at the partition scheme the others two dont have the same as sda or sdb.

Thank you

This my pool
Code:
    NAME                     STATE     READ WRITE CKSUM
    rpool                    DEGRADED     0     0     0
      mirror-0               ONLINE       0     0     0
        sda3                 ONLINE       0     0     0
        sdb3                 ONLINE       0     0     0
      mirror-1               DEGRADED     0     0     0
        2189043043796446516  UNAVAIL      0     0     0  was /dev/sdc1
        sdd                  ONLINE       0     0     0

and my disks
Code:
sda         8:0    0   3.7T  0 disk
|-sda1      8:1    0  1007K  0 part
|-sda2      8:2    0   512M  0 part
`-sda3      8:3    0   3.7T  0 part
sdb         8:16   0   3.7T  0 disk
|-sdb1      8:17   0  1007K  0 part
|-sdb2      8:18   0   512M  0 part
`-sdb3      8:19   0   3.7T  0 part
sdc         8:32   0   3.7T  0 disk
|-sdc1      8:33   0   3.7T  0 part
`-sdc9      8:41   0     8M  0 part
sdd         8:48   0   3.7T  0 disk
|-sdd1      8:49   0   3.7T  0 part
`-sdd9      8:57   0     8M  0 part
 
im going on a limb and say the sdc mirror 1 is using the same partition label as sdd which those two do not have the grub, so if i undestand correclty on a raid 10 the mirror 0 is always the grub and the mirror 1 just data as looking at the partition scheme the others two dont have the same as sda or sdb.
This is correct - PVE configures the first vdev as bootable device (all disks in a RAIDZ{123}, both disks in a RAID1, the first mirror (2 disks) in RAID10)

The choice is made, since without the first (or any other) vdev the pool cannot be imported anyways

I hope this helps!
 
  • Like
Reactions: killmasta93

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!