- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: tar command on ultrium sb920c tape blade
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
тАО11-06-2009 02:48 AM
тАО11-06-2009 02:48 AM
tar command on ultrium sb920c tape blade
thanks for all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2009 10:10 AM
тАО11-07-2009 10:10 AM
Re: tar command on ultrium sb920c tape blade
The "lsscsi" command is not installed by default; use "yum install lsscsi" if you don't have it installed yet.
With older versions, run "dmesg | less" to look at the kernel message buffer: when the kernel detects the tape drive, it prints out a message that includes the device name.
Most likely the "base" device name is /dev/st0. There is typically also /dev/nst0, the "no-auto-rewind" version of the device.
If you use /dev/st0, the tape is automatically rewound back to the beginning after each tape-access command is completed. Depending on what you're doing, you may or may not want that.
On the use of the tar command: use the command "man tar" to read the manual. The "tar" command has a *lot* of options.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2009 06:48 PM
тАО11-08-2009 06:48 PM
Re: tar command on ultrium sb920c tape blade
Use 'tar' in conjunction with 'mt'
'mt'
http://man.he.net/?topic=mt§ion=all
'tar'
http://man.he.net/?topic=tar§ion=all
All Linux Man pages
http://man.he.net/
Example:
Use /dev/nst0 - no rewind as well as /dev/st0.
cd dir
tar -cvf /dev/st0 *.*
tape finishes
Verify tape
tar -Tvf /dev/st0
Use mt like so
mt /dev/nst0 fsf 1 (* move tape one record ahead *)
mt /dev/st0 rew (* rewind *)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 02:34 PM
тАО11-09-2009 02:34 PM
Re: tar command on ultrium sb920c tape blade
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 02:37 PM
тАО11-09-2009 02:37 PM