Re: ZFS problems on aarch64 (RockPro64)
Roman Zaynetdinov <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the suggestions! Sadly, I am seeing exact same error no matter how I write. root@generic:~ # zpool create -f -m /mnt/nas nas ada0p1 cannot zero first 4096 bytes of '/dev/ada0p1': Invalid argument root@generic:~ # gpart destroy -F ada0 ada0 destroyed root@generic:~ # gpart show ada0 gpart: No such geom: ada0. root@generic:~ # zpool create -f -m /mnt/nas nas ada0 cannot zero first 4096 bytes of '/dev/ada0': Invalid argument A wicked thing is that if I follow a guide from the handbook on adding a new disk it will fail to do so also. root@generic:~ # newfs -U /dev/ada0 /dev/ada0: 3815447.8MB (7814037168 sectors) block size 32768, fragment size 4096 using 6103 cylinder groups of 625.22MB, 20007 blks, 80128 inodes. newfs: sbwrite: failed to write superblock: Input/output error - Roman > On 16. Jan 2021, at 3.18, Peter Jeremy <[email protected]> wrote: > > On 2021-Jan-15 21:29:42 +0200, Roman Zaynetdinov <[email protected]> wrote: >> root@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@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 _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "[email protected]"