Re: zpool destroy causes panic

2010-07-25 Thread Dan Langille
On 7/25/2010 1:58 PM, Dan Langille wrote: I'm trying to destroy a zfs array which I recently created. It contains nothing of value. Oh... I left this out: FreeBSD kraken.unixathome.org 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Mar 5 00:46:11 EST 2010

Re: zpool destroy causes panic

2010-07-25 Thread Jeremy Chadwick
On Sun, Jul 25, 2010 at 01:58:34PM -0400, Dan Langille wrote: [...] NAME STATE READ WRITE CKSUM storage ONLINE 0 0 0 raidz2 ONLINE 0 0 0 gpt/disk01ONLINE

Re: zpool destroy causes panic

2010-07-25 Thread Volodymyr Kostyrko
25.07.2010 23:18, Jeremy Chadwick wrote: Footnote: can someone explain to me how ZFS would, upon reboot, know that /tmp/sparsefile[12].img are part of the pool? How would ZFS taste metadata in this situation? Just hacking it. Each ZFS device which is part of the pool tracks all other devices

Re: zpool destroy causes panic

2010-07-25 Thread Dan Langille
On 7/25/2010 4:37 PM, Volodymyr Kostyrko wrote: 25.07.2010 23:18, Jeremy Chadwick wrote: Footnote: can someone explain to me how ZFS would, upon reboot, know that /tmp/sparsefile[12].img are part of the pool? How would ZFS taste metadata in this situation? Just hacking it. Each ZFS device

Re: zpool destroy causes panic

2010-07-25 Thread Volodymyr Kostyrko
25.07.2010 20:58, Dan Langille wrote: NAME STATE READ WRITE CKSUM storage ONLINE 0 0 0 raidz2 ONLINE 0 0 0 gpt/disk01 ONLINE 0 0 0 gpt/disk02 ONLINE 0 0 0 gpt/disk03 ONLINE 0 0 0 gpt/disk04 ONLINE 0 0 0 gpt/disk05 ONLINE 0 0 0 /tmp/sparsefile1.img UNAVAIL 0 0 0 corrupted data

Re: zpool destroy causes panic

2010-07-25 Thread Dan Langille
On 7/25/2010 4:49 PM, Volodymyr Kostyrko wrote: 25.07.2010 20:58, Dan Langille wrote: NAME STATE READ WRITE CKSUM storage ONLINE 0 0 0 raidz2 ONLINE 0 0 0 gpt/disk01 ONLINE 0 0 0 gpt/disk02 ONLINE 0 0 0 gpt/disk03 ONLINE 0 0 0 gpt/disk04 ONLINE 0 0 0 gpt/disk05 ONLINE 0 0 0 /tmp/sparsefile1.img

Re: zpool destroy causes panic

2010-07-25 Thread Dan Langille
On 7/25/2010 1:58 PM, Dan Langille wrote: I'm trying to destroy a zfs array which I recently created. It contains nothing of value. # zpool status pool: storage state: ONLINE status: One or more devices could not be used because the label is missing or invalid. Sufficient replicas exist for