www.centos.org Forum Index CentOS 5 - General Support [SOLVED] Backup Slow
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Re: Backup Slow | #2 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
No guarantee that it will help with your issue, but the first thing to do is update to (or perhaps better do a fresh install of) a supported release. The current CentOS releases are CentOS 5.7 and CentOS 6.2 - probably best for new installs, unless you have a reason to stick with the EL5 series. Obsolete releases are not supported, nor is it advisable to be installing or running them. If you want to stick with your current CentOS-5 install then you should update with yum update to get to 5.7 as soon as possible. For a release that old, see the CentOS 5.6 Release Notes Section 4 for details on the recommended update procedure. If more help is needed then please provide more information about your system by running "./getinfo.sh" and showing us the output file, after updating to a supported release. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/1/13 15:46
|
|||
|
Re: Backup Slow | #3 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2009/9/24
From Brighton, UK
Posts: 6306
|
Please give examples of the tar commands that you have been using. One common problem with streaming tape drives is if you do not supply the data to the drive quickly enough then it has to stop, rewind the tape, find the correct location and resume writing again. This can sometimes be fixed by supplying a blocksize to tar so that it sends enough data to the drive to keep it busy and avoid this. Also, do you have hardware compression on or off?
|
||
|
_________________
Linux/VoIP Systems Administrator |
|||
Posted on: 2012/1/13 15:49
|
|||
|
Re: Backup Slow | #4 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2012/1/12
From
Posts: 10
|
Hi Phil,
Thanks for the response. I'll try to install 5.7 and inform you for the update. Hi Trevorh, Thanks for the response. I'm using - tar xvf file file. How to check this hardware compression? Thanks to both of you! |
||
Posted on: 2012/1/13 21:34
|
|||
|
Re: Backup Slow | #5 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2009/9/24
From Brighton, UK
Posts: 6306
|
To find out the status of your tape drive you can use something like
This should tell you if hardware compression is in use or not. It may also tell you the current hardware blocksize and it's also how you set both compression and blocksize in order to try to avoid the shoe shining that I suspect you are currently seeing. The 'mt' utility is part of the mt-st package so you may need to install that first. Reading `man mt` will show you a lot of options that can be set including setblk, drvbuffer, compression, defblksize, defdrvbuffer, defcompression - worth trying those one by one to see what, if anything, makes the difference. You can also use the '-b N' switch to tar to write N*512 bytes in each block and setting this to a decent value can help a lot. Turning on hardware compression with the mt utility is also worth trying (as is turning it off if it's already on!). |
||
|
_________________
Linux/VoIP Systems Administrator |
|||
Posted on: 2012/1/13 22:36
|
|||
|
Re: Backup Slow | #6 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2012/1/12
From
Posts: 10
|
Hi TrevorH,
Guess what? When I used block on my tar backup from 9 hours daily backup it reduced to 53mins! Thank you very much! |
||
Posted on: 2012/1/15 23:38
|
|||
|
Re: [SOLVED] Backup Slow | #7 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
On behalf of forum contributors, you are welcome. Thanks for reporting back. Marking this thread [SOLVED] for posterity.
|
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/1/15 23:44
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
rojan_babes




You cannot start a new topic.
You can view topic.