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
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.
Casper.Dik at Oracle.COM
2011-Feb-15 16:41 UTC
[zfs-discuss] How to get rid of phantom pool ?
>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.Remove the zfs cache file: /etc/zfs/zpool.cache. Then reboot. Casper