- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problem with mt -f <device name> fsf and bsf
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
05-10-2007 05:34 AM
05-10-2007 05:34 AM
problem with mt -f <device name> fsf and bsf
I am trying to do several tar jobs on one dlt tape via a non-rewinding tape driver/device.
I am able to do the first tar job without a problem. After the job is done, I run the command: mt -f /dev/rmt/7mn rewind to bring the tape back to the beginning. After that, I run the command: mt -f /dev/rmt/7mn fsf 1 to position the tape for the next tar archive. The archive appears to finish, but if I do a mt -f /dev/rmt/7mn bsf 1, there is nothing on the tape.
If I rewind the tape back the beginning, the first tar job is there, but if I rewind the tape, and then do a mt -f /dev/rmt/7mn fsf 1, there is no data.
What am I doing wrong, and how can I correct this? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2007 06:35 AM
05-10-2007 06:35 AM
Re: problem with mt -f <device name> fsf and bsf
you may need two "fsf" operations to get past
the first archive on the tape. I may be
crazy, but it should be easy enough to run
the experimant. Dim memory says that any
excess "fsf" will complain about end-of-tape,
which is a good indication of readiness to
proceed.
It's a question of (end-of-) tape marks (says
the dim memory).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2007 06:39 AM
05-10-2007 06:39 AM
Re: problem with mt -f <device name> fsf and bsf
Did you remember to use the non-rewind device file with tar ? :-)
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2007 06:42 AM
05-10-2007 06:42 AM
Re: problem with mt -f <device name> fsf and bsf
Yes I did. The syntax that I used was tar -cvf /dev/rmt/7mn .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2007 07:31 AM
05-10-2007 07:31 AM
Re: problem with mt -f <device name> fsf and bsf
While slower that using the fsf commands, you could always use dd to /dev/null to read the images that you want to skip.
Finally, even though I know you want to write multiple tar images rather than wasting all that space, ask yourself is the risk worth the cost. It is trivially easy for a single mistake with such a scheme to wipe out multiple backup images. Fbackup doesn't allow multiple images on a single medium for a reason; it's just too easy to be your own worst enemy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2007 09:24 PM
05-10-2007 09:24 PM
Re: problem with mt -f <device name> fsf and bsf
if you are going to put the new data at the end of your tape, I recommend using
mt -f /dev/nrdevice eom 1
to space to the end of the media.
Another approach may be NOT to do a rewind after the first backup job but leave the tape at the postion it is and continue with the next backup job.
Controlling the tape content - if requested - has be done after the backup of all jobs, however.
mfG Peter