On fresh current zvol with org.freebsd:swap=on crashes zfs list (PR:145234)

From: KOT MATPOCKuH <matpockuh_at_gmail.com>
Date: Wed, 31 Mar 2010 12:18:20 +0300
On fresh freebsd-current automatic swap configuration on zvol with
org.freebsd:swap=on by /etc/rc.d/zvol doesn't work because
zfs list -H -o org.freebsd:swap,name -t volume
fails with bus error.

To repeat a problem try:
# zfs create -V 128m rpool/test
# zfs list rpool/test
NAME USED AVAIL REFER MOUNTPOINT
rpool/test 128M 55.9G 16K -
# zfs set org.freebsd:swap=on rpool/test
# zfs list rpool/test
Segmentation fault (core dumped)
# zfs list
Segmentation fault (core dumped)
# zfs inherit org.freebsd:swap rpool/test
# zfs list rpool/test
NAME USED AVAIL REFER MOUNTPOINT
rpool/test 128M 55.9G 16K -

PR:bin/145234 registered for this problem.

-- 
MATPOCKuH
Received on Wed Mar 31 2010 - 07:18:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC