> The reason why you can't specify size in mirrors for jumpstart is that 
> the two disks may have different geometry so the cylinder size and 
> number of cylinders are different. 

Ahh, this makes perfect sense.  I was assuming identical disks, which
is my situation.

> Once it failed, run the jumpstart in dryrun mode to provide more debug 
> information and it will tell you which jumpstart line has the problem.

This is what I get when I specify the size of the mirrored root partition
in megabytes:

# /usr/sbin/install.d/pfinstall -D -c $s x

Parsing profile
         1: #
         2: # Profile for installing a V120 with mirrored root on
         3: # two 73GB disk drives.  
         4: #
         5: install_type initial_install
         6: system_type standalone
         7: #
         8: cluster             SUNWCuser
         9: #
        10: # Disk partitioning
        11: #
        12: # 
        13: partitioning        existing
        14: filesys     mirror:d0 c1t0d0s0 c1t1d0s0 57707 /

ERROR: Field 3 - Existing partitioning requires a size of "existing"

Test run complete. Exit status 2.
#

As I noted in my original post, the check script rejects the word
"existing" in place of the size in megabytes. 

Here's the complete profile file:

#
# Profile for installing a V120 with mirrored root on
# two 73GB disk drives.  
#
install_type initial_install
system_type standalone
#
cluster         SUNWCuser
#
# Disk partitioning
#
# 
partitioning    existing
filesys         mirror:d0 c1t0d0s0 c1t1d0s0 existing /
filesys         c1t0d0s1        existing        swap
filesys         c1t0d0s6        existing        /mnt
metadb          c1t0d0s7
#
#
filesys         c1t1d0s1        existing        swap
filesys         c1t1d0s6        existing        /mnt2
metadb          c1t1d0s7

So I'm back to my original question: is it really not possible to
set up disk mirroring on an initial install leaving the disk 
partitioning as is?

Steve
 
 
This message posted from opensolaris.org

Reply via email to