Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
.
google site



Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-03-2005
Registered User
 

Join Date: Sep 2005
Posts: 88
TAR command , listing backed up files

I've backed up several files to tape using tar, and wish to list those that have backed up.

% tar cvf /dev/rmt/2un /s_1/oradata/pgpub/config.ora
a /s_1/oradata/pgpub/config.ora 2 tape blocks


But when I go to list the files:

% tar tvf /dev/rmt/2un
tar: tape read error


What am I doing wrong? How can I verify that it was backed up?

Thank you!
Sponsored Links
  #2 (permalink)  
Old 10-03-2005
RTM's Avatar
RTM RTM is online now Forum Advisor  
Registered User
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,061
Did you rewind the tape before giving the tar tvf command?
  #3 (permalink)  
Old 10-03-2005
Registered User
 

Join Date: Sep 2005
Posts: 88
whoops, That was it! My mistake. Thanks a ton!
  #4 (permalink)  
Old 10-03-2005
pressy's Avatar
pressy pressy is offline Forum Advisor  
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
i am not sure what the u means, but the n stands for NOrewind, so rewind your tape (mt -f /dev/rmt/2 rewind) and test it again. have a look at the mt man page

gP
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Listing Files krishna_sicsr Programming 3 04-05-2007 02:32 PM
ls command for listing the number of files jimmyc UNIX for Dummies Questions & Answers 4 03-24-2007 12:34 AM
Listing of files Vitalka Linux 1 03-02-2005 09:32 AM
Recursive directory listing without listing files psingh UNIX for Dummies Questions & Answers 4 05-10-2002 11:52 AM
Unix Backed up with Windows NT? G-Money Security 3 02-21-2002 11:09 PM



All times are GMT -4. The time now is 10:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0