Hi Thomas,

Thomas Burgess wrote:
> I am pretty new to opensolaris so please bear with me.
>
> I installed b130 from the genunix page.  I can't use gnome because of the bug 
> which is causing x to crash at start up....i'm not really familar with the 
> solaris format tool and i don't want to make a serious mistake so i figured 
> it best to ask here.
>   

You may want to start be re-installing build 128a or build 129. Build 
130 is a little less stable, even when considering the 'dev' tag.

> I installed my rpool to a single ssd.  I wanted to mirror but i didn't see an 
> option via the installer.  Anyways, I didn't want to use the entire ssd for 
> the rpool so i installed to a 20 gb partition.
>   

You're correct that the installer does not have an explicit option for 
mirroring at install time. However, adding a mirror is not as difficult 
as you might expect. The instructions found here[1] are relevant and 
accurate. The only thing you'll need to do differently is replicate the 
partition table to the second disk first - everything else will work the 
same. To replicate the partition table exactly, use fdisk to first print 
the partition table of the first disk, then write that table to the 
second disk. Obviously, the second disk needs to be equal or greater in 
size. Also obvious, this will wipe the contents of the second disk - if 
there's an existing partition you need to preserve it can probably still 
be done, but not quite as simply.

fdisk -W /tmp/disk1.fdisk <disk1*>
fdisk -F /tmp/disk1.fdisk <disk2*>

* e.g., c7t0d0p0

[1]http://darkstar-solaris.blogspot.com/2008/09/zfs-root-mirror.html

> Now i want to figure out how to do the following:
> add a second partition which i can later use as l2arc 
>   

This[2] blog post provides some info on adding l2arc (cache) and ZIL 
(logs) to your pool set-up.

[2]http://blogs.sun.com/ds/entry/make_the_most_of_your

Hope this helps.

- Keith

> Then, on a second ssd, mirror the rpool (i have another ssd the exact same 
> model)
>
> I found a couple blog postings about mirroring the rpool but they seem to be 
> for people who installed to the whole disk....i apologize in advance for my 
> horrid newbness.
> thanks again.
>   

Reply via email to