Ross
2008-Feb-07 16:30 UTC
[zfs-discuss] zpool destroy core dumps with unavailable iscsi device
While playing around with ZFS and iSCSI devices I''ve managed to remove an iscsi target before removing the zpool. Now any attempt to delete the pool (with or without -f) core dumps zpool. Any ideas how I get rid of this pool? This message posted from opensolaris.org
Tim Foster
2008-Feb-07 16:40 UTC
[zfs-discuss] zpool destroy core dumps with unavailable iscsi device
Hi Ross, On Thu, 2008-02-07 at 08:30 -0800, Ross wrote:> While playing around with ZFS and iSCSI devices I''ve managed to remove > an iscsi target before removing the zpool. Now any attempt to delete > the pool (with or without -f) core dumps zpool. > > Any ideas how I get rid of this pool?Yep, here''s one way: zpool export other pools on the system, then delete /etc/zfs/zpool.cache, reboot the machine then do a zpool import for each of the other pools you want to keep. cheers, tim -- Tim Foster, Sun Microsystems Inc, Solaris Engineering Ops http://blogs.sun.com/timf