Changing devices in ZPOOL

From Jan's Wiki
Revision as of 13:26, 9 August 2014 by 62.224.109.13 (talk) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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