- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- make_recovery
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
11-07-2003 12:58 PM
11-07-2003 12:58 PM
I am a bit new at this. Can someone tell me how do I boot up from a make_recovery tape? I need to recover the whole filesystem. Thank you.
Fim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 01:19 PM
11-07-2003 01:19 PM
Re: make_recovery
Insert the tape in the drive and boot the system.
Interupt the boot sequence by pressing spacebar and then at PDC search for the tape drive say its p0
then boot through po by typing
bo p0
Then u'll get the recovery option and select the desired, it menu based after that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 01:40 PM
11-07-2003 01:40 PM
Re: make_recovery
Thanks for the help. However, another question pop up to my mind. If I just want to recovery the whole OS that is the vg00 without any interaction, will my data on another vg be affected? Thanks
Fim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 01:46 PM
11-07-2003 01:46 PM
Re: make_recovery
Insert tape.
# mt -t /dev/rmt/0m rew (* Note, 0m *)
# mt -t /dev/rmt/0m rew
# mt -t /dev/rmt/0mn fsf 1
Note 1: 0mn - no rewind
Note 2: fsf = move tape forward one record.
This is to get past the bootlif tape record.
# tar -tvf /dev/rmt/0m > /tmp/toc_file 2>&1
Note 3: 0m = for rewind. This will keep you on the tar record.
Note 4: get the table of contents or tape index.
# tar -xvf /dev/rmt/0m "./dir/file/*"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 01:47 PM
11-07-2003 01:47 PM
Solutionwhat i recomend is take a printout of other VG and lvmtab before you do restore, that will help you restore the other VG if they didn't exist when you took you'r last make_recovery.
strings /etc/lvmtab|lp -d
vgdisplay -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 01:50 PM
11-07-2003 01:50 PM
Re: make_recovery
But booting from tape will give you flexibility to change the filesystem sizes etc..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 01:51 PM
11-07-2003 01:51 PM
Re: make_recovery
Usually no. But it depends upon how the make_recovery tape was created. You can refer to the ignite logs or use the /tmp/toc_file from the above procedure to see what's on the tape.
Also, for an automatic restore: The "..no fuss..." procedure. Just boot off of the tape and leave the tape alone and don't interact with the keyboard.
However, mirroring will not be included in the restore. So bear this in mind especially with vg00, your pri and alt boot disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 01:56 PM
11-07-2003 01:56 PM
Re: make_recovery
The reason why its call cloning is because other HP servers of the same HW class can be installed with HP-UX this way.
This procedure is also found under 'Resizing Root, Swap and Boot Logical Volumes': If interested.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 01:57 PM
11-07-2003 01:57 PM
Re: make_recovery
Please clarify.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 02:09 PM
11-07-2003 02:09 PM
Re: make_recovery
Perhaps I have to explain my situation. Some error was made when a user tried to reduce the /opt directory. So right now, when I do a bdf:
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 524288 86016 434880 17% /
/dev/vg00/lvol1 505392 58040 396808 13% /stand
/dev/vg00/lvol8 3080192 455744 2604696 15% /var
/dev/vg00/lvol7 2097152 1088320 1000976 52% /usr
/dev/vg00/lvol6 524288 86232 435336 17% /tmp
/dev/vg00/lvol13 4096000 2104 3838035 0% /oradata4
/dev/vg00/lvol12 4096000 2053962 1914414 52% /oradata3
/dev/vg01/lvol11 4096000 1999957 1965044 50% /oradata2
/dev/vg01/lvol10 4096000 2204745 1773057 55% /oradata1
/dev/vg01/lvol1 20480000 4898404 15338144 24% /oracle
/dev/vg00/lvol4 131072 2616 127512 2% /home
/dev/vg01/lvol2 20480000 93940 20067540 0% /appl
So the /opt directory is missing and fsck wouldnt work. So I have this make_recovery tape which I thought of using to recovery the /opt directory. I am not sure if the steps that I do is right. So hope you can assist me. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 02:33 PM
11-07-2003 02:33 PM
Re: make_recovery
The 'no fuss' automatic, pop the tape in and forget about it method is great as long as you remember to re-mirror everything, but it also depends on above factors.
Otherwise, because you're changing so much, especially if the tape is old, then I'd stick to the 'tar' procedure I listed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 02:43 PM
11-07-2003 02:43 PM
Re: make_recovery
# check_patches
# swverify -x=check_permissions=true \*
Check verify.log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2003 02:48 AM
11-09-2003 02:48 AM
Re: make_recovery
This is what I do in the data center.
#make_recovery -A ( complete vg00)
ensure I have a successful backup.
Now if you have to restore your system with this tape at any point, here is the option.
# interact with the boot process.
<> sea
ISL > bo p3 ( meaning p3 is my tape drive)
Do not do anything, just stay away from the system, it will go to the original root disk by default, it will link all you VGs as it was before. It will bring the system back with all the filesystem mounted.
Thanks
Pratyush