Highlighted
Absent Member.
Absent Member.
1353 views

dbcopy on Linux hangs

SLES 10.3

/opt/novell/groupwise/agents/bin/dbcopy -t 6 -k /media/nss/GW/grpwise/mypo
/mnt/qnap-m-01/backup/mypo

/mnt/qnap-m-01 is CIFS share on Qnap TS-1679U0RP

mypo is ~ 100Gb

dbcopy starts, copies upto 10Gb & then just hangs, never actually finishing

http://www.sendspace.com/file/2wsa5h

I need to kill dbcopy from SSH, as no keys work on the console (the weired
typo seen in picture)

Anybody any ideas?

To the same NAS I was sending the other day ~ 4Tb with no issue at all

Seb


Labels (2)
0 Likes
6 Replies
Highlighted
Knowledge Partner
Knowledge Partner

Re: dbcopy on Linux hangs

Sebastian Cerazy;2261757 wrote:
SLES 10.3

/opt/novell/groupwise/agents/bin/dbcopy -t 6 -k


/mnt/qnap-m-01 is CIFS share on Qnap TS-1679U0RP

mypo is ~ 100Gb

dbcopy starts, copies upto 10Gb & then just hangs, never actually finishing

Download dbcopy hang.JPG from Sendspace.com - send big files the easy way

I need to kill dbcopy from SSH, as no keys work on the console (the weired
typo seen in picture)

Anybody any ideas?

To the same NAS I was sending the other day ~ 4Tb with no issue at all

Seb


Hi Seb,

Which version of dbcopy are you using? (posting the output of 'rpm -qa|grep dbcopy' would be good)

Any clues in the log file (xxxxgwbk.0xx) that should be in /mnt/qnap-m-01/backup/mypo? Also, check if the output of 'dmesg' reveals any connection or i/o problems that might be killing the copy.


I'd be curious to know if dbcopy runs through completely, if running it to a locally placed target. Not that a mount over cifs should be a problem for dbcopy... but it is good to rule this specific mount out.

-Willem
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: dbcopy on Linux hangs

Version that corresponds to my GW setup:

novell-groupwise-dbcopy-12.0.0-98586

One day I will upgrade to SP2 ...

The log file is 0kb

I can not run it locally as I do not have another 100Gb on this server (I have only 90 Gb free on this RAID 6 array)

I used win32 dbcopy for NW to Linux migration years ago & had no problems...

dmesg does not give anything useful (as it is quite few hours too late)

Seb
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: dbcopy on Linux hangs

I only managed to get it do the 100+ Gb copy with a single thread in 3 h 40 min

Commands: -t 1 -k /media/nss/GW/grpwise/mypo /mnt/qnap-m-01/mypo

GroupWise Backup Date: 5-4-2013 7:29

**********************************************************************
Source Directory: /media/nss/GW/grpwise/mypo
Successfully lower DBCopy's running priority from 0 to 5


**********************************************************************
GroupWise Backup Completed

Backup Completion Date: 5-4-2013 11:10

Total copied data: 100299415552 bytes

Number of jobs dispatched 1535

Number of jobs processed 1535
**********************************************************************

No idea what is the culprit here

Seb
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: dbcopy on Linux hangs

Anybody having any ideas what to do?

Seb
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: dbcopy on Linux hangs

spgsitsupport wrote:

> Commands: -t 1 -k /media/nss/GW/grpwise/mypo /mnt/qnap-m-01/mypo


What's the -k for?

Have you tried without any additional switches? I.e., just

dbcopy /source/po /target/po

Does it always stop in the same place?

--
Danita
Novell Knowledge Partner
Do you have Willem Bagchus' GW 2012 Admin Guide?
http://www.facebook.com/caledonia.net
0 Likes
Highlighted
Visitor.

Re: dbcopy on Linux hangs

Extremely Important when using CIFS on SLES....

Confirm OpLocks is enabled:

cat /proc/fs/cifs/OplockEnabled
1 <-- "You Are Hosed, Have A Nice Day!"

IF you get "1" you need to disable them:

echo "0" > /proc/fs/cifs/OplockEnabled

This disabled OpLocks on your CIFS share. You can also disable OpLocks on the CIFS server end as well.

Failing to do this will cause hangs / pauses / failures on the CIFS share. You will see these as a burst of CIFS errors in the /var/log/messages and potentially in dmesg depending on how bad it gets.

-- Bob
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.