Anyone have experience using zfs on /

I currently have mdadm raid0 for several of my filesystems. i have raid0 for everything but /boot and /boot/efi. I have raid0 for / /home and so on. I am looking at changing to zfs striping. I back up with borg backup on a dedicated server so I am going for performance. However, I would like to have the data integrity that i would get zfs. I know how to do zfs on anything else not / or /home. However, has anyone actually do this on root and where it was bootable? I tried it in a vm and it was kinda cludgy. Calemaris doesnt klnow what to do with zfs. I saw the link on here that showed how to do it, and it works, but the resulting os is kinda messed up. I think i messed up somewhere along the line. I kinda got intrigued with this when i was installing pfsense. It uses zfs for a single drive. At first that confused me, but i later found out it was actually a good idea even for 1 drive.

Anyways, what is your opinion?

Just FYI

I have never seen any other users using a pre-built Manjaro kernel with zfs on root between 2024 and today.
It feels like zfs users have probably moved to other distros with better zfs support or a more active community.
Just let you know why no one here is answering your question.

1 Like

well… i booted from live and rsynced my root and home to another drive… followed the instructions on her for manjaro. and rsynced back… aftter some tweaking, it is up and running on zfs… and so far, i dont see any performance falloff vs raid0. If i ever did a clean install, that would be a trip though.

i loaded the linux611-zfs, zfs-utils, and zfs-dkms. Seems to be working just fine. fyi, there is a linuxX-zfs for 6.6 and 6.12 also.

The approach i took was /boot and /boot/efi was separate partitions. even refind works.

Most users use ext4. Also you may find a lot of experienced users here using btrfs. Your chances with zfs are small.

Try to :mag: search the forum with:

  • ext4
  • btrfs
  • zfs

and you will see yourself
:footprints:

ok… i actually see a performance improvement… I have 64G mem so that may be part of it. I basically wanted to see if i could do it and get the data integrity benefits.

Thanks for the replies

well… i have converted totally to zfs including installing zfsbootmenu. It isnt for the faint at heart, but I have not ran into many issues. The biggest one was i had to adjust the memory zfs uses. It was using too much and showed up while gaming. Performance is actually quite good. Snapshots are the bomb though now that i understand them. I actually had to use the rollback feature a couple of times already. I basically booted from live iso and added the zfs modules. i rsynced / and /home to external disk, repartitioned and created zfs sets using the arch wiki and manjaro instructions. Then rsync’d / and /home back to the zfs. At first i had /boot and /boot/efi external. I now only have /boot/efi external (for obvious reasons) and /boot is in the root dataset. Stability has been great. I only have stripes set up since i have borg backups nightly. But i get about same performance as mdadm raid0 i had before. This is with a 5950x with 64G mem and 5700XT.

The next trick i will attempt is clean install. I may do that do a spare disk and repeat the steps to migrate. The manjaro instructions for bootstrap didnt work for me.