- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Erasing the contents of a 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
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
03-22-2005 01:48 AM
03-22-2005 01:48 AM
Erasing the contents of a tape
how can I erase the contents of a tape in order to take a new backup on this tape?
Sun Solaris, we used to write mt erase but what to write in HP-UX?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2005 01:52 AM
03-22-2005 01:52 AM
Re: Erasing the contents of a tape
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2005 01:54 AM
03-22-2005 01:54 AM
Re: Erasing the contents of a tape
You can do
tar cf
or
dd if=/dev/zero of=
that will destroy the header.
regards,
Borislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2005 01:56 AM
03-22-2005 01:56 AM
Re: Erasing the contents of a tape
no seperate command to erase tape.
If you really worried about security, either degauss the tape or fill the whole tape with a random character file.
A new backup onto the same tape will overwrite existing data.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2005 02:13 AM
03-22-2005 02:13 AM
Re: Erasing the contents of a tape
To destroy the TOC / tape header, do the following:
# tar cvf /dev/rmt/0
The best way is to write some other data across the whole length of the tape and then do the tar cvf /dev/rmt/0 to initialize.
Or, try this to overwrite the data:
dd if=/dev/zero bs=8000k of=/dev/rmt/0m.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2005 06:58 PM
03-22-2005 06:58 PM
Re: Erasing the contents of a tape
Thank you all for the reply.
But What I understand from the replies is that any backup is takeno on the tape would erase the previous contents on the tape?
But the question here is, if I want to add some new contents beside the existing contents how can I do it?
Thanks
Marwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2005 07:29 PM
03-22-2005 07:29 PM
Re: Erasing the contents of a tape
to add a backup to an existing tape you first have to get to the end of the prvious backup with the mt command and then add the new backup from there on.
man mt will give you the details.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2005 07:37 PM
03-22-2005 07:37 PM
Re: Erasing the contents of a tape
Fbackup only support one archive per tape, you cannot append the backup.
If you use tar you can append the archive.
man "mt" for details on how to manually rewind the tape.
Regards,
Paul