- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rewind tape
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
07-17-2003 07:15 AM
07-17-2003 07:15 AM
rewind tape
I would like to know where I am on the tape after backing up some files.
I backed up some files and now I would like to go back to couple of files and start copying from that perticular point.
I did mt -t /dev/rmt/0m fsf 27
but do not know if it really worked becuase I do not know how to check if I am at the right place to start copy again.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 07:18 AM
07-17-2003 07:18 AM
Re: rewind tape
Be sure to use /dev/rmt/0mn as the tape device because "0m" means to rewind the tape device on file close, where "0mn" means no rewind.
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 07:18 AM
07-17-2003 07:18 AM
Re: rewind tape
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 07:27 AM
07-17-2003 07:27 AM
Re: rewind tape
# mt -f /dev/rmt/0mn fsf 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 08:12 AM
07-17-2003 08:12 AM
Re: rewind tape
bbb
ccc
and now I want to go back to bbb and start copying two new files xxx and yyy
so now when I do tat tvf /dev/rmt/0m
I should see
aaa
xxx
yyy
I am sorry my question was not clear
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 03:06 PM
07-17-2003 03:06 PM
Re: rewind tape
# tar cv aaa
# tar rv bbb
# tar rv ccc
then
# mt -f /dev/rmt/0mn rew
# mt -f /dev/rmt/0mn fsf 1
# tar rv xxx
# tar rv yyy
then verify the contents of the tar image with the tar command using the appropriate device file:
# tar tvf /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 01:58 AM
07-18-2003 01:58 AM
Re: rewind tape
You cannot go backwards and forwards within a tar file.
Using tar, you can append to an existing archive but you cannot erase or replace a file within a tar archive. Think of it as a write-only medium.
You can write several tar archives to tape. In this case each archive is a separate file, so you can use 'mt' to move the tape back and forth. But you cannot append to the first archive, as it will overwrite the second archive.
Hope this helps.