So I just imported an old zpool onto this new system. The problem would be one drive (c4d0) is showing up twice. First it''s displayed as ONLINE, then it''s displayed as "UNAVAIL". This is obviously causing a problem as the zpool now thinks it''s in a degraded state, even though all drives are there, and all are online. This pool should have 7 drives total, which it does, but for some reason c4d0 is displayed twice. Once as online (which it is), and once as unavail (which it is not). # zpool status pool: fserv state: DEGRADED status: One or more devices could not be opened. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Attach the missing device and online it using ''zpool online''. see: http://www.sun.com/msg/ZFS-8000-D3 scrub: resilver completed with 0 errors on Wed Jun 13 00:16:54 2007 config: NAME STATE READ WRITE CKSUM fserv DEGRADED 0 0 0 raidz1 DEGRADED 0 0 0 c4d0 ONLINE 0 0 0 c4d1 ONLINE 0 0 0 c5d1 ONLINE 0 0 0 c2t0d0 ONLINE 0 0 0 c3t1d0 ONLINE 0 0 0 c2t1d0 ONLINE 0 0 0 c4d0 UNAVAIL 0 0 0 cannot open errors: No known data errors This message posted from opensolaris.org
dudekula mastan
2007-Jun-13 06:45 UTC
[zfs-discuss] Is it possible to create a ZPool on SVM volumes ?
Hi All, Is it possible to create a ZPool on SVM volumes ? What are the limitations for this ? on a solaris machine, how many number of zpools we can create ? Is there any limitation on number of zpools per system ? -Mastahn --------------------------------- Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070612/36f18ae3/attachment.html>
James C. McPherson
2007-Jun-13 06:51 UTC
[zfs-discuss] Is it possible to create a ZPool on SVM volumes ?
dudekula mastan wrote:> Is it possible to create a ZPool on SVM volumes ? What are the > limitations for this ?Not as far as I am aware. libdiskmgmt gets in the way - it protects you.> on a solaris machine, how many number of zpools we can create ? Is there > any limitation on number of zpools per system ?for all practical purposes, it''s unlimited. James C. McPherson -- Solaris kernel software engineer, system admin and troubleshooter http://www.jmcp.homeunix.com/blog Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson
On Tue, 12 Jun 2007, Tim Cook wrote:> This pool should have 7 drives total, which it does, but for some reason > c4d0 is displayed twice. Once as online (which it is), and once as > unavail (which it is not).What''s the name of the 7th drive? Did you take all the drives from the old system and plug them into the new system, or are the drives still in place where the zpool was originally created? Regards, markm
Darren Dunham
2007-Jun-13 15:57 UTC
[zfs-discuss] Is it possible to create a ZPool on SVM volumes
> dudekula mastan wrote: > > Is it possible to create a ZPool on SVM volumes ? What are the > > limitations for this ? > > Not as far as I am aware. libdiskmgmt gets in the > way - it protects you.Should be able to. We''ve had some threads about ZFS on top of SVM. http://www.opensolaris.org/jive/thread.jspa?messageID=103954 -- Darren Dunham ddunham at taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >
Mark J. Nelson
2007-Jun-13 16:04 UTC
[zfs-discuss] Is it possible to create a ZPool on SVM volumes ?
> dudekula mastan wrote: >> Is it possible to create a ZPool on SVM volumes ? What are the limitations >> for this ? > > Not as far as I am aware. libdiskmgmt gets in the > way - it protects you.This is incorrect. If you attempt to use the same underlying disks, then libdiskmgmt will protect you. But if you use the SVM block volumes, you can certainly do this:> 9:00 elpaso [~] {4:0}% zpool status riogrande > pool: riogrande > state: ONLINE > status: The pool is formatted using an older on-disk format. The pool can > still be used, but some features are unavailable. > action: Upgrade the pool using ''zpool upgrade''. Once this is done, the > pool will no longer be accessible on older software versions. > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > riogrande ONLINE 0 0 0 > /dev/md/gate/dsk/d50 ONLINE 0 0 0 > /dev/md/gate/dsk/d51 ONLINE 0 0 0 > /dev/md/gate/dsk/d52 ONLINE 0 0 0 > /dev/md/gate/dsk/d53 ONLINE 0 0 0 > /dev/md/gate/dsk/d54 ONLINE 0 0 0 > /dev/md/gate/dsk/d55 ONLINE 0 0 0 > > errors: No known data errors > 9:00 elpaso [~] {5:0}%....in this example, the SVM volumes are part of a named diskset. That is NOT required, and this will also work correctly on volumes from the local diskset. The interaction of ZFS and SVM creates no new, interesting limitations, beyond those that pertain to ZFS or SVM in isolation. As a practical measure, you should probably not be duplicating levels of striping or redundancy in both layers. --Mark