tomwaters
2010-Jul-23 09:24 UTC
[zfs-discuss] physically removed a pool - how to I tell it to forget the pool?
Hi guys, I physically removed disks from a pool without offlining the pool first...(yes I know) anyway I now want to delete/destroy the pool...but zpool destroy -f dvr says "can not open ''dvr'':no such pool I can not offline it or delete it! I want to reuse the name dvr but how do I do this? ie. how do I totally delete a pool who''s disks have been physically removed? -- This message posted from opensolaris.org
Francois Napoleoni
2010-Jul-23 09:28 UTC
[zfs-discuss] physically removed a pool - how to I tell it to forget the pool?
If all disks were actually removed, renaming /etc/zfs/zpool.cache and rebooting should do the trick. I am not sure but you may have to import root pool at next reboot. F. tomwaters wrote:> Hi guys, I physically removed disks from a pool without offlining the pool first...(yes I know) anyway I now want to delete/destroy the pool...but zpool destroy -f dvr says "can not open ''dvr'':no such pool > > I can not offline it or delete it! > > I want to reuse the name dvr but how do I do this? > > ie. how do I totally delete a pool who''s disks have been physically removed?-- Oracle Global Customer Services Francois Napoleoni / TSC Engineer Solaris & Networking, Global Systems Support Email : francois.napoleoni at oracle.com Phone : +33 (0)1 34 03 17 07 Fax : +33 (0)1 34 03 11 14
tomwaters
2010-Jul-23 13:00 UTC
[zfs-discuss] physically removed a pool - how to I tell it to forget the pool?
It was fine on the reboot...so even though zfs destroy threw up the errors, it did remove them...just needed a reboot to refresh/remove it in the zpool list. thanks. -- This message posted from opensolaris.org