On Wed, 27 Jan 2010 06:52:08 PST
Alex <[email protected]> wrote:
> Hi everybody,
>
> 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.
[ ... ]
> 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.
Um, if I read this write, you're asking for something that doesn't
make sense with a ZFS system. If I read this wrong, then I'm sorry,
and you can ignore this. But it sounds like you want your drives
mirrored, and two different partitions on each disk with zfs file
systems on them.
That's a bad idea. You're better off to create one large partition on
the drive and use that. All the standard reasons for putting things in
separate partitions simply don't apply with ZFS. On the other hand,
file systems are cheap and easy to create, so there's a host of new
reasons to create more file systems - but they all go in the same
pool.
For example, if you want the root file system limited to 20 GB of
space, and the rest available for something, then you'd do that by
setting the quota property on the rpool/ROOT/opensolaris (or
rpool/ROOT if you want to cap the total for all boot environments,
instead of individually). You then create create a second fs in the
pool as rpool/something, and mount that on /mnt/something.
Alternatively, if you want to keep something from using up to much
space, put the quota on rpool/something.
If you want to mirror the root partition for reliability but not the
rest of the drive, you can set copies=2 or copies=3 on
rpool/ROOT. That will improve reliability on the root, though not in
the same way.
<mike
_______________________________________________
opensolaris-help mailing list
[email protected]