ZFS problems on aarch64 (RockPro64)

Peter Jeremy peter at rulingia.com
Sat Jan 16 01:19:13 UTC 2021


On 2021-Jan-15 21:29:42 +0200, Roman Zaynetdinov <a at zaynetro.com> wrote:
>root at generic:~ # zpool create -f -m /mnt/nas nas ada0
>cannot zero first 4096 bytes of '/dev/ada0': Invalid argument

This shows you trying to create a pool on /dev/ada0 - since ada0
is already partitioned, this is blocking writes to the raw disk
that would overwrite the partitioning layout.

>root at generic:~ # gpart show ada0
>=>        34  7814037101  ada0  GPT  (3.6T)
>          34           6        - free -  (3.0K)
>          40  7814037088     1  freebsd-zfs  (3.6T)
>  7814037128           7        - free -  (3.5K)

This shows that you have prepared /dev/ada0p1 to contain a ZFS pool.

Try changing your create command to:
# zpool create -f -m /mnt/nas nas ada0p1

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20210116/0e970ecf/attachment.sig>


More information about the freebsd-arm mailing list