ufsrestore problem


 
Thread Tools Search this Thread
Operating Systems Solaris ufsrestore problem
# 1  
Old 09-28-2005
ufsrestore problem

I created a ufsdump of a directory (opt) to a file. The partition it was on had to be resized. I resized the partition. I did a newfs on it. I remounted the partition. I ran ufsrestore fs /tmp/opt.dmp in the /opt directory. It worked the first time. Then I found out I had to resize the partition. I resized and did a newfs on the partition and mounted it. This time I get the following error several times (inode ####(inode number)) not found on volume.
What is the cause of ufsrestore not working?
# 2  
Old 09-28-2005
Quote:
Originally Posted by dredarrow
What is the cause of ufsrestore not working?
It's called a bug. Smilie

Make a list of those inode numbers. Then do a "restore -tv" to get a list of all of the file together with the inode numbers. Look at the list to see what files it was complaining about. Look on your disk to see if those files are really missing. If so extract them.
# 3  
Old 09-28-2005
I ran ufsrestore -tvf. It had:
Label: none
dir 2 .
dir 656 ./dev
dir 7567 ./dev/rmt
leaf 7735 ./dev/rmt/c1t0d0s6

I tried to extract. Nothing worked. It created a directory under /opt which was /opt/dev/rmt/ with c1t0d0s6 in the directory, which says it is a ufsdump archive file. I tried to extract that file, but no luck.
# 4  
Old 09-28-2005
There should be no such thing as /dev/rmt/c1t0d0s6. You needed to use something like /dev/rdsk/c1t0d0s6 the last parameter as when you ran ufsdump.
# 5  
Old 01-22-2006
Hi
try running in interactive mode and see if it shows you the contents of the dump.
# 6  
Old 02-07-2006
I think you can try to increase the inodes number in this file system maybe its help.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Ufsrestore

Good Afternoon, I'm going to attempt a ufsrestore of a Solaris 9 machine from a connected NAS containing the ufsdumps. The idea is to be able to take ufsdumps of a failed machine (machine 1), and use them to set up a backup machine (machine 2). (I'm testing for disaster recovery) Note... (52 Replies)
Discussion started by: Stellaman1977
52 Replies

2. Solaris

How do you ufsrestore the fast way?

hi, on my sol9 box i create my backup using the below command: /usr/sbin/ufsdump 0uf /dev/rmt/0n /u1 /usr/sbin/ufsdump 0uf /dev/rmt/0n /u2 /usr/sbin/ufsdump 0uf /dev/rmt/0n /u3 /usr/sbin/ufsdump 0uf /dev/rmt/0n /u4 now on the new sol10 box, to restore i use this commands: cd /u1... (3 Replies)
Discussion started by: pinoy43v3r
3 Replies

3. Solaris

ufsrestore

Hi , I accidentally deleted crontab entries and I need to restore back urgently ! we use a ufsdump with 0cfu option. I like to know how to restrore / retrieve to different location for crontab file only from the backup. Thanks. (4 Replies)
Discussion started by: skully
4 Replies

4. UNIX for Dummies Questions & Answers

ufsdump/ufsrestore problem

I ran ufsdump as follows............... # ufsdump 9ucf /dev/rmt/0n /dev/dsk/c1t9d0s3 DUMP: Writing 63 Kilobyte records DUMP: Date of this level 9 dump: Tue 23 Oct 2007 02:19:40 PM PDT DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rdsk/c1t9d0s3 (gambler:/apps) to... (2 Replies)
Discussion started by: shorty
2 Replies

5. Solaris

steps to ufsrestore

Hello Folks, I have to restore from remote tape sun solaris 10. It has to have mirror raid. I have to restore /,/usr, /var,/opt, /etc,/u01. Could you please give me detailed steps to do the above? I am new to solaris Thanks Ram (1 Reply)
Discussion started by: vr76413
1 Replies

6. Solaris

ufsrestore?

I'm trying to restore a server from a backup tape. I've partitioned my drive, and I've run into a problem; After extracting everything from the tape, It seems as if only the directory structure is intact. Here are my steps: 1. booted from cdrom to single user mode boot cdrom -s 2. used... (3 Replies)
Discussion started by: ECBROWN
3 Replies

7. Solaris

ufsrestore revisited,,

in ufsrestore how do i know which volume my selected folder or file exist?. (4 Replies)
Discussion started by: S26+
4 Replies

8. Solaris

ufsrestore, revisited

I just installed solaris 9 on a sunblade 150(sparc), and have it partitioned. I've been using ufsrestore to restore bring the config from my old system, to the sunblade. I'm not having any luck. The root directory restore seems to work. When I try to restore /usr, I get an "/usr/sbin/fsck not... (4 Replies)
Discussion started by: ECBROWN
4 Replies

9. Solaris

ufsrestore

on sparc solaris 2.8 hosts, HOSTB, after changing to /dir1 need to: connect to tape drive on HostA. change directory to /dir0/dir1 on tape and restore everything under that path to /dir1 directory. could i get help?. (1 Reply)
Discussion started by: S26+
1 Replies

10. UNIX for Dummies Questions & Answers

ufsrestore -i

Hi there, I have a problem at the moment trying to restore a directory from a Super DLT tape with about 3 weeks worth of backups on it. I need to be able to get the last backup performed on this tape but using ufsrestore -i it only restores the first backup which is no good to me. There is... (4 Replies)
Discussion started by: gerwhelan
4 Replies
Login or Register to Ask a Question