• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 699
  • Last Modified:

very long times to copy files on local disks

Server SUN M4000.
       0. c0t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
       1. c0t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>

Disk's RAID1 with SDS


we have 2 Servers with a SUN One Directory Server 5.2 installed.
Both are in multimaster Replication since 2010/Feb.
Every Night a binary backup of DB Files running in a time of 1 Hour or less.
Since 2010/Jul/10 a db2bak (Binary Backup of Database Files)
run up to 9 Hours on both Servers!
At Jul/09 an Jul/10 no changes are made by the systems.

The producer and I find no solution until now...
Does anyone have ideas or tips?



  • 2
1 Solution
cure4youAuthor Commented:
thea are 765 db3 files to back up. The Size of all db3 files (inclusiv changelog) are 40 GB.
The Changelog sizes only are 24 GB.
The Changelog Size increases every day 70 MB.
The Bigest Changelog are 16864568 bytes.
how do you "copy" the files ?

try to replicate the backup transfer and check the results of
iostat -nxz on both side
Mohan ShivaiahCommented:
/usr/bin/rsync -avz --ignore-existing user@x.x.x.x:/path_of_the_new_location
x.x.x.x=Ipaddress of the server where u want to take the backup
If you want to take the backup in the same server just replace "user@x.x.x.x:/path_of_the_new_location" with the path.
cure4youAuthor Commented:
The Tools that have copied the database is "db2back" and "db2ldif". Both are binaries from SUN Directory Server.

The Source of the Problem was the very large changelogs (3 files up to 16 GB).
All in all 40 GB Changelogs, that was handled by the slapd-process during the db2bak (copy db) or db2ldif was running.
Normaly that's no Problem, but with this large changelog it is still a Problem or a Bug in the sharing of the database files
between ns-slapd and db2bak at the same runtime.
We have rebuild the changelogs , the size of this changelogs now are 3 GB and the Problem has gone away.

Thanks at All,

Robby Lehmann

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now