Well, finally managed to solve my issue, thanks to the invaluable help of 
Victor Latushkin, who I can't thank enough.

I'll post a more detailed step-by-step record of what he and I did (well, all 
credit to him actually) to solve this. Actually, the problem is still there 
(destroying a huge zvol or clone is slow and takes a LOT of memory, and will 
die when it runs out of memory), but now I'm able to import my zpool and all is 
there.

What Victor did was hack ZFS (libzfs) to force a rollback to "abort" the 
endless destroy, which was re-triggered every time the zpool was imported, as 
it was inconsistent. With this custom version of libzfs, setting an environment 
variable makes libzfs to bypass the destroy and jump to rollback, "undoing" the 
last destroy command.

I'll be posting the long version of the story soon.

HernĂ¡n
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to