Changing devices in ZPOOL

From Jan's Wiki
Jump to navigation Jump to search

zpool.cache is stored in initramfs. Therefore changing devices needs to saved to initramfs.

  • maybe do: replace /etc/zfs/zpool.cache
zpool set cachefile=/et/zfs/zpool.cache rpool
  • Update initramfs (should use new cache file) [1]
update-initramfs -c -k all
update-grub
# grub-install /dev/sda