Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help ufsrestore

Status
Not open for further replies.

rvarman

IS-IT--Management
Apr 24, 2003
91
FR
hi,

i've backuped my files with mthe int tape DAT DDS4 using
ufsdump -0uf /dev/rmt/0
i've tried ufsrestore with all options but i see no output comming.
ufsrestore -ifs /dev/rmt/o
ufsrestore tvf
etc

i'm sure that ufsdump works fine.
i see dumping of the 3 mountings finish with "Dump is done".
tcopy /dev:tmt/0 ufsdump.out copies about 2go data
at the end, copy aborts saying write (32767) != (32768)

i would like to see the contents of the tape using ufsrestore.

thanks for your comments.
 
Ensure that you have no typo.

try
1. ufsdump 0uf /dev/rmt/0n /dev/dsk/c?t?d?s?

2. ufsrestore -if /dev/rmt/0n
 
Try:

mt -f /dev/rmt/0 rewind

ufsrestore tvf /dev/rmt/0 > ufsfiles.txt

As far as I can see this should work to obtain you a listing of your files in file ufsfiles.txt
 
hi all,

I did again ufsdump and ufsrestore but i couldn't see the content of my tape.

ufsrestore tvf /dev/rmt/0 > ufsfiles.txt
gives a file with 0K.
you can see the output below
Thanks for your comments.


(root@blade ~/testDump)ufsdump 0uf /dev/rmt/0n /dev/dsk/c1t1d0s4
DUMP: Writing 32 Kilobyte records
DUMP: Date of this level 0 dump: Wed 02 Jul 2003 04:43:38 PM WEST
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c1t1d0s4 (blade:/applis) to /dev/rmt/0n.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Estimated 4542330 blocks (2217,93MB).
DUMP: Dumping (Pass III) [directories]
DUMP: Dumping (Pass IV) [regular files]
DUMP: 92,79% done, finished in 0:00
DUMP: 4542270 blocks (2217,91MB) on 1 volume at 3553 KB/sec
DUMP: DUMP IS DONE
DUMP: Level 0 dump on Wed 02 Jul 2003 04:43:38 PM WEST


(root@blade ~/testDump)ufsrestore -if /dev/rmt/0n
(root@blade ~/testDump)
(root@blade ~/testDump)
(root@blade ~/testDump)mt -f /dev/rmt/0 rewind
(root@blade ~/testDump)ufsrestore -tvf /dev/rmt/0 > ufsfiles.txt
(root@blade ~/testDump)ls -l
total 0
-rw-r--r-- 1 root other 0 Jun 30 12:59 dump.out
-rw-r--r-- 1 root other 0 Jul 2 17:05 ufsfiles.txt
(root@blade ~/testDump)
 
I have missed to tell you that you should rewind the tape first and then try 'ufsrestore -if /dev/rmt/0n'. But, it seems a unknown reason of no table of content from the tape. You may try to 'tar' file to the tape and read the content. Make sure it is not a bad tape.

I have tried all of these commands and it works fine in my machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top