- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to see the activity of tape devices
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-13-2003 11:56 PM
05-13-2003 11:56 PM
I'm trying to see the activity (kBytes per second) of my tape drives when a backup is running. But neither sar nor iostat nor glance report that, they all report disk activity.
How can I see the tape activity ?
Thanx in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:03 AM
05-14-2003 12:03 AM
Re: how to see the activity of tape devices
If you use a high level, but expensive, backup tool such as Omniback, Netbackup or Networker then these show you the transfer rate as the backup progresses (in stages).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:12 AM
05-14-2003 12:12 AM
Re: how to see the activity of tape devices
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 01:10 AM
05-14-2003 01:10 AM
Re: how to see the activity of tape devices
I think OB2 uses a run-length encode algorithm (or any other compression method) to dump those 650 GB into the 4 cartridges.
P.D: in my OB2 configurations, the checkboxes 'compress' and 'encode' are disabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 01:20 AM
05-14-2003 01:20 AM
Re: how to see the activity of tape devices
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 01:23 AM
05-14-2003 01:23 AM
Re: how to see the activity of tape devices
Ive found that in glance if you monitor the fbackupwrtr process and the offset for the tape drive over 60 seconds it does seem to accuately report the amount of data going to the DLT drive, ie. on our DLT7000 it adds up to around 38GB/hr which is accurate - our daily fbackup backups get around the same figure.
However, using lsof to monitor the same fbackupwrtr process and its offset seems to report different figures over 60 seconds. Ive been monitoring a backup now and calculating the difference in offset (its in hex) and in terms of GB/Hr its reporting around 34 GB/hr, pretty close. You could easily write a script to monitor this using lsof.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 01:34 AM
05-14-2003 01:34 AM
Re: how to see the activity of tape devices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 01:39 AM
05-14-2003 01:39 AM
Re: how to see the activity of tape devices
So the offset of the tape should refect somehow the amount of backed up data. Assuming that the drive does HW compression (i.e. you use a device special that allos HW compression like *BEST*), then of course you may see much more date going to the drive than expected.
As a test you can dd from /dev/zero to the compressing drive and watch how much zeros can fit on that medium! :-) Simply, because the stream can be compressed efficiently.
Maybe, your raw device's contents can be compressed quite easily. There is a "tapeinfo" tool available that allows you to read the drive's compression statistics. Let me know if you are interested in this tool (forename.surname@hp.com).
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 01:54 AM
05-14-2003 01:54 AM
Re: how to see the activity of tape devices
http://quantum.broaddaylight.com/quantum/FAQ_17_183.shtm
and since you use raw devices there could be a higher compression ratio.
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 02:00 AM
05-14-2003 02:00 AM
Solutionlssf /dev/rmt/XXX
If it says best density then compression is on. You can be sure by creating a new /dev/rmt file with mksf (see man mksf - there are the options for compression or no comperssion for a tape device, so you could create new device files with/without compression and then write to them).
I have a script now to monitor the speed data is being written to a tape drive;
let x=$(lsof|grep "/dev/rmt"|awk '{print $7}')
while true
do
sleep 60
let z=$(lsof|grep "/dev/rmt"|awk '{print $7}')
let y=$z-$x
let y=$y/1000000
let u=$y/60;echo "${y} Mb/min, ${u} Mb/sec over last minute"
let x=$z
done
All you need is lsof installed and a current backup running at the time to a /dev/rmt device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 02:07 AM
05-14-2003 02:07 AM
Re: how to see the activity of tape devices
You should distinguish between hardware and software compression, OmniBack can use both. If hardware compression is on and software compression off (which should be normal) you can rely on the data amount OmniBack displays, this is the data actually sent to the drive. The drive then uses an internal compression algorithm (LZW) to compress the data which in your case makes it possible to fit 650 GB data on four cartridges.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 02:37 AM
05-14-2003 02:37 AM
Re: how to see the activity of tape devices
Thanks for the script (brilliant)
Kind regards,
Robert-Jan.
0 points please