- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Customized installation media not working
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 01:25 AM
06-08-2005 01:25 AM
I woul like to ask you to help me with following problem:
We can not use Ignite server and don't want to backup on tapes regurarly. So we want to create just LIF and IMAGE files and when necessary, write them to tape. So I have created LIF and IMAGE (tar) files and wrote them to the tape.
When I boot from tape, I go through Advanced installation and choose "Go!". After creating and extending filesystems I get:
* Positioning tape (/dev/rmt/1mn).
* Archive extraction from tape is beginning. Please wait.
/: write failed, file system full
/: file system full
pax_iux: /etc/vx/type/gen/vxmake_static : No such file or directory
/: write failed, file system full
/: file system full
pax_iux: /etc/vx/type/gen/vxmend : No space left on device
... and so on until I press Ctrl+C.
When I jump to debugging shell, only "/" is mounted with size of 11MB. But in configuration it has 256MB. So why it is created so small?
Ignite is in version C.6.1.44.
Thanks for any ideas,
Ladislav Kostal
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 01:29 AM
06-08-2005 01:29 AM
Re: Customized installation media not working
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 01:36 AM
06-08-2005 01:36 AM
Re: Customized installation media not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 01:42 AM
06-08-2005 01:42 AM
Re: Customized installation media not working
YOU CAN:
man make_tape_recovery
YIELDS:
Extracting files from tape
After the system recovery tape has been created, a single file or
files can be extracted from tape by seeking to the tape position where
the archive is located. The mt command can be used to seek to the
appropriate location, and pax or tar can be used to extract files from
the archive.
To extract a single file from the recovery archive:
- 7 - Formatted: June 8, 2005
make_tape_recovery(1M) make_tape_recovery(1M)
mt -t /dev/rmt/0mn fsf 1
tar -xvf /dev/rmt/0m filename
Extracting files from tape can take a long time, especially when
archives are large.
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 01:43 AM
06-08-2005 01:43 AM
Re: Customized installation media not working
But not sure if this related to your problem or not.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 01:49 AM
06-08-2005 01:49 AM
Re: Customized installation media not working
2) We create LIF and IMAGE and copy them to second system.
3) When we need one file, we just extract it easily from .tar file on that second system.
4) When we need to recover first system, we create tape from those files on second system.
These are requirements. And now I need to get it work... Tape boots, installation starts, but I can not extract archive...
I removed "impacts" section from config file and add also "ignore impacts" flag, but with same result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 02:50 AM
06-08-2005 02:50 AM
SolutionOK, then:
(1) find a disk big enough
(2) create a directory on that disk (i created using "mkdir -p /opt/tapebackupdir")
(3) chown bin:bin /opt/tapebackupdir
(4) add export entries (see below) to /etc/exports and then "exportfs -av":
/var/opt/ignite/clients -root=vpart1
/opt/tapebackupdir -root=vpart1
(my system name is vpart1 - replace as necessary)
(5) use make_net_recovery to the localhost:
make_net_recovery -s vpart1 -a vpart1:/opt/tapebackupdir -x exclude=/opt/tapebackupdir
(6) to extract single files use gzcat:
gzcat 2005-06-08,10:17 | tar -tvf -
(-tvf list the contents of the archive not restore)
I got this from Patrick Wallek in this thread: http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=404306
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 03:06 AM
06-08-2005 03:06 AM
Re: Customized installation media not working
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 07:35 PM
06-08-2005 07:35 PM
Re: Customized installation media not working
with these error messages this looks like the problem is somehow related to your using VXVM boot disks.
I would suggest you try this again, without changing the size of any volume, just give it a GO an see if it works as expected. I do have recovered and cloned VXVM rootdisk systems from recovery tapes with C.6.1.44 so it seems not to be related to that ignite version.
Also check the config files you use for make_medialif. I take it you did not change the name rootdg to something else...
Regards
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 01:42 AM
06-09-2005 01:42 AM
Re: Customized installation media not working
I tried your solution and it worked! (except that not all was backuped, but this could be solved)
I tried same lif with my previous complete image and got same errors again.
Isn't this image just plain tar.gz of whole system? Or has something special in it?
Problem is, that we can not use NFS on system nor make_sys_image (level 1 can not exclude and level 2 removes symbolic links temporarily). So I have separated one command line for make_sys_image and created image by myself. But it isn't working :(
Thanks for your advices,
Ladislav Kostal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 09:21 PM
06-13-2005 09:21 PM
Re: Customized installation media not working
#!/usr/bin/sh
DATE=`/usr/bin/date +%Y%m%d_%H%M`
COMMON_NAME=`hostname`.$DATE
WORK_DIR=/backup
CONFIG_DIR=/var/opt/ignite/recovery/latest
RELEASE=`uname -r`
cd $WORK_DIR
/opt/ignite/bin/make_tape_recovery -v -p -f content_file
sed -e "/archive_type/s/tar/gzip tar/" $CONFIG_DIR/archive_cfg > archive_cfg
/opt/ignite/bin/make_medialif -f $CONFIG_DIR/system_cfg -f $CONFIG_DIR/control_cfg -f archive_cfg -C "$COMMON_NAME Recovery Image" -l $COMMON_NAME.lif -r $RELEASE
/opt/ignite/data/scripts/make_sys_image -d $WORK_DIR -t n -s local -n $COMMON_NAME.tgz -m t -c g -l 1 -w recovery.log -u -R -g $CONFIG_DIR/flist
Where "content_file" contains e.g.:
inc_entire vg00
exclude /test
exclude /var/adm/crash/depot
And for writing to a tape:
#!/usr/bin/sh
DEVICE="/dev/rmt/0mn"
WORK_DIR="/backup"
LAST_LIF=`ls -rt $WORK_DIR/*.lif | tail -1`
LAST_IMG=`ls -rt $WORK_DIR/*.tgz | tail -1`
echo $LAST_LIF
echo $LAST_IMG
mt -t $DEVICE rew
dd if=$LAST_LIF of=$DEVICE obs=2k
dd if=$LAST_IMG of=$DEVICE obs=10k
mt -t $DEVICE rew
Thanks all for help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 09:22 PM
06-13-2005 09:22 PM