Visit Our UNIX and Linux User Community


how to recover from deleted etc in solaris 9


 
Thread Tools Search this Thread
Operating Systems Solaris how to recover from deleted etc in solaris 9
# 1  
Old 06-10-2011
how to recover from deleted etc in solaris 9

Recently our Server Room got burnt and we lost everything including a sunfire V880 server. I had a backup and restored it on our 2nd server. I mistakenly restored the etc folder from the burnt server too. After rebooting the 2nd server I can't get the root directory and other volumes mounting. I have a backup of the etc folder of the second server on tape but also I can't start the tape drive to restore the backed up etc folder of the second server.
What should I do to get the tape drive to work to restore the backed up etc folder? We run Solaris 9.
Rahman
# 2  
Old 06-10-2011
You can't expect it to boot with a trashed /etc. You'll have to boot a recovery environment of some sort, maybe a Solaris installer disk, and work from there, running utilities from a prompt.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 06-10-2011
re:

What about the one I have on tape? How can I get my tape drive to work? Thanks for your response.
# 4  
Old 06-10-2011
Quote:
Originally Posted by rahmantanko
What about the one I have on tape? How can I get my tape drive to work? Thanks for your response.
That's what I mean; you'd boot to a root prompt from some sort of recovery disk, and operate the tape from there. I don't think many machines support booting from tape these days.
# 5  
Old 06-10-2011
What I mean is how can I use my tar command on the tape since when I type
[I] tar xvf /dev/rmt/0n

It tells me that device not found.
Rahman
# 6  
Old 06-10-2011
The general suggestion seems to be deleting the device file then 'drvconfig ; tapes' but all the instructions I can find are for how to use tapes on a booted system, not a livecd...
# 7  
Old 06-10-2011
perhaps you should boot recovery cd and restore etc on tape from there. you could also do it in some other, working, system.

Previous Thread | Next Thread
Test Your Knowledge in Computers #918
Difficulty: Medium
Unix time is a single signed number which increments every millisecond.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to recover the deleted file in Linux?

hi, i deleted one file from linux please let me know, if we can recover it ? if yes, pls let me know the steps to do.. (3 Replies)
Discussion started by: raghur77
3 Replies

2. UNIX for Dummies Questions & Answers

How to recover deleted file?

Hi All By mistake i have deleted some file in a directory, is there any way to get it back in Unix( i am using sh ) (2 Replies)
Discussion started by: parthmittal2007
2 Replies

3. Solaris

How to recover deleted file in Solaris?

dear all please tell me how can i recover deleted file in solaris. i am removing file with rm command. thanks in advance. (3 Replies)
Discussion started by: nikhil kasar
3 Replies

4. Emergency UNIX and Linux Support

Recover deleted partition

Hi, I have got 2 hdds (2x Seagate 7200.12, 500GB). I had two RAID volumes on them: 1: 100GB RAID0 (strip) 2: ~415GB RAID1 (mirror) due to problems with matrix I removed RAID0 and RAID1 - i thougth that all data from RAID1 would be available. Unfortunately it is not. On 1 disk I set... (7 Replies)
Discussion started by: Chrisdot
7 Replies

5. Shell Programming and Scripting

Need to Recover Deleted Files

Hi, By mistake, executed the following command : rm -rf * and ALL files got deleted. But I need to get back these files as they are very very important. Please help me how to recover this file. Its Urgent for me please. Thanks in advance. (6 Replies)
Discussion started by: unx100
6 Replies

6. UNIX for Dummies Questions & Answers

recover deleted file in unix

hi after using rm command how to recover the deleted file (7 Replies)
Discussion started by: arulkumar
7 Replies

7. Solaris

How to Recover a deleted file in SOLARIS

Anybody know how to recover a deleted file in unix Please help (3 Replies)
Discussion started by: pmsuper
3 Replies

8. AIX

recover deleted files

How to recover deleted files in AIX ? (1 Reply)
Discussion started by: vjm
1 Replies

9. UNIX for Dummies Questions & Answers

Recover deleted files

Is there a Unix tool, like in Novell, to recover accidentally deleted files? (2 Replies)
Discussion started by: kuultak
2 Replies

Featured Tech Videos