Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2018 11:42:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229007] [zfs] kernel crashes on remove disk
Message-ID:  <bug-229007-227-LjQmXyeauB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229007-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229007-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229007

--- Comment #1 from Sergei Masharov <serzh@expir.org> ---
also crashes on files:

root@:/ # mount -t tmpfs tmpfs /tmp
root@:/ # dd if=3D/dev/zero of=3D/tmp/z1 bs=3D1G count=3D0 seek=3D1
0+0 records in
0+0 records out
0 bytes transferred in 0.000010 secs (0 bytes/sec)
root@:/ # dd if=3D/dev/zero of=3D/tmp/z2 bs=3D1G count=3D0 seek=3D1
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  HE=
ALTH
 ALTROOT
zm          1.88G   154K  1.87G        -         -     0%     0%  1.00x  ON=
LINE
 -
  /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=20
HEALTH  ALTROOT
zm             960M   176K   960M        -         -     0%     0%  1.00x=20
ONLINE  -
  /tmp/z2      960M   176K   960M        -         -     0%     0%
root@:/ # dd if=3D/dev/zero of=3D/tmp/z0 bs=3D1M count=3D0 seek=3D100
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=20
HEALTH  ALTROOT
zm            1.02G   138K  1.02G        -         -     0%     0%  1.00x=20
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229007-227-LjQmXyeauB>