HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Recovering /bin /usr/sbin etc
Operating System - HP-UX
1833758
Members
2434
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-28-2004 01:02 AM
05-28-2004 01:02 AM
Recovering /bin /usr/sbin etc
We recently recovered our new server running HPux 10.2 using an Ignite make_recovery_tape. Though it has put back the OS files, direcories such as /bin /usr/sbin are missing. Hence we am unable to use commands like vi etc. We have another machine running HP ux 10.2 and have full backups(fbackup) from them. Would it be possible to frecover from those tapes. Is there any other way to get these important files like sam, vi etc.. Any suggestions would be extremely helpful Many Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2004 01:11 AM
05-28-2004 01:11 AM
Re: Recovering /bin /usr/sbin etc
Hi,
Could you load the ignite tape and list the files on that tape to a file ?
Check if /usr/sbin is on the tape if so restore it with tar from tape.
/bin is a link to /usr/bin
# mt -f /dev/rmt/?mn rew
# mt -f /dev/rmt/?mn fsf 1
# tar -tvf /dev/rmt/?mn >>/tmp/ignite_log
Hope this helps,
Robert-Jan
Could you load the ignite tape and list the files on that tape to a file ?
Check if /usr/sbin is on the tape if so restore it with tar from tape.
/bin is a link to /usr/bin
# mt -f /dev/rmt/?mn rew
# mt -f /dev/rmt/?mn fsf 1
# tar -tvf /dev/rmt/?mn >>/tmp/ignite_log
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2004 01:12 AM
05-28-2004 01:12 AM
Re: Recovering /bin /usr/sbin etc
What command did you use to create the tape?
/bin is merely a link to /usr/bin, but if /usr/bin/ isn't there then you are pretty much sunk. If both machines were patched equivalently you migh be able to restore. Check the /sbin directory for the frecover command.
I would check the tape to see precisely what is on it.
# mt -t /dev/rmt/?mn rew
# mt -t /dev/rmt/?mn fsf 1
# tar -tvf /dev/rmt/?mn > /var/tmp/ignite_index
This will generate a file with the entire contents of the tar backup of the Ignite tape. /usr SHOULD be there. If it's not then the tape did not get created successfully. What type of tape drive was used? Was this done with a cron job? If so, it is possible that the make_tape_recovery process needed a 2nd tape to complete, but since it was run via cron, you never knew. I ran into that problem once. I make sure I check everything now.
/bin is merely a link to /usr/bin, but if /usr/bin/ isn't there then you are pretty much sunk. If both machines were patched equivalently you migh be able to restore. Check the /sbin directory for the frecover command.
I would check the tape to see precisely what is on it.
# mt -t /dev/rmt/?mn rew
# mt -t /dev/rmt/?mn fsf 1
# tar -tvf /dev/rmt/?mn > /var/tmp/ignite_index
This will generate a file with the entire contents of the tar backup of the Ignite tape. /usr SHOULD be there. If it's not then the tape did not get created successfully. What type of tape drive was used? Was this done with a cron job? If so, it is possible that the make_tape_recovery process needed a 2nd tape to complete, but since it was run via cron, you never knew. I ran into that problem once. I make sure I check everything now.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP