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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tape Error

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Hi All,

I am facing a very peculiar problem.I have a 4mm tape in which I had copied two filesystems using ufsdump utility.Both fs were on separate files on tape.I used the following cmd to backup:
ufsdump 0uf /dev/rmt/0mn /data01
ufsdump 0uf /dev/rmt/0mn /data02
Today when I tried to restore,I was able to restore from each file once.During restore it asked me the mount volume which I gave 1(one) in both case.Now when I again tried to restore using 'ufsrestore -i' command,it asked me to enter the name of volume 2.When I press enter for default it then asked me name for volume 3 and so on.....

Please help me to recover the files.....what should I do for that......????
 
To add to the above problem...I had given four commands:
mt -f /dev/rmt/0mn eom
mt -f /dev/rmt/0mn rewind
mt -f /dev/rmt/0mn eof
mt -f /dev/rmt/0mn stat

It then showed that I was at the beginning of file=1....
When I tried to restore it gave me the above errors/problem
 
In your rewind command, you appear to be using /dev/rmt/0mn, ie the no-rewind version of the device. This will confuse things significantly in that the tape will not rewind! Take off the n from the device name and you might find that things work as you expect. If not, get back to us. Cheers.
 
Hi,
I tried to rewind without n option and it showed that it was on file no=0 but when i gave the command ufsrestore -i it again asked me to mount volume 2.....

Any ideas......pl. help....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top