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

x
?
Solved

ufsrestore from Solaris 10 to solaris 8 zone

Posted on 2010-11-18
6
Medium Priority
?
1,218 Views
Last Modified: 2013-12-27
I am trying to restore a ufsdump file into a Solaris 8 zone on a Server & am getting stuck on this. Any ideas?
ufsrestore rf /export/home/test/test.dump                  
mount volume 2                                                    
then enter volume name (default: /export/home/test/test.dump)

My .dump file is in /export/home/test & I am trying to restore it to /zone/sol8/root/test - I am in this directory when I run the ufsrestore command.
0
Comment
Question by:itwex
[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
  • 3
  • 3
6 Comments
 
LVL 79

Expert Comment

by:arnold
ID: 34163695
What was the ufsdump directive you used?
Did you hit enter? What happened?

0
 

Author Comment

by:itwex
ID: 34163721
Yes, tried <Enter> & got the following:

Wrong volume (1)                                                  
Mount volume 2                                                    
then enter volume name (default: /export/home/test/test.dump)  

Could the dump file be corrupt?
0
 
LVL 79

Expert Comment

by:arnold
ID: 34163841
Did you use ufsdump 0f /export/home/test/test.dump?
Is it an incremental backup
ufsdump 1f /export/home/test/test.dump?

run:
ufsrestore if /export/home/test/test.dump and see if you get a different response.
0
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!

 

Author Comment

by:itwex
ID: 34164640
Hi,

I used ufsdump 0cfu filename /dev/md/dsk/d100
0
 
LVL 79

Accepted Solution

by:
arnold earned 1000 total points
ID: 34166768
The problem is your use of the c option sine you are not using a tape there is no need to use the c option.

the dump file might be made up of two sections.

when dumping to a file, do not use the c flag.
look at /etc/dumpdates to see whether it create a two section of the same dump process.
If it has, you may have to use the s flag with a section designation
ufsrestore rfs filename 1
i.e. the initial dump will be offset 0, the second will be offset of 1.
You always have to feed last tape first.
0
 

Author Closing Comment

by:itwex
ID: 34174125
Thanks for your help. Problem now sorted.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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…
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.:
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.
Suggested Courses

721 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