[Bug 229007] [zfs] kernel crashes on remove disk
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jun 14 11:42:44 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229007
--- Comment #1 from Sergei Masharov <serzh at expir.org> ---
also crashes on files:
root@:/ # mount -t tmpfs tmpfs /tmp
root@:/ # dd if=/dev/zero of=/tmp/z1 bs=1G count=0 seek=1
0+0 records in
0+0 records out
0 bytes transferred in 0.000010 secs (0 bytes/sec)
root@:/ # dd if=/dev/zero of=/tmp/z2 bs=1G count=0 seek=1
0+0 records in
0+0 records out
0 bytes transferred in 0.000010 secs (0 bytes/sec)
root@:/ # zpool create zm /tmp/z1
root@:/ # zpool add zm /tmp/z2
root@:/ # zpool list -v zm
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH
ALTROOT
zm 1.88G 154K 1.87G - - 0% 0% 1.00x ONLINE
-
/tmp/z1 960M 145K 960M - - 0% 0%
/tmp/z2 960M 8.50K 960M - - 0% 0%
root@:/ # zpool remove zm /tmp/z1
root@:/ # zpool list -v zm
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP
HEALTH ALTROOT
zm 960M 176K 960M - - 0% 0% 1.00x
ONLINE -
/tmp/z2 960M 176K 960M - - 0% 0%
root@:/ # dd if=/dev/zero of=/tmp/z0 bs=1M count=0 seek=100
0+0 records in
0+0 records out
0 bytes transferred in 0.000010 secs (0 bytes/sec)
root@:/ # zpool add zm /tmp/z0
root@:/ # zpool list -v zm
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP
HEALTH ALTROOT
zm 1.02G 138K 1.02G - - 0% 0% 1.00x
ONLINE -
/tmp/z2 960M 138K 960M - - 0% 0%
/tmp/z0 80M 0 80M - - 0% 0%
root@:/ # zpool remove zm /tmp/z2
cannot remove /tmp/z2: out of space
root@:/ # zpool remove zm /tmp/z2
cannot remove /tmp/z2: out of space
root@:/ # zpool remove zm /tmp/z2
cannot remove /tmp/z2: out of space
root@:/ # zpool add zm /tmp/z1
root@:/ # zpool remove zm /tmp/z2
and system crashes
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list