I'm trying to Jumpstart a v120 with Solaris 10 8/07 using existing 
partitioning and using Jumpstart to set up SVM for a mirrored
root filesystem.  I want to use existing partitioning so that my
partitioning on this server matches others. Because you
cannot give start:size sizing in cylinders in *all* Jumpstart
profile commands (most notably the mirror variant of the
filesys line), I can't use Jumpstart *and* its ability to set
up mirroring to partition the disk at the same time (my partitioning
is by cylinder, which doesn't give integer MB numbers, which
is what filesys mirror requires).

I believe that what I should be able to do in the profile
file is the following:

    partitioning    existing
    filesys         mirror:d0 c1t0d0s0 c1t1d0s0  /
    filesys         c1t0d0s1        existing        swap
    filesys         c1t0d0s2        existing        overlap
    filesys         c1t0d0s6        existing        /mnt
    metadb          c1t0d0s7
    #
    filesys         c1t1d0s1        existing        swap
    filesys         c1t1d0s2        existing        overlap
    filesys         c1t1d0s6        existing        /mnt2

This causes the check script to fail in the following way:

    js# ./check
    Validating rules...
    Validating profile Profiles/profile.mirror...
    expr: syntax error
    ./check: test: argument expected

Although "existing" isn't officially allowed in the filesys mirror
line, I modify the line to look like this:

    filesys         mirror:d0 c1t0d0s0 c1t1d0s0 existing /

And check gives me a reasonable error at least:

    js# ./check
    Validating rules...
    Validating profile Profiles/profile.mirror...

    Error in file "Profiles/profile.mirror", line 48
            filesys mirror:d0 c1t0d0s0 c1t1d0s0 existing /
    ERROR: Size "existing" is invalid

Finally, I resort to giving a size to the filesys mirror line
that's the nearest integral number of megabytes for the
partition; check is happy, but now the install fails in
the install process:

    Checking rules.ok file...
    Using begin script: install_begin
    Using finish script: patch_finish
    Executing SolStart preinstall phase...
    Executing begin script "install_begin"...
    Begin script install_begin execution completed.

    ERROR: Field 3 - Existing partitioning requires a size of "existing"
    Solaris installation program exited.

So apparently with "check" not allowing me to give a filesys mirror
line in the profile without a size (despite it being in the user manual 
example),
and without being able to specify the size in cylinders, my best bet is to
set up SVM for mirroring the root filesystem after install (or in a finish
script).

Does anybody think that there's a way to make this work?

Steve
 
 
This message posted from opensolaris.org

Reply via email to