CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - General Support
  [SOLVED] Backup Slow

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  rojan_babes
      rojan_babes
[SOLVED] Backup Slow
#1
Newbie
Joined: 2012/1/12
From
Posts: 10
Hi Centos,
I install Centos5.4 to my new server (IBMx3650M3, 24Gb memory, 2Tb Harddisk, ServeRAIDm5014, 6Gb SAS HBA), and I'm not satisfied with the duration of backup it takes 9-13 hours backing up 446GB only. I'm using tar commands and my tape drive is IBM 8765-1UX, tape-IBM LTO ULTRIUM 400GB Data Cartridge.
Is there any solution on this to make it fast backup? I'm thinking 2 hours of backup with this my specs.
Posted on: 2012/1/12 23:18
Create PDF from Post Print
Top
  •  pschaff
      pschaff
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
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
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
Create PDF from Post Print
Top
  •  rojan_babes
      rojan_babes
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
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
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

mt -f <tapedevice> status


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
Create PDF from Post Print
Top
  •  rojan_babes
      rojan_babes
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
Create PDF from Post Print
Top
  •  pschaff
      pschaff
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
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com