Alex wrote: > I'm new to opensolaris and have a few questions regarding the installtion. > During the installation I selected a 20gb "Solaris" partition (i think this i > called a slice in osol terminology) where my root lays. > > After the installation "zpool status" gives me the rpool, state online and > consisting of c7d0s0 (my ide-hdd where osol should be installed). > > I have a second ide-hdd on my other ide-controller and want to attach this > device to the existing pool. But not only the 20gb partition to mirror the > installation-partition, but the whole 120gb drive. is there a way to do this? > > At the end I'd like to have a setup simillar to this: > Osol on a 20gb partition on 2x 120gb IDE-HDD in a zfs mirror pool and the > rest of the drive as a folder mounted under /mnt/something.
Since ZFS allows you to create arbitrary sets of file systems on top of the pool, it doesn't really help you a great deal to have two separate pools. In fact, when it comes time to upgrade, it probably hurts a lot more than it helps. (And before then, it likely costs in performance.) Because it seems that you intend to use the whole disk for Solaris ("as a folder mounted under"), I would suggest configuring it that way from the start. It's simpler. If you insist on using separate pools with separate slices, you can do that. You'll need to use the "format" command to set up the slices you want on each drive, and then the "zpool" command to set up the pools as desired on the slices created by "format". Note that unlike previous file systems, "partition" and "slice" do not equate to "mount point" with ZFS. I suspect that may be near the root of the confusion. -- James Carlson 42.703N 71.076W <carlsonj at workingcode.com>