Kevin Monceaux wrote: > Indiana Fans, > > On Sat, 12 Jul 2008, Kevin Monceaux wrote: > > >> First, how to I add my second hard drive to my ZFS pool? At the moment >> I'm not even sure which devices under /dev are for my internal hard >> drives. I tried to convince the installer that I wanted to use all the >> space on both of my drives but it would only let me select one drive. >> > > Okay, from what I've read in the list archives adding my second hard drive > to a root ZFS pool isn't an option.
The procedure for adding a mirror to a root pool is in the ZFS Administration Guide. http://www.opensolaris.org/os/community/zfs/docs/zfsadmin.pdf > It would have been nice to know that > before I started the install. I'm trying to rearrange things and create a > root pool that uses part of the space on my first hard drive, and a > separate pool using the remainder of space on my first hard drive and all > the space on my second drive. When I started this my hard drives, which > are connected to the primary IDE controller on my motherboard were showing > up as c6d0 and c6d1. I created a non-root pool on c6d1 and copied a bunch > of stuff to it so I wouldn't have to perform a complete wipe/reinstall. > I then reinstalled by creating a 25GB partition on my first drive for the > installer to use. After reinstalling, my drives are now showing up as > c5d1 and c5d2. Gee, that makes sense. Anyway, after reinstalling, > updating SUNWipkg and entire, followed by an image-update and reboot, I > created a second partition, with a type of other, on my first drive using > the remaining space, which is just over 90GB. Would that partition be > called c5d0p1? I tried adding c5d0p1 to the pool I had created on my > second drive and it worked but only added about 25GB to the pool. I'm > missing about 65GB somewhere. If there's a way to fix this without a > wipe/reinstall I'd appreciate some pointers. Otherwise if someone could > give me the proper technique to install Indiana setting up a root pool > that uses part of the space on one drive and creating a non-root pool > using the remainder of the space on the first drive and all of the space on > the second, I'd appreciate it. > I believe this is also covered in the above documentation. You should use a slice and not a partition. Before you waste more time on this, you might take a look at the docs which explain how to administer ZFS on a wide variety of hardware. We are trying very hard to keep this document up to date and complete with many examples, but we also realize most folks don't read the docs... so if you have better suggestions, please let us know. -- richard _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
