ZFS

Recovering GRUB

1
2
3
4
5
6
7
8
9
10
11
12
13
zpool import rpool -R /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/sda
(chroot)$ grub-install /dev/sdb
(chroot)$ update-grub2
(chroot)$ update-initramfs -u

Regenerate zpool.cache

1
zpool set cachefile=/etc/zfs/zpool.cache poolname

Setting up mountpoints

Check ZFS pool status

1
zpool status rpool

import ZFS storage pools

1
zfs import poolName

Comments

⬆︎TOP