Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Solaris 11.2 Unified Archive failed to install

1,008 views
Skip to first unread message

UUperl

unread,
Jul 17, 2014, 11:26:34 AM7/17/14
to
Hi

I used the following command to create the uar file from one of the sparc guest ldom

# archiveadm create -D rpool/uar /rpool/uar/s11v2beta_GuestArchive-v1.uar

So I tested with the .uar file that i download from Oracle website and installed fine w/o issues.
However I got the error with my archive that created:

19:40:16 Validating combined manifest and archive origin targets
19:40:16 Selected Disk(s) : c1d0
19:40:16 9% target-selection completed.
19:40:16 10% ai-configuration completed.
19:40:16 9% var-share-dataset completed.
Jul 16 19:40:08 hostname last message repeated 7 times
Jul 16 19:40:20 hostname genunix: dump on /dev/zvol/dsk/rpool/dump size 4096 MB
19:40:22 10% target-instantiation completed.
19:40:22 10% Beginning archive transfer
19:40:22 Commencing transfer of stream: 66671146-9235-4f8d-8fcb-ad058d3c32ea-0.zfs to rpool
19:40:25 Failed transfer of stream file: '66671146-9235-4f8d-8fcb-ad058d3c32ea-0.zfs.0' from http://x.x.x.x:5555/s11v2beta_GuestArchive-v1.uar
19:40:26 Stream 'rpool@66671146-9235-4f8d-8fcb-ad058d3c32ea' transfer from archive 'http://x.x.x.x:5555/s11v2beta_GuestArchive-v1.uar' failed.
19:40:26 Reason: cannot receive: dataset is busy

19:40:26 Terminating all other transfers
19:40:28 Archive transfer canceled
19:40:28 Error occurred during execution of 'generated-transfer-1312-1' checkpoint.
19:40:28 100% None
19:40:28 Failed Checkpoints:
19:40:28
19:40:28 generated-transfer-1312-1
19:40:28
19:40:28 Checkpoint execution error:
19:40:28
19:40:28 Archive Transfer Error: cannot receive: dataset is busy
19:40:29
19:40:29 Automated Installation Failed. See install log at /system/volatile/install_log
Automated Installation failed


# archiveadm info s11v2beta_GuestArchive-v1.uar
Archive Information
Creation Time: 2014-07-16T18:31:06Z
Source Host: hostname
Architecture: sparc
Operating System: Oracle Solaris 11.2 SPARC
Deployable Systems: global


# archiveadm info s11v2beta_GuestArchive-v1.uar -v
Archive Information
Creation Time: 2014-07-16T18:31:06Z
Source Host: hostname
Architecture: sparc
Operating System: Oracle Solaris 11.2 SPARC
Recovery Archive: No
Unique ID: a9a1f592-f4a3-61e9-8a05-a4bce94cc61e
Archive Version: 1.0

Deployable Systems
'global'
OS Version: 0.5.11
OS Branch: 0.175.2.0.0.37.1
Active BE: solaris
Brand: solaris
Size Needed: 2.1GB
Unique ID: 66671146-9235-4f8d-8fcb-ad058d3c32ea
AI Media: 0.175.2_ai_sparc.iso
Root-only: Yes


# cat ../manifest/guest.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
# template for guest ldom

-->
<!DOCTYPE auto_install SYSTEM "file:///usr/share/install/ai.dtd.1">
<auto_install>
<ai_instance name="guest" auto_reboot="true">
<target>
<logical>
<zpool name="rpool" is_root="true">
<!--
Subsequent <filesystem> entries instruct an installer to create
following ZFS datasets:

<root_pool>/export (mounted on /export)
<root_pool>/export/home (mounted on /export/home)

Those datasets are part of standard environment and should be
always created.

In rare cases, if there is a need to deploy an installed system
without these datasets, either comment out or remove <filesystem>
entries. In such scenario, it has to be also assured that
in case of non-interactive post-install configuration, creation
of initial user account is disabled in related system
configuration profile. Otherwise the installed system would fail
to boot.
-->
<filesystem name="export" mountpoint="/export">
<options>
<option name="quota" value="1024m"/>
</options>
</filesystem>

<filesystem name="export/home">
<options>
<option name="quota" value="1024m"/>
</options>
</filesystem>

<filesystem name="sbss" mountpoint="/data">
<options>
<option name="quota" value="1024m"/>
</options>
</filesystem>

<filesystem name="VARSHARE" mountpoint="/var/share">
<options>
<option name="quota" value="6144m"/>
</options>
</filesystem>

<filesystem name="swap">
<options>
<option name="quota" value="2048m"/>
</options>
</filesystem>

<be name="solaris"/>
</zpool>
</logical>
</target>
<software type="ARCHIVE">
<source>
<file uri="http://x.x.x.x:5555/files/s11v2beta_GuestArchive-v1.uar"/>
</source>
<software_data action="install">
<name>global</name>
</software_data>
</software>
</ai_instance>
</auto_install>

cindy.sw...@gmail.com

unread,
Jul 18, 2014, 10:59:06 AM7/18/14
to
Do you see any clues to this failure in the install log:

/system/volatile/install_log

Thanks, Cindy

pk....@gmail.com

unread,
Sep 24, 2015, 6:19:26 AM9/24/15
to
I had the same problem.
I've experimented and found that the problem occurs on systems with disabled dumps.

root@k-qhr:~# dumpadm
Dump content : kernel without ZFS metadata
Dump device : none (dumps disabled)
Savecore directory: /var/crash
Savecore enabled : no
Save compressed : on

I have it was because I greatly reduced the size of the volume rpool/dump (in order to save disk space). The system allows me to do it, but on the next boot dump is disabled due to the fact that the size of the volume is too small.
Solution:

root@k-qhr:~# zfs set volsize=1G rpool/dump
root@k-qhr:~# dumpadm -d /dev/zvol/dsk/rpool/dump
dumpadm: dump device /dev/zvol/dsk/rpool/dump is too small to hold a system dump
dump size 1.99 G, device size 1.00 G
root@k-qhr:~# zfs set volsize=2G rpool/dump
root@k-qhr:~# dumpadm -d /dev/zvol/dsk/rpool/dump
Dump content : kernel without ZFS metadata
Dump device : /dev/zvol/dsk/rpool/dump (dedicated)
Savecore directory: /var/crash
Savecore enabled : no
Save compressed : on

Now you can create archives that will work without problems!
0 new messages