How to list my harddrives in OpenSolaris?

Posted by Sanoj on Super User See other posts from Super User or by Sanoj
Published on 2010-03-13T10:13:22Z Indexed on 2010/03/13 10:15 UTC
Read the original article Hit count: 483

Filed under:

I have a machine with two harddrives. I have installed OpenSolaris on one of them and now I want to add the other one as a mirror-drive in my zpool. But to do that I have to know the name of my drive, something like c7d0s0. Using the command zpool status can I see the harddrives already in use in my zpool but not the hard-drives that are not in use.

How can I list the names of the hard-drives that are not in use in any zpool or list the name of all my hard-drives?

© Super User or respective owner

Related posts about opensolaris

Related posts about zfs