Operating System - HP-UX
1753563 Members
6169 Online
108796 Solutions
New Discussion юеВ

Re: Asking for Vol. 2 when restoring an image

 
SOLVED
Go to solution
Scott Monachello
Occasional Contributor

Asking for Vol. 2 when restoring an image

I've got Ignite 3.7.95 on HP/UX 10.20. I'm trying to take an image of a system with a whole disk file system (with 4 disks on it) and move it over to an LVM system with one 36GB disk (mirroring comes later.)

The whole system is about 8.5GB total. I use the standard make_sys_image command

make_sys_image -v -s 151.x.x.x -d /archive -l 1

and it gives me an image of 2147483647 bytes on my ignite box. Then, when I try to recover onto my new box, it loads it, then finally asks for volume 2 on the recovery box's screen.

Any helpful hints?

Thanks in advance...

3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: Asking for Vol. 2 when restoring an image

It appears that there may be a couple of things going on here:

1) The image that gets created appears to be almost exactly 2GB, so fir make sure that the filesystem you are writing to has largefiles enabled.

To check, do:

# fsadm /archive
on your 151.x.x.x box.

To enable largefiles if it is not do:

# fsadm -F vxfs -o largefiles /archive

2) If make_sys_image does any compression, I don't recall if it does or not, then make sure that you have the latest version of gzip on both systems so that gzip has the ability to create files larger than 2GB.
Steven E. Protter
Exalted Contributor

Re: Asking for Vol. 2 when restoring an image

A better procedure for making the might help.

/opt/bin/make_tape_recovery -Av -x inc_entire=vg00

If you have data in vg00, its better to have a second volume group.

If you are running a one disk system, then its better to exclude the big database files and what not anyway.

Ignite will not get clean backups of oracle,unless the database is closed(cold backup)

So here is how we do a complete system.

Backup vg01 and up with fbackup, or Veritas, all databases shut down.

Make the Ignite image of vg00.

Boot, restore Ignite. It won't touch vg01, it will leave it alone.

Restore as need be from second backup.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sridhar Bhaskarla
Honored Contributor

Re: Asking for Vol. 2 when restoring an image

Hi,

Did you update the impact information in your INDEX file?.

make_sys_image does not capture the filesystem layout. YOu will need to use save_config to capture that information.

Look at the man page of make_sys_image and others for more information.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try