No way to install a flar archive of Solaris 10 to Solaris 11.4 zone


 
Thread Tools Search this Thread
Operating Systems Solaris No way to install a flar archive of Solaris 10 to Solaris 11.4 zone
# 1  
Old 10-08-2018
No way to install a flar archive of Solaris 10 to Solaris 11.4 zone

I want to migrate a solaris 10 os to solaris 11.4 zone.
I did this


a)Collect some data like id sysid,disks,ip,etc..on solaris10

OK


b)Create this file.cfg with this command on solaris 10


Code:
zonep2vchk -c > /migration/sol10.cfg


OK


c)Create the archive flash on Solaris10


Code:
flarcreate -L cpio -S -n solaris10  /migration /migration/solaris10.flar



OK


d)On solaris 10 I put the flar and cfg on /migrate shared folder


OK


e)On solaris 11 I mount the folder (nfs)


Code:
mount sol10:/migrate /mnt


OK


f)I configure the zone


Code:
 zonecfg -z solaris10 -f /mnt/solaris10/sol10.cfg



OK


g)And finally I install the archive and...


FAIL!


Code:
zoneadm -z solaris10 install  -a /mnt/solaris10/sol10.flar 
The following ZFS file system(s) have been created:
    rpool/zones
    rpool/zones/solaris10
Progress being logged to /var/log/zones/zoneadm.20181008T175155Z.solaris10.install
       Image: Preparing at /zones/solaris10/root.

ERROR: archiveadm info: Execution failed: file:///mnt/solaris10/sol10.flar is not a valid Unified Archive
ERROR: Could not read info from Unified Archive '/mnt/solaris10/sol10.flar'.
zoneadm: zone 'solaris10': ERROR: installation failed: zone switching to configured state
The following ZFS file systems are being removed:
    rpool/zones/solaris10
    rpool/zones


I have tried to change options to flarcreate




Code:
flarcreate  -n solaris10  /migration /migration/solaris10.flar

Code:
flarcreate  -n solaris10  /migration -c /migration/solaris10.flar


But nothing..same error.
How to migrate?
Thanks

------ Post updated at 12:06 PM ------

Solution found,editing zone the brand must be
Code:
brand: solaris10

instead of configured

Code:
brand: solaris

This User Gave Thanks to Linusolaradm1 For This Post:
# 2  
Old 10-09-2018
Thanks for posting the solution and marking your question solved.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies

2. Solaris

Patching Procedure in Solaris 10 with sun cluster having Solaris zone

Hi Gurus I am not able to find the patching procedure for solaris 10 ( sol10 u11) to latest patchset with sun cluster having failover zones so that same I should follow. Take an instance, there are sol1 and sol2 nodes and having two failover zones like sozone1-rg and sozone2-rg and currently... (1 Reply)
Discussion started by: nick101
1 Replies

3. Solaris

Solaris 10 Restore from flar image

Hi! I want to migrate Sun Fire v240 server (sun4u) with Solaris 10 update 6 to LDOM virtual host (sun4v). I was mount NFS directory from another server in /mnt and did this steps on v240 1) I add to the /var/sadm/system/admin/.platform PLATFORM_GROUP=sun4v # cat... (1 Reply)
Discussion started by: pbubentsov
1 Replies

4. Solaris

Cannot install zone on Solaris 11

I am trying to install a zone on Solaris 11. I am following the instructions for zones intro at oracle.com (I can't post the url yet.) I get up to Listing 2 when the error occurs. # zoneadm -z testzone install The following ZFS file system(s) have been created: ... (7 Replies)
Discussion started by: Kinesia
7 Replies

5. Solaris

Solaris 8 Flar Creation/Restore

I'm new to utilizing Solaris... especially the old 8 version, but I'm trying to find out if there is a way to create a Flash Archive of a disk that can be restored on a smaller size disk or disk of varying size? (2 Replies)
Discussion started by: scifi_vixen
2 Replies

6. Solaris

Solaris 10 local zone on Solaris 11 global zone

Hi, A quick question: Can Solaris 10 local zones be moved to a Solaris 11 global zone and work well? Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies

7. Solaris

Differences of Solaris zone and Solaris Container

Hi everyone! I am in dire need to know what are the differences between a solaris zone and a solaris container.. Explanations over the net are very confusing. Please help. Thanks! (8 Replies)
Discussion started by: arah
8 Replies

8. Solaris

Solaris 9 branded zone on a Solaris 10 server

I have a T5220 running Solaris 10. I have a application that can only run on Solaris 9. I want to build a branded Solaris 9 zone for this application on the Solaris 10 Server. What steps would I need to accomplish this? (2 Replies)
Discussion started by: soupbone38
2 Replies

9. Solaris

Creating A Solaris Zone - Unable to install - Are network settings required?

Hi i have created a solaris zone but have not yet connected any network cables for this new zone, can i set the zone up without running the command 'add net' and not adding an ip or physical interface? i tried to add dummy internet settings and get this zonecfg:coddr> add net... (4 Replies)
Discussion started by: newbiesolaris10
4 Replies

10. Solaris

Jumpstart / Flar problems Solaris 10 8/07

Hi, Im trying to make a jumpstart dvd using an flar archive. I have done this before on earlier releases of Solaris 10 (Sparc). Im now trying to do the same with the 8/07 release.. Problem : After the server is installed (during first boot ) the Select keyboard layout dialog appears. I... (5 Replies)
Discussion started by: s93366
5 Replies
Login or Register to Ask a Question