Hello,
I do have few questions w.r.t. OS 2009.06 ZFS
mirroring and installation:
1) if I install OS2009.06 on one drive and then just
attach another drive to the installation to form the
mirror, will it also mirror all needed information
from the boot block and partition table? i.e. will
second drive be bootable (if I for example need to
change the first one)?
2) what's the recommended practice? Partition the
drive or let OS install to whole drive? How it'll
affect (1)? (I'm talking here about options provided
by the livecd installer)
Thanks,
Karel
You need to set up a partition on the drive you are attaching as a mirror
otherwise you will not be able to boot from the new drive since ZFS will use an
EFI partition, which you cannot boot from. You should probably try to make the
partition table of the second drive match the partition table of the first
drive - it makes things simpler if they are identical but it is not essential.
Use the format tool in interactive mode to inspect the partition table of the
first drive and the same tool to set up the partitions on the second drive.
There is an added complication in that Solaris has two types of partitions:
fdisk partitions and Solaris partitions. fdisk partitions are what we all know
as partitions. Solaris can only use primary partitions, not extended
partitions. There must only be at most one Solaris fdisk partition per disk.
Within the Solaris fdisk partition Solaris creates its own sub-partitions
called slices. These are of the same format as Solaris partitions (slices) on
SPARC. Make sure you have both a slice 0 and slice 2 on your second disk
otherwise you won't be able to install grub.
Once you set up the partitions on the second drive you can attach it to the
pool. You then need to install grub on the second drive as follows:
installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c4d0s2
(replace c4d0s2 with the root slice on your second drive).
Cheers
Andrew.
--
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org