[zfs-discuss] How to get rid of phantom pool ?

2011-02-15 Thread Alxen4
I had a pool on external drive.Recently the drive failed,but pool still shows 
up when run 'zpoll status'

Any attempt to remove/delete/export pool ends up with unresponsiveness(The 
system is still up/running perfectly,it's just this specific command kind of 
hangs so I have to open new ssh session)

zpool status shows state: UNAVAIL

When try zpool clear get cannot clear errors for backup: I/O error

Please help me out to get rid of this phantom pool.


Many,many thanks.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] How to get rid of phantom pool ?

2011-02-15 Thread Cindy Swearingen

The best way to remove the pool is to reconnect the device and then
destroy the pool, but if the device is faulted or no longer available,
then you'll need a workaround.

If the external drive with the FAULTED pool remnants isn't connected to
the system, then rename the /etc/zfs/zpool.cache file and reboot the
system. The zpool.cache content will be rebuilt based on existing
devices with pool info.

Thanks,

Cindy



On 02/15/11 01:10, Alxen4 wrote:

I had a pool on external drive.Recently the drive failed,but pool still shows 
up when run 'zpoll status'

Any attempt to remove/delete/export pool ends up with unresponsiveness(The 
system is still up/running perfectly,it's just this specific command kind of 
hangs so I have to open new ssh session)

zpool status shows state: UNAVAIL

When try zpool clear get cannot clear errors for backup: I/O error

Please help me out to get rid of this phantom pool.


Many,many thanks.

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


Re: [zfs-discuss] How to get rid of phantom pool ?

2011-02-15 Thread Casper . Dik

I had a pool on external drive.Recently the drive failed,but pool still shows 
up when run 'zpoll s
tatus'

Any attempt to remove/delete/export pool ends up with unresponsiveness(The 
system is still up/runn
ing perfectly,it's just this specific command kind of hangs so I have to open 
new ssh session)

zpool status shows state: UNAVAIL

When try zpool clear get cannot clear errors for backup: I/O error

Please help me out to get rid of this phantom pool.

Remove the zfs cache file: /etc/zfs/zpool.cache.

Then reboot.

Casper

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