Solaris 10 Restore from flar image


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 Restore from flar image
# 1  
Old 06-20-2016
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

Code:
# cat /var/sadm/system/admin/.platform
#PLATFORM_GROUP=sun4u
INST_ARCH=sparc
PLATFORM_NAME=SUNW,SPARCstation-fusion
PLATFORM_ID=SUNW,SPARCstation-fusion
IN_PLATFORM_GROUP=sun4u
PLATFORM_NAME=FJSV,GP
PLATFORM_ID=FJSV,GP
IN_PLATFORM_GROUP=sun4u
PLATFORM_NAME=FJSV,GPUU
PLATFORM_ID=FJSV,GPUU
IN_PLATFORM_GROUP=sun4u
PLATFORM_NAME=SUNW,Ultra-Enterprise-10000
PLATFORM_ID=SUNW,Ultra-Enterprise-10000
IN_PLATFORM_GROUP=sun4u
PLATFORM_NAME=SUNW,Ultra-1
PLATFORM_ID=SUNW,Ultra-1
IN_PLATFORM_GROUP=sun4u
PLATFORM_GROUP=sun4v

2) flarcreate -n S10U6hybrid -U "content_architectures=sun4u,sun4v"\ -c -x /oracle /mnt/S10U5hybrid.flar

# ls -lh /mnt/S10U5hybrid.flar
-rw-r--r-- 1 nobody nobody 36G Jun 20 15:44 /mnt/S10U5hybrid.flar

Code:
# flar -i /mnt/S10U5hybrid.flar
archive_id=dc099d1c8d058f90b6c1bc9f0157a86e
files_archived_method=cpio
creation_date=20160620081531
creation_master=tjk-moz
content_name=S10U6hybrid
creation_node=tjk-moz
creation_hardware_class=sun4u
creation_platform=SUNW,Sun-Fire-V240
creation_processor=sparc
creation_release=5.10
creation_os_name=SunOS
creation_os_version=Generic_150400-24
files_compressed_method=none
files_archived_size=38710129967
files_unarchived_size=38710129967
content_architectures=sun4v
type=FULL
content_architectures=sun4u,sun4v
/usr/sbin/flar[40]: print: bad option(s)

I started LDOM server from Jumpstart Solaris 10 update 7 (I also trying boot from Solaris 10u11 jumpstart with like effect)

boot net - w (or with - install option with like effect )

I chose Flash install and NFS mount option, but get ERROR: Could not find archive
I exit to shell and mount my NFS directory in local mount

Code:
# df -h
Filesystem             size   used  avail capacity  Mounted on
/ramdisk-root:a        170M   165M     0K   100%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    30G   352K    30G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
swap                    30G    99M    30G     1%    /tmp
/tmp/dev                30G    99M    30G     1%    /dev
fd                       0K     0K     0K     0%    /dev/fd
192.168.0.30:/sol10u7_install
                       300G   239G    58G    81%    /cdrom
df: cannot statvfs /platform/sun4v/lib/libc_psr.so.1: Operation not applicable
df: cannot statvfs /platform/sun4v/lib/sparcv9/libc_psr.so.1: Operation not applicable
swap                    30G     8K    30G     1%    /tmp/root/var/run
/usr/sbin/install.d/install_config
                       170M   165M     0K   100%    /tmp/_install_config
192.168.0.29:/opt/moz/
                       404G    61G   339G    16%    /mnt

# ls -l /mnt
total 126132592
-rw-r--r--   1 nobody   nobody   38586476847 Jun 20 15:44 S10U5hybrid.flar

I returned to Install Solaris with command

# install-solaris

and chose Local path option and /mnt/S10U5hybrid.flar path

but also get ERROR: Could not find archive

I was copy flar image to local drive on LDOM and also get ERROR: Could not find archive

Why?
Where is my error?

Last edited by pbubentsov; 06-20-2016 at 08:48 AM..
# 2  
Old 06-21-2016
Having this kind of issue is not new.

A Solaris flar won’t install on it’s own architecture | Fetch's Phantasma

You can use this:

Code:
 
 # flar split <flarfilename>

to split the flar file into its component parts, one of which will be a cpio archive.

Copying the flar file somewhere else and splitting it will at least enable you to check what (cpio) archive exists and that it does contain what you expected.

Last edited by hicksd8; 06-22-2016 at 09:19 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

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 zonep2vchk -c > /migration/sol10.cfg OK c)Create the archive flash on Solaris10 (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

2. Solaris

Deployment of flar image into the global zone

Hi Folks, I know that we can install the flar image inside solaris non-global or branded zones. But can we install flar image in the global zone? If yes, then how? My use case is, while preparing setups, every time i needs to install Solaris OS (say sol10) on the machine and have to install... (1 Reply)
Discussion started by: Vaishey
1 Replies

3. AIX

Restore mksysb image on cloned LPAR

Hi Folks, How to restore mksysb image on LPAR which is already having cloned AIX OS installed on hdisk0 (nothing configured, only full partition image is sitting on hdisk0) Let me know. Thank a lot. (1 Reply)
Discussion started by: snchaudhari2
1 Replies

4. AIX

AIX Tivoli Image Restore

Dear Team: I am new to this Forum and I need your help for my AIX restoration problem its very urgent my problem as follow failure I have a Tivoli Storage Manger was installed on that server. I created backup image using Tivoli and it created a set of files each file is around 2GB so... (1 Reply)
Discussion started by: Firas_Abed
1 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

"flar create" produces a tiny flar image of rpool

Hi, can someone help with the following? I got 1x146GB disk which is span by just one zfs rpool. When issue for example: as you can see in above output the flar is very small, just around 10KB rpool with all data sets has several GB so this can't be good image. This is on the Solaris 10... (3 Replies)
Discussion started by: TomSu
3 Replies

7. Solaris

flar restore with svm mirrors failing to create boot image

In a Solaris9 environment I'm trying to restore flash archive (flar) with SVM mirrored devices to same server via jumpstart server and it is failing to create boot file and drops down to a command prompt in single user mode, metastat -i and metastat -p output looks good when compared to the ones... (0 Replies)
Discussion started by: mbak
0 Replies

8. Solaris

FLAR Tape Backup/Restore

I have a T2000 server that is JumpStarted with Solaris 10 from the JumpStart server. Host name and IP address is changed after that. Then we backup the server using FLAR to tape: root.damas# date; flarcreate -c -t -n "Sol10_cairo_image" -a "engineering@starsolutions.com" -R / /dev/rmt/0n ;... (2 Replies)
Discussion started by: StarSol
2 Replies

9. Filesystems, Disks and Memory

Boot Sequence changed After Image Restore

Hello All, I backed up my RHEL 4 as an image. Then I restored the image on my machine. Everything went fine but I dont get the normal boot sequence as it used to come when I freshly installed RHEL4. The messages that are shown when the system boots are something like- " ..... EXT3-fs:... (2 Replies)
Discussion started by: shamik
2 Replies

10. AIX

AIX 5.2 Maksysb Image backup/restore

Hello, I am new to AIX, as I was primarily working on HP-UX servers. We have some production servers and a couple of lab servers. We have upgraded over 40 servers from 5.2 to 5.3 running a particular application(1) using the golden 5.3 upgraded servers copy of makesysb. We have only two... (3 Replies)
Discussion started by: dayinthelife
3 Replies
Login or Register to Ask a Question