Solved

disk recovery

Posted on 2000-04-20
7
225 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
  • 5
  • 2
7 Comments
 
LVL 20

Expert Comment

by:tfewster
Comment Utility
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
Comment Utility
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 20

Expert Comment

by:tfewster
Comment Utility
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 20

Expert Comment

by:tfewster
Comment Utility
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
Comment Utility
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 20

Expert Comment

by:tfewster
Comment Utility
How is it going?
0
 
LVL 20

Accepted Solution

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

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
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 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…
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now