07-02-2016
When you issue the mksysb command to take the mksysb-image issue the mkszfile first. This command (re-)writes a file named /image.data where the sizes of all PVs, LVs, etc. in the rootvg are stated.
It is possible to edit this file and then use the edited one, this way i.e. taking a mksysb of a mirrored rootvg and restore it without mirroring onto a single disk. Without any other hints i'd start investigating this frst to find out what the culprit is. The /image.data is quite straightforward and although its content is not exactly well-documented you can understand it with some limited guesswork. Reading the man pages for mksysb and mkszfile will sure help too.
I hope this helps.
bakunin
This User Gave Thanks to bakunin For This Post:
10 More Discussions You Might Find Interesting
1. Solaris
Hello Guys,
Can before and after snapshots be used to verify successful filesystem restoration?
snapshots will be created using fssnaps and restoration is thru legato restore?
Any ideas on this? or any other ways I could verify that restoration is good?
Regards (0 Replies)
Discussion started by: MarkyBoy
0 Replies
2. Shell Programming and Scripting
Dear All,
I am using sun OS server and performing weekly backup on a tape DDS2 for log files for the past 7 days, the log file sizes are ranging between 1 - 2 G......When i want to restore a specific file from the tape, i have to restore the whole files from the tape by using the command (tar... (1 Reply)
Discussion started by: charbel
1 Replies
3. Solaris
i have 2 hardisk. Hardisk A and Hardisk B.
i have backup the oracle folder from hardisk A to hardisk B c0t0d0s4/oracle.
If i want to restore , what is the command and
what do i need to do ?
urgent help needed.
Thanks for your quick reply . (1 Reply)
Discussion started by: Farbegas
1 Replies
4. UNIX for Dummies Questions & Answers
Can anybody help me ? ?
Previously data was taken multi volume LTO Tape backup in Red hat Linux by following command : tar -cvf /dev/rmt/tps6d7v -b 1000 -M filenames , now i try to Restore it in SELS9 by following command : tar -xvf /dev/st1 -b 1000 -M filenames , it extracts only part of the... (0 Replies)
Discussion started by: pramanik
0 Replies
5. AIX
please provide me with the steps to restore from mksysb tape. i m using AIX 5.3 TL 7 (2 Replies)
Discussion started by: debasis9
2 Replies
6. AIX
Hi,
I just want to ask whether anyone has experience on restoring mksysb backup in NIM. We have taken the mksysb backup and the SPOT has been configured on NIM also. I just want to know the checkpoints before doing this. Is there any checkpoints we need to do? Do we need to unmirrorvg? This... (12 Replies)
Discussion started by: depam
12 Replies
7. AIX
I am having the Lexmark/IBM 1/2” 3490E Tape Cartridge which contains old data which had taken up some years back.
I want to know what kind of data is available and which backup product is used for backup the data and from which OS the data has been backup.
It would be helpful for me if could... (3 Replies)
Discussion started by: kmvinay
3 Replies
8. Solaris
I am trying to restore opt on my server.
my issue is, all the partitions are saved into the same back up tape.
what is the exact command to just restore /opt for example, supposing c0t0d0s7 is the partition for /opt
---------- Post updated at 01:16 PM ---------- Previous update was at... (7 Replies)
Discussion started by: feg
7 Replies
9. Shell Programming and Scripting
Hi there,
Alright I have this line that I'm working with (bash programming):
mysql -u username -pHASH ${args} < /home/site/backups/site.${args}.sql
I get this error on that line:
./restore.sh: line 51: syntax error near unexpected token `newline'
./restore.sh: line 51: `mysql -u... (5 Replies)
Discussion started by: Pandoula
5 Replies
10. Solaris
Rebooting with command: boot
Boot device: /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/disk@0,0:a File and args:
SunOS Release 5.10 Version Generic_147440-01 64-bit
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
WARNING: system call missing from bind file... (8 Replies)
Discussion started by: andersonedouard
8 Replies
LEARN ABOUT PHP
imageistruecolor
IMAGEISTRUECOLOR(3) 1 IMAGEISTRUECOLOR(3)
imageistruecolor - Finds whether an image is a truecolor image
SYNOPSIS
bool imageistruecolor (resource $image)
DESCRIPTION
imageistruecolor(3) finds whether the image $image is a truecolor image.
PARAMETERS
o $
image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3).
RETURN VALUES
Returns TRUE if the $image is truecolor, FALSE otherwise.
EXAMPLES
Example #1
Simple detection of true color image instances using imageistruecolor(3)
<?php
// $im is an image instance
// Check if image is a true color image or not
if(!imageistruecolor($im))
{
// Create a new true color image instance
$tc = imagecreatetruecolor(imagesx($im), imagesy($im));
// Copy over the pixels
imagecopy($tc, $im, 0, 0, 0, 0, imagesx($im), imagesy($im));
imagedestroy($im);
$im = $tc;
$tc = NULL;
// OR use imagepalettetotruecolor()
}
// Continue working with image instance
?>
NOTES
Note
This function requires GD 2.0.1 or later (2.0.28 or later is recommended).
SEE ALSO
imagecreatetruecolor(3), imagepalettetotruecolor(3).
PHP Documentation Group IMAGEISTRUECOLOR(3)