473,386 Members | 1,796 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

DB2 for Linux - Backup to NFS filesystem?

I'm trying to take an offline backup on Linux to an NFS mounted
filesystem. I have no trouble creating files or directories manually
in this filesystem. Here's the df -h for it:
Filesystem Size Used Avail Use% Mounted on
<IPaddressHere - ommitted>:/db2backup
84G 677M 82G 1% /mnt1
Each time I try the backup, no matter what buffer size I use, I get:
SQL2025N An I/O error "" occurred on media "6".
No return code, and a media of "6" - strange. And this is written to
the db2diag.log:
2003-10-30-09.58.04.927844 Instance:crawl Node:000
PID:7190(db2med.16302.0) Appid:none
oper_system_services sqloflock Probe:36

errno: 2500 0000 %...
2003-10-30-09.58.04.932820 Instance:crawl Node:000
PID:7190(db2med.16302.0) Appid:none
database_utilities sqluifdev Probe:49

DiagData
06d6 ffff ....
2003-10-30-09.58.04.935664 Instance:crawl Node:000
PID:7190(db2med.16302.0) Appid:none
database_utilities sqluMCInitBackupMC Probe:80

Media controller -- device initialization warning

2003-10-30-09.58.04.938661 Instance:crawl Node:000
PID:16302(db2agent (FOUNTAIN)) Appid:*LOCAL.crawl.03103014420
database_utilities sqlubMWResponse Probe:5 Database:FOUNTAIN

DiagData
17f8 ffff ff36 ff2f 6d6e 7431 2f46 4f55 .....6./mnt1/FOU
4e54 4149 4e2e 302e 6372 6177 6c2e 4e4f NTAIN.0.crawl.NO
4445 3030 3030 2e43 4154 4e30 3030 302e DE0000.CATN0000.
3230 3033 3130 3330 3039 3538 3034 2e30 20031030095804.0
3031 00 01.
2003-10-30-09.58.04.944622 Instance:crawl Node:000
PID:16302(db2agent (FOUNTAIN)) Appid:*LOCAL.crawl.03103014420
database_utilities sqlubMWResponse Probe:10 Database:FOUNTAIN

DiagData
17f8 ffff ....
2003-10-30-09.58.04.954810 Instance:crawl Node:000
PID:16302(db2agent (FOUNTAIN)) Appid:*LOCAL.crawl.03103014420
database_utilities sqlubcka Probe:0 Database:FOUNTAIN

Backup terminated.

Any suggestions on what I migth try? We've done this on AIX before,
but never on Linux, so I'm worried that backups to NFS on Linux simply
aren't supported.

Thanks,
Ember
Nov 12 '05 #1
1 6386
In article <7c*************************@posting.google.com> ,
Ember <da****@hotmail.com> wrote:
I'm trying to take an offline backup on Linux to an NFS mounted
filesystem. I have no trouble creating files or directories manually
in this filesystem. Here's the df -h for it:
Filesystem Size Used Avail Use% Mounted on
<IPaddressHere - ommitted>:/db2backup
84G 677M 82G 1% /mnt1
Each time I try the backup, no matter what buffer size I use, I get:
SQL2025N An I/O error "" occurred on media "6".
No return code, and a media of "6" - strange. And this is written to
the db2diag.log:
2003-10-30-09.58.04.927844 Instance:crawl Node:000
PID:7190(db2med.16302.0) Appid:none
oper_system_services sqloflock Probe:36

errno: 2500 0000 %...


That's an ENOLCK (errno = 37, or 25 hex). It means that DB2 is trying
to lock a file but can't. I suspect your nfs mounting options are not
allowing locking over nfs.

WW
--
Susan Williams
Technical Lead, DB2 on Linux
su******@vnet.ibm.com
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tim Gahnstrom | last post by:
rdiff-backup is aperently written in Python and when I run it in a special way I get some funy Python errors. Does anyone know if linux python have some issues with working with fat32 or usb...
1
by: L. Bertolini | last post by:
We're considering purchasing an application, which stores some data in the filesystem, and some data (meta data and links to files) in MS-SQL. We need to be able to create a backup wherein the...
23
by: Rudolf Bargholz | last post by:
Hi, I have a ralatively simple SQL: select FK from TABLE where upper(A) like 'B%' and upper(C) like 'D%' We have DB2 UDB v7.1 FP 12 installed on Linux and on Windows 2003 On Linux using...
30
by: Christopher Kurtis Koeber | last post by:
Here is the story from Linux.org: http://www.linux.org/news/2004/10/05/0009.html I just want to know what everyone thinks on the issue. What will all of us VB developers do, there isn't much of...
10
by: Konstantin Andreev | last post by:
Hello. Some time ago I asked in this conference, - How to use an ONLINE BACKUP to restore database onto another system? - but got no answers. Therefore I can conclude it is not possible. But......
3
by: Bruno LIVERNAIS | last post by:
Hi, We are currently installing a DB2 V9 ESE on a Linux server (RHEL4U4-x86_64). Installation runs successfully on each node. Database user environment is OK and the instance is well created. To...
3
by: william.david.anderson | last post by:
Hi there, I have a newbie question about backing up our database on our Solaris system. I was reading the "Data Recovery and High Availability Guide and Reference", but didn't see any...
3
by: aka | last post by:
Hi, I'm actually working on the migration of a DB2 unicode db (V8.2 FP 15) from a Sunfire machine with SunOS (64 bit, Big-endian) to an AIX 5.3 (64-bit, Big-endian) server located in US. The...
1
Nepomuk
by: Nepomuk | last post by:
In most modern distributions of Linux and Unix (at least ones with graphical environments like KDE, Gnome or XFCE), you get to mount your partitions easily from the desktop. In some cases however, it...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.