- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- View tape contents
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 12:44 AM
09-28-2000 12:44 AM
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 12:50 AM
09-28-2000 12:50 AM
Re: View tape contents
tar, cpio, fbackup, dump, vxdump, dd or omniback to name just a few.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 12:56 AM
09-28-2000 12:56 AM
SolutionYou need to know in what format the tape is written. The 2 most common formats are 'tar' and 'cpio'.
In order to produce a list of a 'tar' tape you would use tar tvf /dev/rmt/
A list of a 'cpio' tape could be generated using a command similar to this one: cpio -itvB < /dev/rmt/
However tapes can be written in a lot of formats - so you really should know what kind of format it has been written in in the first place. Using the above commands will not do any harm and just gives an error if the tape format is not recognized.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 01:13 AM
09-28-2000 01:13 AM
Re: View tape contents
# tar tvf /dev/rmt/0m
# cpio -ictv < /dev/rmt/0m
# frecover -vf /dev/rmt/0m -I /tmp/index
Note that tape device 0m is only used as an example. The frecover command verifies the tape and puts the index into a file caled /tmp/index .
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 01:33 AM
09-28-2000 01:33 AM
Re: View tape contents
Try:
mt -t /dev/rmt/0mn rew - This is to rewind tape
mt -t /dev/rmt/0mn fsf1 - this goes to first position
tar -vf /dev/rmt/0mn
Hope it's help
Thanks,
Augusto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 01:40 AM
09-28-2000 01:40 AM
Re: View tape contents
Try:
mt -t /dev/rmt/0mn rew - This is to rewind tape
mt -t /dev/rmt/0mn fsf1 - this goes to first position
tar -tvf /dev/rmt/0mn
Hope it's help
Thanks,
Augusto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 02:00 AM
09-28-2000 02:00 AM
Re: View tape contents
But I just need to confirm... ie if the tape is full, will it be auto ejected each time I insert into the tape drive?
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 02:06 AM
09-28-2000 02:06 AM
Re: View tape contents
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 02:17 AM
09-28-2000 02:17 AM
Re: View tape contents
Is the drive eject/reject inserted tapes??
- Some drives reject newers tapes ie DDS2 drives dont accepts DDS3 tapes ( 125 m).
- Or drive may be break.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 02:34 AM
09-28-2000 02:34 AM
Re: View tape contents
# frecover -f /dev/rmt/0m -I-
# tar tvf /dev/rmt/0m
# cpio -ictv < /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 05:33 AM
09-28-2000 05:33 AM
Re: View tape contents
Also, unless you position the tape yourself, it will always start at the beginning of the tape.
Btw, with fbackup, it always rewinds the tape before it starts so no point positioning the tape with that one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 04:23 PM
09-28-2000 04:23 PM
Re: View tape contents
To determine whether or not a tape was written to at all. (By whatever program)
Use the tcopy command.
tcopy /dev/rmt/0m
The output should be the no of files and/or block count.
Hope this helps.