Date: Sat, 22 Jul 2017 17:08:29 +0500 From: "Eugene M. Zheganin" <emz@norma.perm.ru> To: freebsd-stable <freebsd-stable@FreeBSD.org> Subject: cannot destroy faulty zvol Message-ID: <73ed4a4d-a156-457a-37d3-12d7ef4f89b9@norma.perm.ru>
index | next in thread | raw e-mail
Hi,
I cannot destroy a zvol for a reason that I don't understand:
[root@san1:~]# zfs list -t all | grep worker182
zfsroot/userdata/worker182-bad 1,38G 1,52T 708M -
[root@san1:~]# zfs destroy -R zfsroot/userdata/worker182-bad
cannot destroy 'zfsroot/userdata/worker182-bad': dataset already exists
[root@san1:~]#
also noitice that this zvol is faulty:
pool: zfsroot
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://illumos.org/msg/ZFS-8000-8A
scan: scrub in progress since Sat Jul 22 15:01:37 2017
18,7G scanned out of 130G at 75,0M/s, 0h25m to go
0 repaired, 14,43% done
config:
NAME STATE READ WRITE CKSUM
zfsroot ONLINE 0 0 4
mirror-0 ONLINE 0 0 8
gpt/zroot0 ONLINE 0 0 8
gpt/zroot1 ONLINE 0 0 8
errors: Permanent errors have been detected in the following files:
zfsroot/userdata/worker182-bad:<0x1>
<0xc7>:<0x1>
is this weird error "cannot destroy: already exists" related to the fact
that the zvol is faulty ? Does it indicate that metadata is probably
faulty too ? Anyway, is there a way to destroy this dataset ?
Thanks.
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73ed4a4d-a156-457a-37d3-12d7ef4f89b9>
