On 12/08/10 09:21 AM, Peter Taps wrote:
Folks,

When I create a zpool, I get to specify the vdev type - mirror, raidz1, raidz2, 
etc. How do I get back this information for an existing pool? The status 
command does not reveal this information:

# zpool status mypool

When this command is run, I can see the disks in use. However, I don't see my 
configuration information (raidz, mirror, etc.).


Add the -v flag:


$ zpool status -v soundandvision
  pool: soundandvision
 state: ONLINE
 scan: resilvered 205G in 3h53m with 0 errors on Wed Jun 30 14:02:31 2010
config:

        NAME                         STATE     READ WRITE CKSUM
        soundandvision               ONLINE       0     0     0
          mirror-0                   ONLINE       0     0     0
            c5t5000CCA35DE9C580d0s0  ONLINE       0     0     0
            c5t5000C500204C9482d0s0  ONLINE       0     0     0
          mirror-1                   ONLINE       0     0     0
            c5t5000CCA35DEA1ED5d0s0  ONLINE       0     0     0
            c5t5000C500205E77DBd0s0  ONLINE       0     0     0
          mirror-2                   ONLINE       0     0     0
            c5t50024E90037AF390d0s0  ONLINE       0     0     0
            c5t50024E90037AF38Cd0s0  ONLINE       0     0     0

errors: No known data errors



James C. McPherson
--
Senior Software Engineer, Solaris
Oracle
http://www.jmcp.homeunix.com/blog
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to