so ... i hate USB as well. i guess i''ll have to get a SAS or fibre enclosure. (even though i only need USB2 performance.) i hot plugged a drive into my USB2 enclosure. i was adding and removing drives earlier just fine, but this time all (both) disks in the enclosure became unavailable. i don''t really know yet if this was a solaris problem or an enclosure problem. i ran ''reboot'' which hung Solaris at the "updating boot archive" so i had to power cycle the machine. when it comes back up, ''rmformat'' only sees one of the drives, which has (had) a 1-disk zpool on it. pool: data2 state: UNAVAIL status: One or more devices could not be opened. There are insufficient replicas for the pool to continue functioning. action: Attach the missing device and online it using ''zpool online''. see: http://www.sun.com/msg/ZFS-8000-3C scrub: none requested config: NAME STATE READ WRITE CKSUM data2 UNAVAIL 0 0 0 insufficient replicas c3t0d0 UNAVAIL 0 0 0 cannot open i''ve tried various things but am unable to get this pool to import. there ARE no other disks in the pool, so not sure how there can be "insufficient replicas". it was working just fine as a 1-disk zpool before the reboot. in fact, there is another 1-disk zpool active right now. or is it the case that solaris is telling me it knows about this data2 pool that used to exist, but it can''t physically find the drive? i don''t think that''s it, because ''rmformat'' shows the drive. -frank
On January 30, 2009 9:52:59 AM -0800 Frank Cusack <fcusack at fcusack.com> wrote:> pool: data2 > state: UNAVAIL > status: One or more devices could not be opened. There are insufficient > replicas for the pool to continue functioning. > action: Attach the missing device and online it using ''zpool online''. > see: http://www.sun.com/msg/ZFS-8000-3C > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > data2 UNAVAIL 0 0 0 insufficient replicas > c3t0d0 UNAVAIL 0 0 0 cannot open > > i''ve tried various things but am unable to get this pool to import. there > ARE no other disks in the pool, so not sure how there can be "insufficient > replicas". it was working just fine as a 1-disk zpool before the reboot. > in fact, there is another 1-disk zpool active right now.i was able to import it by doing an export first (even though it wasn''t currently imported?). which is fine, but the status/error message is quite poor in this case. -frank
Frank Cusack wrote:> On January 30, 2009 9:52:59 AM -0800 Frank Cusack <fcusack at fcusack.com> > wrote: > >> pool: data2 >> state: UNAVAIL >> status: One or more devices could not be opened. There are insufficient >> replicas for the pool to continue functioning. >> action: Attach the missing device and online it using ''zpool online''. >> see: http://www.sun.com/msg/ZFS-8000-3C >> scrub: none requested >> config: >> >> NAME STATE READ WRITE CKSUM >> data2 UNAVAIL 0 0 0 insufficient replicas >> c3t0d0 UNAVAIL 0 0 0 cannot open >> >> i''ve tried various things but am unable to get this pool to import. there >> ARE no other disks in the pool, so not sure how there can be "insufficient >> replicas". it was working just fine as a 1-disk zpool before the reboot. >> in fact, there is another 1-disk zpool active right now. >> > > i was able to import it by doing an export first (even though it wasn''t > currently imported?). which is fine, but the status/error message is > quite poor in this case. >There is a whole set of issues like this when the zpool.cache is not in agreement with the physical reality. Most of them are cosmetic, which is why (IMHO) it has not been a high priority. I meant to track a bunch of these down and add them to the ZFS Troubleshooting Guide. -- richard