Paul,
It looks like a bug within AI. The text-installer specifically traps on
SliceInUseErrors and ignores them. We need to investigate if similar
behavior belongs in AI (and we should check the GUI too...) and if so,
add it.
Could you please file a bug against solaris/install/autoinstall so we
can track the effort?
-Derw
On 2/3/12 5:44 PM, Paul de Nijs wrote:
Guys,
I think this is a problem, or at least very inconvenient ...
16:20:48 Creating partition 1 on disk c3t2d0 will destroy existing
data.
16:20:48 Creating slice 6 on partition 1, disk c3t2d0 will destroy
existing data.
16:20:48 Creating slice 7 on partition 1, disk c3t2d0 will destroy
existing data.
16:20:48 Creating slice 0 on partition 1, disk c3t2d0 will destroy
existing data.
16:20:48 Error occurred during execution of 'target-selection'
checkpoint.
16:20:48 Failed Checkpoints:
16:20:48
16:20:48 target-selection
16:20:48
16:20:49 Checkpoint execution error:
16:20:49
16:20:49 Following errors occurred processing disks :
16:20:49 ==================================
16:20:49 Mod Id = physical validation
16:20:49 Err Type = 0
16:20:49 Err Data =
16:20:49 ---------------------------------
16:20:49 elem_type = 5
16:20:49 error_value = Slice currently in use by fs: ufs
16:20:49 ---------------------------------
16:20:49 ==================================
16:20:49
16:20:49 Automated Installation Failed. See install log at
/system/volatile/install_log
Automated Installation failed
Duh ? didn't I say that it should use the whole disk ?
So what the errorlog says first:
Creating partition 1 on disk c3t2d0 will destroy existing data.
And then it later decides, NOPE, because the slice is currently in use
by a UFS ?
Sure Sherlock! I know, that's why I said:
<disk whole_disk="true">
Like in my Manifest below:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE auto_install SYSTEM "file:///usr/share/install/ai.dtd.1">
<auto_install>
<ai_instance name="default" auto_reboot="true">
<target>
<disk whole_disk="true">
<disk_keyword key="boot_disk"/>
<partition name="1" action="create" part_type="191">
<slice name="6" action="create" force="true">
<size val="100mb"/>
</slice>
<slice name="7" action="create" force="true">
<size val="100mb"/>
</slice>
<slice name="0" action="create"/>
</partition>
</disk>
</target>
<software type="IPS">
<source>
<publisher name="solaris">
<origin name="http://saeosol.us.oracle.com/s11-2011.11"/>
</publisher>
<publisher name="sae">
<origin name="http://saeosol.us.oracle.com/sae"/>
</publisher>
</source>
<software_data action="install">
<name>pkg://solaris/entire</name>
<name>pkg://solaris/group/system/solaris-large-server</name>
<name>pkg://sae/AIPostAsterix</name>
</software_data>
</software>
</ai_instance>
</auto_install>
--
Paul de Nijs | Principal Software Engineer | Performance Technologies
| +1.503.495.7882
Oracle Strategic Applications Engineering (SAE)
3295 NW 211th Terrace | Hillsboro, OR 97124-7110
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss