28 points · by bhoey · 11y ago · 13 comments
$ mkfile 128m /home/user/disk1
$ mkfile 128m /home/user/disk2
$ mkfile 128m /home/user/disk3
$ zfs create tank mirror /home/user/disk1 /home/user/disk2 /home/user/disk3
[0]: https://flux.org.uk/tech/2007/03/zfs_tutorial_1.html $ fallocate -l 128MB /home/user/disk1zpool replace -o ashift=12 old new.
vfs.zfs.min_auto_ashift=12
in /etc/sysctl.conf to handle this automatically.