Thanks to everyone for helping me out so far. I've got a good idea what to do
with zfs to create a mirrored rpool. This would probably be easier if I had
installed to an entire disk rather than a partition. My existing setup looks
like this:
-bash-3.2# zpool status
pool: rpool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
c6d0s0 ONLINE 0 0 0
errors: No known data errors
-bash-3.2# fdisk /dev/rdsk/c6d0p0
Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Active Solaris2 1 15742 15742 26
2 Solaris2 15742 60733 44992 74
Now I'm a little stuck, as I would like to clone this partition scheme to
/dev/rdsk/c7d0p0 (the drives are identical). I would like to ensure the boot
sector is cloned so that I can boot from either disk should one go down. What
is the best way to do this? - I tried manually creating the same partition
layout using fdisk (fully aware that I wasn't going to clone the boot sector)
but when I tried zpool attach it said something about an overlap error?
I have also duplicated the second partition above across three other drives
with the intention of using these as a separate raidz pool for data. Again,
these are partitions and not entire disks (disks are, from what I have read,
apparently the preferred unit of storage for zfs).
Sorry if this is a dumb question, but it is all that is standing in my way now.
Thanks,
Matt.
This message posted from opensolaris.org