Computing.Net > Forums > Solaris > Tape files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Tape files

Reply to Message Icon

Name: Lingkai Weng
Date: March 30, 2001 at 06:50:51 Pacific
Comment:

How to read, write and delete the files on the tape? When I go to /dev/rmt/ and type ls I can only see 0 0b 0bn ....and not files. Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: oliver
Date: April 3, 2001 at 07:05:58 Pacific
Reply:

/dev/rmt/* are the actual devices. /dev/rmt/0 would be the first tape drive, /dev/rmt/1 would be the second etc. The letters mean different things like "n" = no rewind.
# mt -f /dev/rmt/0 status should give you the status of the first tape drive

To read the contents of a tape (if in tar format)
# tar tvf /dev/rmt/0

To write to tape
# tar cvf /dev/rmt/0 /dir/to/backup

To extract the contents of the tape
# tar xvf /dev/rmt/0

Do a man on:
mt
tar
drvconfig
tapes


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Tape files

ufsdump to multiple files on a tape www.computing.net/answers/solaris/ufsdump-to-multiple-files-on-a-tape/3725.html

URGENT...RECOVER FILES IN SOLARIS www.computing.net/answers/solaris/urgentrecover-files-in-solaris/2093.html

Tape drive not recognised - ultra10 www.computing.net/answers/solaris/tape-drive-not-recognised-ultra10/4164.html