Hi, are you sure zfs isnt just going thru transactions after forcibly stopping 
zfs destroy?
Sometimes (always) it seems zfs/zpool commands just hang if you destroy larger 
filesets, in reality zfs is just doing its job, if you reboot server during 
dataset destroy it will take some time to come up.

So how long you've waited, have you tried removing /etc/zfs/zpool.cache and 
then booting into snv_128, doing import and possibly watching disk with iostat 
to see is there any activity?

Yours
Markus Kovero

-----Original Message-----
From: zfs-discuss-boun...@opensolaris.org 
[mailto:zfs-discuss-boun...@opensolaris.org] On Behalf Of Jack Kielsmeier
Sent: 8. joulukuuta 2009 6:08
To: zfs-discuss@opensolaris.org
Subject: [zfs-discuss] ZFS pool unusable after attempting to destroy a dataset 
with dedup enabled

Howdy,

I upgraded to snv_128a from snv_125 . I wanted to do some de-dup testing :).

I have two zfs pools: rpool and vault. I upgraded my vault zpool version and 
turned on dedup on datastore vault/shared_storage. I also turned on gzip 
compression on this dataset as well.

Before I turned on dedup, I made a new datastore and copied all data to 
vault/shared_storage_temp (just in case something crazy happened to my dedup'd 
datastore, since dedup is new).

I removed all data on my dedup'd datastore and copied all data from my temp 
datastore. After I realized my space savings wasn't going to be that great, I 
decided to delete vault/shared_storage dataset.

zfs destroy vault/shared_storage

This hung, and couldn't be killed.

I force rebooted my system, and I couldn't boot into Solaris. It hung at 
reading zfs config

I then booted into single user mode (multiple times) and any zfs or zpool 
commands froze.

I then rebooted to my snv_125 environment. As it should, it ignored my vault 
zpool, as it's version is higher than it can understand. I forced an zpool 
export of vault and rebooted, I could then boot back into snv_128 and zpool 
import listed the pool of vault.

However, I cannot import via name or identifier, the command hangs, as well as 
any additional zfs or zpool commands. I cannot kill or kill -9 the processes.

Is there anything I can do to get my pool imported? I haven't done much 
troubleshooting at all on opensolairs, I'd be happy to run any suggested 
commands and provide output.

Thank you for the assistance.
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to