I am having problem with one ZFS pool and the raid controller was moved around. The OS is Solaris 10 8/07 X86. All the drives are found by the OS, but ZFS can''t find two hot spare drives for some reason. And the pool is unavailable. Here is what "zpool status -x" shows: pool: scrpool 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: sun.com/msg/ZFS-8000-D3 scrub: none requested config: NAME STATE READ WRITE CKSUM scrpool UNAVAIL 0 0 0 insufficient replicas raidz1 UNAVAIL 0 0 0 insufficient replicas c2t0d0 UNAVAIL 0 0 0 cannot open c2t1d0 UNAVAIL 0 0 0 cannot open c2t2d0 UNAVAIL 0 0 0 cannot open c2t3d0 UNAVAIL 0 0 0 cannot open c2t4d0 UNAVAIL 0 0 0 cannot open c2t5d0 UNAVAIL 0 0 0 cannot open raidz1 UNAVAIL 0 0 0 insufficient replicas c2t6d0 UNAVAIL 0 0 0 cannot open c2t7d0 UNAVAIL 0 0 0 cannot open c2t8d0 UNAVAIL 0 0 0 cannot open c2t9d0 UNAVAIL 0 0 0 cannot open c2t10d0 UNAVAIL 0 0 0 cannot open c2t11d0 UNAVAIL 0 0 0 cannot open This is what the pool looks like when online noramlly: pool: scrpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM scrpool ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c2t0d0 ONLINE 0 0 0 c2t1d0 ONLINE 0 0 0 c2t2d0 ONLINE 0 0 0 c2t3d0 ONLINE 0 0 0 c2t4d0 ONLINE 0 0 0 c2t5d0 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c2t6d0 ONLINE 0 0 0 c2t7d0 ONLINE 0 0 0 c2t8d0 ONLINE 0 0 0 c2t9d0 ONLINE 0 0 0 c2t10d0 ONLINE 0 0 0 c2t11d0 ONLINE 0 0 0 spares c2t12d0 AVAIL c2t13d0 AVAIL "zpool online" command does not work since no pool is available. Any suggestions what I should to do to bring the pool back? Simon -- This message posted from opensolaris.org
On 13 Nov 2008, at 00:20, Simon Gao wrote:> I am having problem with one ZFS pool and the raid controller was > moved around. The OS is Solaris 10 8/07 X86. > > All the drives are found by the OS, but ZFS can''t find two hot spare > drives for some reason. And the pool is unavailable. Here is what > "zpool status -x" shows: > > pool: scrpool > 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: sun.com/msg/ZFS-8000-D3 > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > scrpool UNAVAIL 0 0 0 insufficient replicas > raidz1 UNAVAIL 0 0 0 insufficient replicas > c2t0d0 UNAVAIL 0 0 0 cannot open > c2t1d0 UNAVAIL 0 0 0 cannot open > c2t2d0 UNAVAIL 0 0 0 cannot open > c2t3d0 UNAVAIL 0 0 0 cannot open > c2t4d0 UNAVAIL 0 0 0 cannot open > c2t5d0 UNAVAIL 0 0 0 cannot open > raidz1 UNAVAIL 0 0 0 insufficient replicas > c2t6d0 UNAVAIL 0 0 0 cannot open > c2t7d0 UNAVAIL 0 0 0 cannot open > c2t8d0 UNAVAIL 0 0 0 cannot open > c2t9d0 UNAVAIL 0 0 0 cannot open > c2t10d0 UNAVAIL 0 0 0 cannot open > c2t11d0 UNAVAIL 0 0 0 cannot open >seems that ZFS can''t find any of your disks. Can you really see them in format output correctly? If so then please check if the ZFS labels are still there with zdb -l / dev/rdsk/c2t2d0s2 etc Sami
I figured it out. Exporting and re-importing fixed the problem. -- This message posted from opensolaris.org