Solved

disk recovery

Posted on 2000-04-20
7
227 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
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 20

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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 20

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 20

Expert Comment

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

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 …
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

785 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