01-26-2011
"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:
Quote:
hostX:/var/tmp] # flar create -n hostname -c /var/tmp/hosntameX_26012011_image.flar
Full Flash
Checking integrity...
Integrity OK.
Running precreation scripts...
Precreation scripts done.
Determining the size of the archive...
The archive will be approximately 9.48KB.
Creating the archive...
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 update7.
Has anyone seen something similar before ?
Any hints are welcome
Cheers,
Tom
10 More Discussions You Might Find Interesting
1. Solaris
I once found a document on the web describing how to build partition flar images instead of having just the one large one.
I have managed this but am having problems extracting the subsequent flar archives.
I ahve built the system from a jumpstart server and now need to add the program images etc... (0 Replies)
Discussion started by: 58fairlane
0 Replies
2. Solaris
Hello friend,
Now i'm doing JDS3.1 in v440 servers.while checking the lustatus command
getiing out like this
lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- --------... (0 Replies)
Discussion started by: rjay.com
0 Replies
3. Shell Programming and Scripting
Hello!
Sorry, for my not so perfect english!
I want to stop bash shell script execution until any key is pressed.
This line in a bash shell script
read -n1 -r -p "Press any key to continue..." key
produces this error
When I run this from the command line
usera@lynx:~$ read... (4 Replies)
Discussion started by: linuxinho
4 Replies
4. Solaris
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
5. Solaris
Hi admins,
As we can create flash archieve on solaris with flarcreate command utility,
so is there any utility like this on Linux to create flah archieves ?? (10 Replies)
Discussion started by: snchaudhari2
10 Replies
6. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
7. Solaris
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
8. Solaris
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
9. Solaris
Hi,
I have this fresh installation of Solaris 11.3 sparc.
I have two zfs pools both using two disks in mirroring mode, both are online.
I want to move /system/zones, currently rpool/VARSHARE/zones, from rpool to the other zfs pool so my zones don't consume space on the disks allocated to... (1 Reply)
Discussion started by: X96
1 Replies
10. Solaris
Hi
I have systems running UFS and ZFS file system type, and I need to create images of them ( in HP-UX ) we call it ignite, but in my case I dont have tape drives attached to the servers. I have read about flar archives, but the do I have to create those images in single user mode or using the... (8 Replies)
Discussion started by: fretagi
8 Replies
AR(1) General Commands Manual AR(1)
NAME
ar - archive and library maintainer
SYNOPSIS
ar key [ posname ] afile [ file ... ]
DESCRIPTION
Ar maintains groups of files combined into a single archive file, afile. The main use of ar is to create and update library files for the
loaders 2l(1), etc. It can be used, though, for any similar purpose.
Key is one character from the set drqtpmx, optionally concatenated with one or more of vuaibclo. The files are constituents of the archive
afile. The meanings of the key characters are:
d Delete files from the archive file.
r Replace files in the archive file, or add them if missing. Optional modifiers are
u Replace only files with modified dates later than that of the archive.
a Place new files after posname in the archive rather than at the end.
b or i Place new files before posname in the archive.
q Quick. Append files to the end of the archive without checking for duplicates. Avoids quadratic behavior in
t List a table of contents of the archive. If names are given, only those files are listed.
p Print the named files in the archive.
m Move the named files to the end or elsewhere, specified as with
o Preserve the access and modification times of files extracted with the x command.
x Extract the named files. If no names are given, all files in the archive are extracted. In neither case does x alter the archive
file.
v Verbose. Give a file-by-file description of the making of a new archive file from the old archive and the constituent files. With
p, precede each file with a name. With t, give a long listing of all information about the files, somewhat like a listing by ls(1),
showing
mode uid/gid size date name
c Create. Normally ar will create a new archive when afile does not exist, and give a warning. Option c discards any old contents
and suppresses the warning.
l Local. Normally ar places its temporary files in the directory /tmp. This option causes them to be placed in the local directory.
When a d, r, or m key is specified and all members of the archive are valid object files for the same architecture, ar inserts a table of
contents, required by the loaders, at the front of the library. The table of contents is rebuilt whenever the archive is modified, except
when the q key is specified or when the table of contents is explicitly moved or deleted.
EXAMPLE
ar cr lib.a *.o
Replace the contents of library with the object files in the current directory.
FILES
/tmp/v*
temporaries
SOURCE
/sys/src/cmd/ar.c
SEE ALSO
2l(1), ar(6)
BUGS
If the same file is mentioned twice in an argument list, it may be put in the archive twice.
This command predates Plan 9 and makes some invalid assumptions, for instance that user id's are numeric.
AR(1)