Solved

disk recovery

Posted on 2000-04-20
7
229 Views
Last Modified: 2013-12-16
Hi,
I will very much appreciate if  some one out there would think of helping me.
This is what had happened with my HP-UX box.
When I was developing a project for a client, one of my programs
accidentally ended up modifying the permissions lists of the root file system. I was planning to recover from this situation but unfortunately some one from our team rebooted the machine and now it won't come up. Needless to say that we haven't done any backup for quite a long time. So we need to recover our disks.
It just occurred to me that if I can put one of our core disk containing all our projects onto the other hp-ux machine and mount it over there I might indeed be able to get our data back. But unfortunately the other machine is showing this disk as unused. Now I have no clue of what to do next !!!.

Well I would like to hear from some one whether can
1. I recover the data on this disk
2. my root file system permissions are completely in a mess. so my system won't start up . can i recover from this situation without re-installing.
thanks in advance
sri.
0
Comment
Question by:rnsriram
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 21

Expert Comment

by:tfewster
ID: 2738520
Assuming you're using HP-UX 10.20 & LVM disks, it's possible but messy to transfer disks between machines, using vgscan to read the LVM information off the "new" disk.

As for the hosed system, you can boot from the HP-UX recovery cd, mount the root filesystem and start sorting out permissions; The booting problem will be with programs that need to be setuid root, but even sorting these out will leave you with a security nightmare, so reinstalling once you've backed up all your data would be simplest.

Questions:
- Does the boot disk contain data, or just the OS?
- Do you do seperate OS and data backups? What do you use for backups?
- How old are the backups?

0
 

Author Comment

by:rnsriram
ID: 2738583
thanks for the response.
I have HP-UX 11.0 at my place.
The systems configuration looks something like
1 root disk contains most of the OS code
2. other LVM disks contain our project data.

If I re-install the HP-UX 11.0, will I be still able to retrieve the data from one of the LVM disks or am I supposed to backup the data first, using the recovery mode u were mentioning about and then go for the installation.

I took a back up of the root disk at the time of the installation, which is about  6 months back :-)
and the last backup we did for our project disk is about 2 months back.

Thanks
Sriram.
0
 
LVL 21

Expert Comment

by:tfewster
ID: 2738752
I suggest you try recovery mode first & see if you can get a good backup of data plus /etc and /home, just in case of further disasters.

If you haven't installed any new hardware/software/patches, your root disk backup should be fine - Did you use fbackup?

I'll have to check the procedures for 11.0, as I'm only familiar with 10.20 - There may be a better way than rebuilding :)

I'll let you know as soon as I find anything.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 21

Expert Comment

by:tfewster
ID: 2738820
For details on recovery using the Core Media, refer to the "Expert"
Recovery Using the Core Media section in Chapter 6 of the
"Installing HP-UX 11.0 and Updating HP-UX 10.x to 11.0" manual

- Also available in PDF format from http://docs.hp.com/hpux/pdf/B2355-90679.pdf - I'm downloading it myself to check the process.
0
 

Author Comment

by:rnsriram
ID: 2738857
thanks for the info.
i will keep you all posted about the developments.
Hopefully this brings to the fore the importance of taking regular backups.
0
 
LVL 21

Expert Comment

by:tfewster
ID: 2749344
How is it going?
0
 
LVL 21

Accepted Solution

by:
tfewster earned 50 total points
ID: 2785885
As you haven't responded, I'll assume my comments helped you resolve the problem :)
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Parsing a file using ksh 10 82
Skill Development 15 202
Bash Script to Analyze Oracle Schemas 11 128
sed command 3 30
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question