Re: root on ZFS
On 9/11/18 2:04 AM, email@example.com wrote:
> On Tue, Sep 11, 2018 at 11:42:43AM +0300, Mimiko wrote:
>> Currently I use ZFS for making a pool of disks, but the system itself is installed on 2 SSD disks using MD to mirror.
>> How is now ZFS on handling booting from ZFS mirror. Can I start use ZFS as root filesystem on latest Debian? Is it stable on updates?
>> Thanks for suggestions.
> Your question is still a bit unclear: do you want to have just the
> _root_ partition as ZFS? That should be easy, just booting a kernel
> which understands ZFS and can mount that as /.
> Do you also want to have the _boot_ partition there? I.e. that
> partition where the kernel images and the initramfs go. Then your
> boot loader (most probably GRUB?) also should be able to understand
> ZFS -- at least to a certain extent. GRUB can read ZFS since 1.99.
> The one current in Debian stable is 2.02 -- so your chances seem
> good on both fronts...
I'm not sure about the /boot partition, but its not difficult to get
your / partition on ZFS. See the ZFSOnLinux Wiki:
My recommendation is to use a separate /boot partition and make it EXT2.