注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "ZFS Update"

From Funtoo
Jump to navigation Jump to search
m
Line 7: Line 7:
<nowiki>*</nowiki> The ZFS ebuilds are {{c|sys-fs/zfs}}, {{c|sys-fs/zfs-kmod}} and {{c|sys-kernel/spl}}.
<nowiki>*</nowiki> The ZFS ebuilds are {{c|sys-fs/zfs}}, {{c|sys-fs/zfs-kmod}} and {{c|sys-kernel/spl}}.


{{important|As best practice, it is ''strongly recommended'' that all users backup their data on a regular basis - irrespective of the file system being used. This could be particularly important should something go inadvertently wrong while modifying or updating a live file system.}}  
{{important|As best practice, it is ''strongly recommended'' that all users backup their data on a regular basis - irrespective of the file system being used. This could be particularly important should something go wrong while modifying or updating a live file system.}}  


===Funtoo installed on ZFS Root with GRUB===
===Funtoo installed on ZFS===
{{warning|work in progress}}
{{warning|work in progress}}


 
GRUB vs UEFI vs static kernels


====(Optional) Update GRUB?====
====(Optional) Update GRUB?====

Revision as of 02:50, October 12, 2016

ZFS on Linux-related ebuilds* up to version 0.6.5.7 will soon be unmasked for current builds of Funtoo Linux on amd64 hardware. (i.e. build: funtoo-current, arch: x86-64bit or pure64)

Newer versions of ZFS introduce bug fixes, support for newer kernels, and in some instances, introduce new storage pool features.

Portage will update these packages in the normal fashion through emerge --update @world. Important additional steps will be required for Funtoo Linux installed on a ZFS storage pool.

* The ZFS ebuilds are sys-fs/zfs, sys-fs/zfs-kmod and sys-kernel/spl.

   Important

As best practice, it is strongly recommended that all users backup their data on a regular basis - irrespective of the file system being used. This could be particularly important should something go wrong while modifying or updating a live file system.

Funtoo installed on ZFS

   Warning

work in progress

GRUB vs UEFI vs static kernels

(Optional) Update GRUB?

review installed GRUB > recommend to update first if old version (new sys-boot/grub has better zfs support)

Identify existing ZFS version

Details...

If upgrading from ZFS 0.6.4.2 or newer

Normal upgrade

  • Merge new zfs
  • Update initramfs
  • grub-mkconfig
  • reboot

If upgrading from ZFS 0.6.3.x or older

Details...

  • as above
  • warning about features
  • zpool status, zpool upgrade rpool