View previous topic :: View next topic |
Author |
Message |
chrisl456 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1165037149413f3a610f871.png)
Joined: 12 Jan 2004 Posts: 18
|
Posted: Mon May 02, 2005 11:23 pm Post subject: Why is my tape drive slow? |
|
|
Hello forum,
I'm trying to figure out why my Exabyte VXA-2 drive isn't performing up to spec (12 MB/s, see http://exabyte.com/products/products/get_products.cfm?prod_id=400&product=VXA%2D2%20Packet%20Tape%20Drive). I'm using tar like so to put data on it:
Code: | tar cvf /dev/nst0 --preserve --exclude=/backups/blah --exclude=/backups/stuff /backups |
It takes almost 14 hours to write about 86GB of data. I did some rough calculations, and came up with 120 minutes (86000 / 12 = 7166 seconds, / 60 = 119.4 minutes). So it's apparently taking 7 times as long as advertised to write to tape. The bottleneck may be the IDE drive that tar is primarily reading from - I know it's a bit slow. Other than that, I don't really know why it would be running so slow.
Any ideas? _________________ -chris |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sloden Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_pit_droid.gif)
Joined: 30 Dec 2004 Posts: 93 Location: Nidaros: Card Board Box, Second Floor
|
Posted: Tue May 03, 2005 8:26 am Post subject: |
|
|
I realize that this isn't the case, but if the speed were 12 mega 'bit' a second you'd be right on track. You might wanna try "hdparm -tT /dev/nst0" to estimate your drive specs. As i have no idea if hdparm really works with tape drives i take no responsibility whatsoever if your box decides to self implode. Good luck.
Try this:
https://forums.gentoo.org/viewtopic-t-330882-highlight-tape.html _________________ Screenshot of the month |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrisl456 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1165037149413f3a610f871.png)
Joined: 12 Jan 2004 Posts: 18
|
Posted: Tue May 03, 2005 5:12 pm Post subject: |
|
|
Yep, I've confirmed that the drive is supposed to be writing at 12 megabytes per second (PDF:http://www.exabyte.com/support/online/documentation/drives/10095413.pdf, see ch. 8).
Also, restoring off the tape takes so long that I've never really had a successful restore!
Anyone have any ideas what could be wrong?
Thanks! _________________ -chris |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cintra Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1858642424191ab7baeb49.jpg)
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Drunkula Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/99237171748f0a84052ca5.jpg)
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Tue May 03, 2005 5:33 pm Post subject: |
|
|
Instead of using nst0 can you use nht0 instead (the non-scsi-emulated ATA tape device) and see if that makes a difference. IIRC nht0 would be the correct counterpart. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|