Go Premium for a chance to win a PS4. Enter to Win


disk recovery

Posted on 2000-04-20
Medium Priority
Last Modified: 2013-12-16
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
Question by:rnsriram
  • 5
  • 2
LVL 21

Expert Comment

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.

- 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?


Author Comment

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.

LVL 21

Expert Comment

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.
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

LVL 21

Expert Comment

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.

Author Comment

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.
LVL 21

Expert Comment

ID: 2749344
How is it going?
LVL 21

Accepted Solution

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

Featured Post

Independent Software Vendors: 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!

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

927 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