Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

disk recovery

Posted on 2000-04-20
7
Medium Priority
?
232 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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

664 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