Hi there
We have now installed Proxmox VE 3.4 with ZFS RAID-1 on more than 6 servers with 2 disks each (attached to LSI 9207-8i HBAs), without any issues.
On several other servers with 4 disks and ZFS RAID-10 we are experiencing the same issue as described under http://pve.proxmox.com/wiki/ZFS#Grub_boot_ZFS_problem :
I have managed to boot the servers by changing the boot drive in BIOS (after trying to fix Grub2 via Proxmox VE Installer rescue mode first...). With some luck, you will get the correct drive and will be able to boot.
Here's the problem: Proxmox VE 3.4 Installer does not seem to partition all disks correctly on a 4 (and possibly more) disk setup, ZFS RAID-10:
In this example, /dev/sdb and /dev/sdc are missing the Grub-Boot and EFI partitions. Writing Grub to those disks will not succeed:
This is a serious issue. You would be able to run a server in production in this condition but not having Grub installed on all drives is quite risky!
Please fix or explain why this happened. Thanks.
Best regards,
Philip
We have now installed Proxmox VE 3.4 with ZFS RAID-1 on more than 6 servers with 2 disks each (attached to LSI 9207-8i HBAs), without any issues.
On several other servers with 4 disks and ZFS RAID-10 we are experiencing the same issue as described under http://pve.proxmox.com/wiki/ZFS#Grub_boot_ZFS_problem :
- Symptoms: stuck at boot with an blinking prompt
- Reason: If you ZFS raid it could happen that your mainboard does not initial all your disks correctly and Grub will wait for all RAID disk members - and fails. It can happen with more than 2 disks in ZFS RAID configuration - we saw this on some boards with ZFS RAID-0/RAID-10
I have managed to boot the servers by changing the boot drive in BIOS (after trying to fix Grub2 via Proxmox VE Installer rescue mode first...). With some luck, you will get the correct drive and will be able to boot.
Here's the problem: Proxmox VE 3.4 Installer does not seem to partition all disks correctly on a 4 (and possibly more) disk setup, ZFS RAID-10:
Code:
$ parted /dev/sda print
Model: ATA INTEL SSDSC2BA80 (scsi)
Disk /dev/sda: 800GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB Grub-Boot-Partition bios_grub
2 2097kB 136MB 134MB fat32 EFI-System-Partition boot, esp
3 136MB 800GB 800GB zfs PVE-ZFS-Partition
$ parted /dev/sdb print
Model: ATA INTEL SSDSC2BA40 (scsi)
Disk /dev/sdb: 400GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 400GB 400GB zfs zfs
9 400GB 400GB 8389kB
$ parted /dev/sdc print
Model: ATA INTEL SSDSC2BA40 (scsi)
Disk /dev/sdc: 400GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 400GB 400GB zfs zfs
9 400GB 400GB 8389kB
$ parted /dev/sdd print
Model: ATA INTEL SSDSC2BA80 (scsi)
Disk /dev/sdd: 800GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB Grub-Boot-Partition bios_grub
2 2097kB 136MB 134MB fat32 EFI-System-Partition boot, esp
3 136MB 800GB 800GB zfs PVE-ZFS-Partition
In this example, /dev/sdb and /dev/sdc are missing the Grub-Boot and EFI partitions. Writing Grub to those disks will not succeed:
Code:
$ grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
$ grub-install /dev/sdb
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.
$ 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.
$ grub-install /dev/sdd
Installing for i386-pc platform.
Installation finished. No error reported.
This is a serious issue. You would be able to run a server in production in this condition but not having Grub installed on all drives is quite risky!
Please fix or explain why this happened. Thanks.
Best regards,
Philip