Flar archive creation (flash.sh)


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris BigAdmin RSS Flar archive creation (flash.sh)
# 1  
Old 01-21-2009
Flar archive creation (flash.sh)

Full Flash archive creation script. Archives uses for bare-metal recovery and systems cloning. Archive file names will be incremental as: [hostname][level]_n.flar, n=1,2... If you specify destination directory in command line, script will run in non-interactive mode.

More...
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

Solaris 10 luupgrade flash archive file system creation failed

Hey guys, I'm attempting to migrate us to a new box. First problem I had was the change in architecture going from sun4u to sun4v, we have a Sun M5000 and are moving to a Fujitsu M10-4. I figured out how to make the flash archive work between architectures. Now I appear to be running into an... (2 Replies)
Discussion started by: kaledragule
2 Replies

3. 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

4. Solaris

Flash archive with VxVM

I'm writing a design doc and I got this feedback. "Apparently flash archives have issues with VXVM root F/S's - May also impact licensing for “kick” systems. SVM may be more sensible / flexible option" The VxVM will be use global zones. i intend on using flash archives of solaris 8/9... (3 Replies)
Discussion started by: frustin
3 Replies

5. Solaris

difference between flash archive and jumpstart

Hi, Can anyone explains me the difference between solaris flash archive and jumpstart installation. Both are used to install many systems frm a centralized location , correct me if am wrong,. Clear view on this is really appreciable. Thanks in advance (3 Replies)
Discussion started by: rogerben
3 Replies

6. Solaris

How to install flash archive over the netwrok

Hi Gurus I've to install the flash archive over the network. The archive is created and directory has been shared, what else all i have to do. Once i go to install option on other system and choose FTP( flash archive only) . Will appreciate if some one can help me or directed me towards some... (9 Replies)
Discussion started by: kumarmani
9 Replies

7. Solaris

creat flash archive

I want take a flash backup by flar command for specific files like: / , /boot, /tmp I am trying this command but its not working # flar -n archive1 -f /,/boot,/tmp -F -c /home/arc1.flar Please can any body help me __.____._ (2 Replies)
Discussion started by: kmuqalled
2 Replies

8. UNIX for Dummies Questions & Answers

Flash Archive Retrival Method

Need a little help figuring out how to restore a .flar image using the Flash Archive Retrival Method. I am using Solaris 8 on a Sun V240. I boot the system using the Solaris 8 disk 1of2 and provide the necessary information asked. When the screen gets to the Flash Archive Retrival Method screen... (2 Replies)
Discussion started by: Kevin1166
2 Replies

9. Solaris

problem in creating flash archive

Dear all I am in a problem. I have created a master server on which I have install a Solaris 10 OS as well as Oracle 10g with some additional solaris packages. Now I want to create a flash archive of this server and install that flash archive on another server, so that the new server will have... (6 Replies)
Discussion started by: girish.batra
6 Replies

10. Solaris

things to include in a flash archive

I am making a flash archive to use as a base to lay down on all incoming servers. I am wondering about Sun Explorer and Sun CST. Is it ok to install these (but not configure them) on my source machine and create the archive? Im just not sure if it would cause problems down the line, like... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
Login or Register to Ask a Question
ELF_RAND(3)						   BSD Library Functions Manual 					       ELF_RAND(3)

NAME
elf_rand -- provide sequential access to the next archive member LIBRARY
ELF Access Library (libelf, -lelf) SYNOPSIS
#include <libelf.h> off_t elf_rand(Elf *archive, off_t offset); DESCRIPTION
The elf_rand() function causes the ELF descriptor archive to be adjusted so that the next call to elf_begin(3) will provide access to the ar- chive member at byte offset offset in the archive. Argument offset is the byte offset from the start of the archive to the beginning of the archive header for the desired member. Archive member offsets may be retrieved using the elf_getarsym(3) function. RETURN VALUES
Function elf_rand() returns offset if successful or zero in case of an error. EXAMPLES
To process all the members of an archive use: off_t off; Elf *archive, *e; ... cmd = ELF_C_READ; archive = elf_begin(fd, cmd, NULL); while ((e = elf_begin(fd, cmd, archive)) != (Elf *) 0) { ... process `e' here ... elf_end(e); off = ...new value...; if (elf_rand(archive, off) != off) { ... process error ... } } elf_end(archive); To rewind an archive, use: Elf *archive; ... if (elf_rand(archive, SARMAG) != SARMAG) { ... error ... } ERRORS
Function elf_rand() may fail with the following errors: [ELF_E_ARGUMENT] Argument archive was null. [ELF_E_ARGUMENT] Argument archive was not a descriptor for an ar(1) archive. [ELF_E_ARCHIVE] Argument offset did not correspond to the start of an archive member header. SEE ALSO
ar(1), elf(3), elf_begin(3), elf_end(3), elf_getarsym(3), elf_next(3), gelf(3) BSD
June 17, 2006 BSD