Difference between revisions of "ZFS Update"

From Funtoo
Jump to navigation Jump to search
m
Line 4: Line 4:


ebuilds {{c|sys-fs/zfs}}, {{c|sys-fs/zfs-kmod}} and {{c|sys-kernel/spl}}
ebuilds {{c|sys-fs/zfs}}, {{c|sys-fs/zfs-kmod}} and {{c|sys-kernel/spl}}
How you have chosen to use of ZFS on Funtoo Linux will determine the steps required for you to upgrade.


{{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 inadvertently wrong while modifying or updating a live file system.}}  


==Funtoo installed on non-ZFS file system==
===Funtoo installed on ZFS Root with GRUB===
{{warning|work in progress}}
{{warning|work in progress}}
If Funtoo is installed on a different file system - for example ext4 - upgrading ZFS version is relatively straightforward. In other words, your root {{/}} file system resides on a non-ZFS file system, while ZFS storage pools are used for a 'secondary purpose': for example, {{f|/home}}.


Details...


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


===1) Funtoo on ZFS root with GRUB bootloader===
====(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====
====Identify existing ZFS version====
Details...
Details...
====If upgrading from ZFS 0.6.4.2 or newer====
====If upgrading from ZFS 0.6.4.2 or newer====
Details...
Normal upgrade
* Merge new zfs
* Update initramfs
* grub-mkconfig
* reboot
 
====If upgrading from ZFS 0.6.3.x or older====
====If upgrading from ZFS 0.6.3.x or older====
Details...
Details...
 
* as above
zpool status
* warning about features
 
* zpool status, zpool upgrade rpool
zpool upgrade -v
 
===2) Funtoo on ZFS root with non-GRUB bootloader===
(e.g. UEFI)
Details...

Revision as of 11:04, October 11, 2016

TBA

ZFS-related ebuilds* up to version 0.6.5.7 are being unmasked for funtoo-current builds on amd64 hardware (arch profiles 'x86-64bit' and 'pure64'). Newer versions introduce bug fixes, support for newer kernels, and in some instances, introduce new storage pool features.

ebuilds 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 inadvertently wrong while modifying or updating a live file system.

Funtoo installed on ZFS Root with GRUB

   Warning

work in progress


(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