Solved

ufsrestore from Solaris 10 to solaris 8 zone

Posted on 2010-11-18
6
1,174 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
  • 3
  • 3
6 Comments
 
LVL 76

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 76

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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:itwex
ID: 34164640
Hi,

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

Accepted Solution

by:
arnold earned 250 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

707 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

19 Experts available now in Live!

Get 1:1 Help Now