Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
voidz
· 11y ago · 0 comments
One thing to note: the '-o ashift' option is a per-drive (vdev) attribute according to the manual. So, when replacing a vdev, be sure to specify this option again if you do not use the default:
zpool replace -o ashift=12 old new.
Comments
[–]
jlgaddis
11y ago
I realize this article is aimed at Linux, but on FreeBSD you can simply set
vfs.zfs.min_auto_ashift=12
in
/etc/sysctl.conf
to handle this automatically.
[–]
bhoey
11y ago
Good point, post updated, thanks!