Before we are going to switch to ZFS in production, we would like to know exactly how to recover from a failed Grub2 boot.
Previously, with ext3/ext4, we could simply boot from a standard Debian netinst USB-stick, select "Rescue mode" and boot into the rescue system. The Debian netinst does even offer auto-scanning of devices and finds all md-devices and LVM volumes. We could then simply recover Grub2 like this:
Whats the recommended procedure with Proxmox VE 3.4 for a ZFS RAID1 setup?
Running debug mode from the Proxmox VE installer, I am able to detect the drives /dev/sda and /dev/sdb. But I cannot get any further as the 'zfs' command is missing.
Thanks for your advice.
Best regards, Philip
Previously, with ext3/ext4, we could simply boot from a standard Debian netinst USB-stick, select "Rescue mode" and boot into the rescue system. The Debian netinst does even offer auto-scanning of devices and finds all md-devices and LVM volumes. We could then simply recover Grub2 like this:
Code:
$ mount -t ext4 /dev/pve/root /mnt
$ mount -t proc /proc /mnt/proc
$ mount --rbind /dev /mnt/dev
$ mount --rbind /sys /mnt/sys
$ chroot /mnt /bin/bash
(chroot)$ source /etc/profile
(chroot)$ grub-install /dev/sdb
(chroot)$ grub-install /dev/sdc
(chroot)$ grub-install /dev/sdd
(chroot)$ grub-install /dev/sde
(chroot)$ update-grub2
(chroot)$ update-initramfs -u
Ctrl-D
$ umount /mnt/sys
$ umount /mnt/dev
$ umount /mnt/proc
$ umount /mnt
$ reboot
Whats the recommended procedure with Proxmox VE 3.4 for a ZFS RAID1 setup?
Running debug mode from the Proxmox VE installer, I am able to detect the drives /dev/sda and /dev/sdb. But I cannot get any further as the 'zfs' command is missing.
Thanks for your advice.
Best regards, Philip