Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

success with ZFS on armv7



dear list,

this post is to inform you that it is possible to build 9.2 with MKZFS=yes on armv7. there is nothing special i needed to to do besides just setting MKZFS=yes in mk.conf and rebuilding kernel + userland. the host system is a rpi2b+, kernel was crosscompiled on amd64. of course, on the host system, you'd want to add 'zfs=YES' to rc.conf. i've found that the current ZFS version on NetBSD doesn't yet support ZFS encryption, so i tried setting ZFS up on top of a bunch of CGDs, which also works flawlessly.

n.b. i know this isnt performant (at all). this post is just informational.

<snip>
# uname -a
NetBSD unics.local 9.2 NetBSD 9.2 (UNICS) #7: Fri Nov  5 03:52:56 UTC 2021  root@x230:/usr/obj/sys/arch/evbarm/compile/UNICS evbarm
# zfs list
NAME           USED  AVAIL  REFER  MOUNTPOINT
tank           833M  83.2G  31.4K  /tank
[...]
# zpool status -v
  pool: tank
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Sat Nov  6 00:50:02 2021
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          raidz1-0  ONLINE       0     0     0
            cgd0    ONLINE       0     0     0
            cgd1    ONLINE       0     0     0
            cgd2    ONLINE       0     0     0
            cgd3    ONLINE       0     0     0

errors: No known data errors
</snip>

all the best, 
  fgs


Home | Main Index | Thread Index | Old Index