On Mon, 10 Nov 2008, kristof wrote:

> So far I have always been using opensolaris SXCE. The last year I have always 
> did flash based jumpstart installs. For this I created a "derived begin 
> script" that met all my requirements. This begin script removed all 
> partitions from the first 2 disks, then it installed the flar file on a 
> mirrored system disk (md device)
>
> With the "old" jumpstart technology I only had to maintain 1 set of config 
> files (begin/finish/rules etc). So this was great, It worked on almost all 
> our servers. (And we do have many different x86 hardware). We of cource 
> included some extra drivers (areca/LSI/HP srtorage drivers)
>
> Now I would like to do the same with the automated installer and opensolaris 
> 2008.11 b101a

Great to know that you're trying the automated
installer out!

> So I'm trying to setup a default manifest.xml file, but so far I'dont 
> succeed.The install always fails. (the service auto-installer goes in 
> maintenance)
>
>
> So here is what I did:
>
> - First I created a new AI image , work like a charm.
>
> - Then I created a very basic manifest file, first I only specified 
> target_disk_size (since the first disk is often something else , one time 
> it's c0t0d0, another time it's c0d0, and another time it's c6t0d0  etc.).
>
> When I try to install with my basic manifest, the auto-installer service goes 
> in maintenance, and in the auto-installer service log file i see:
>
> no partition information found.
>
> - When I include the partition information I get:
>
> no manifest slice information found.

These are mostly informational messages and don't
actually point to a problem.

> - When I in include the slice information, I get
>
> /lib/svc/method/auto-installer: line 137: 3019 Memory fault(coredump)
> Automated installation failed - error 267

The installer should never dump core so I'll take
a look at your manifest and if I can reproduce the
core dump with 101b, I'll file a bug.

> I have attached my current manifest file.
>
> I would like to setup a manifest file, with the following requirements:
>
> The auto-installer should:
>
> - Always use the first disk which is at least 20 GB

The way the installer is currently implemented, if you
specify target_device_size as sector equivalent of 20GB
(41943040), it will pick the first disk with atleast
that amount of space.

> - Remove all partitions and slices found on this disk

There isn't an easy way to specify this for 2008.11

> - create a 25 GB partition on this disk
> - create 1 big slice on this partition

The disk partitioning and slicing does not work reliably
at this time.

This work is being tracked as the following bug -

http://defect.opensolaris.org/bz/show_bug.cgi?id=4233

> - setup a zfs mirror in case 2 or more disks are found, again all partitions 
> and slices should be removed.

Again, this isn't supported for 2008.11. This release
of the automated installer is a preview and thus does not
have some of the features you're looking for right now.

Alok

Reply via email to