- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to write using tar after the last file in...
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
11-27-2006 07:51 PM
11-27-2006 07:51 PM
I've written some files to a tape using tar with no rewind option
I want to list the files in tape and i'll be using tar -tvf option.
I presume that listing the tape will rewind the tape automatically , if not it will atleast request me to rewind the tape.
In either case what should i do to make the tape point to the location where it has written the last file so that i can start writting to the tape again without losing my earlier files.
Sorry if it is a beginner's question!!! :-(
Thanks,
Siva
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2006 07:58 PM
11-27-2006 07:58 PM
Re: How to write using tar after the last file in the tape
i'm not absolutely sure but you can try with "-r" option .
hth
regards
pg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2006 08:03 PM
11-27-2006 08:03 PM
Solutionplease see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=205964
More details on mt command options (bsf,fsf) "man mt"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2006 12:29 AM
11-28-2006 12:29 AM
Re: How to write using tar after the last file in the tape
From the man page. "Add the named file to the end of the archive. The same blocking factor used to create the archive must be used to append to it. This option cannot be used if the archive is a tape."
Check out this thread, it might help:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=734220
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2006 12:33 AM
11-28-2006 12:33 AM
Re: How to write using tar after the last file in the tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2006 01:50 AM
11-29-2006 01:50 AM
Re: How to write using tar after the last file in the tape
Try this command
mt -f /dev/rmt/0mn offl
It rewinds the tape and goes off line. (Note: substitute the device name as appropriate).
Geetha.