- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: help regarding tape backup
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
Discussions
Discussions
Forums
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
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-26-2006 06:52 PM
тАО03-26-2006 06:52 PM
help regarding tape backup
I am presently taking backup of my data (about 14 gb) on tru64 using the command
tar cvf /dev/nrmt0h .
The tape i am using has capacity of 24 gb.now plz suggest me how can i reuse the same tape and start writing from the first sector itself ie i want to erase the previous data and use the tape again and again
also what is the differnce b/w tar rmt and nrmt
also how can i see the contents of the my tape
plz suggest
thanks
jessica
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2006 07:13 PM
тАО03-26-2006 07:13 PM
Re: help regarding tape backup
nrmt is "non rewind" tape, and rmt is "rewind" tape. That means, if you use:
# tar cvf /dev/nrmt0h .
you use "no rewind" tape and you can write to available tape space with another tar cvf command.
If you use:
# tar cvf /dev/rmt0h .
tape will rewind after backup is completed.
If you use second option, you will overwrite previous data.
So use # tar cvf /dev/rmt0h .
and you will use tape from beginning again and again.
See man tar.
To see the contents of the tape:
# tar tvf /dev/rmt0h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2006 07:13 PM
тАО03-26-2006 07:13 PM
Re: help regarding tape backup
0. Difference b/w rmt and nrmt: using rmt, tape drive will rewind after completion of dump/restore. nrmt will just leave the tape head beyond the dumped/restored block without rewinding the tape. rmt and nrmt are v4.x ver . device naming, /dev/tape and /dev/ntape are v5.x ver. device naming.
1. How to see the current tape contents.
As root,
# mt -f /dev/ntape/tape0_d1 online
/* the above command will rewing the tape and place the tape head on top of the first recorded media block.*/
#tar tvf /dev/ntape/tape0_d1 |more
/* the above command will list the contents as in 'ls' command o/p. */
2. To reuse the tape.
#mt -f /dev/ntape/tape0 online
/* this will rewind */
#tar cvf /dev/ntape/tape0_d1
/* this will overwrite the existing data on the tape. You need not specifically erase the current tape content.
Hope this helps.
-Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2006 08:14 PM
тАО03-26-2006 08:14 PM
Re: help regarding tape backup
/dev/nrmt0h means it is TRU64 v4.0x, not v5.x.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2006 08:59 PM
тАО03-26-2006 08:59 PM
Re: help regarding tape backup
>> rmt and nrmt are v4.x ver . device naming, /dev/tape and /dev/ntape are v5.x ver. device naming.
I meant /dev/rmt and /dev/nrmt only
-Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2006 11:10 PM
тАО03-26-2006 11:10 PM
Re: help regarding tape backup
does this mean you do not remove the tape after a backup?
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2006 05:21 AM
тАО03-27-2006 05:21 AM
Re: help regarding tape backup
tar cvf /dev/rmt0h .
This will rewind the tape and start writing from the beginin overwriting all again.