By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,018 Members | 901 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,018 IT Pros & Developers. It's quick & easy.

How to backup and restore from tape device

P: n/a
nek
Greetings,

Has anyone got the latest progress on this?

It hit me this time on W2K running DB2 V8.1.5.

It returned the following warning:

D:\Temp>db2 backup db sample to \\localhost\tape0
SQL2031W Warning! Please mount the target or source media on device
"\\localhost\tape0".
Do you want to continue(c), terminate this device only(d), abort the
utility(t)
? (c/d/t)

The tape is already in place, entering 'c' to the above query returned
the same warning message.

Changing \\localhost\tape0 to \\.\tape0 would not help either.

I was able to run 'db2 initialize tape on \\.\tape0' though.

Thank you for any hints or suggestions.
Nov 12 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
\\localhost\tape0 is a file share name, not a device name, and therefore
won't work. However, \\.\tape0 should work. Please post the content of your
dbdiag.log when running with level 4 messages enabled and/or (better!) open
a PMR.

"nek" <ne*****@hotmail.com> wrote in message
news:1a**************************@posting.google.c om...
Greetings,

Has anyone got the latest progress on this?

It hit me this time on W2K running DB2 V8.1.5.

It returned the following warning:

D:\Temp>db2 backup db sample to \\localhost\tape0
SQL2031W Warning! Please mount the target or source media on device
"\\localhost\tape0".
Do you want to continue(c), terminate this device only(d), abort the
utility(t)
? (c/d/t)

The tape is already in place, entering 'c' to the above query returned
the same warning message.

Changing \\localhost\tape0 to \\.\tape0 would not help either.

I was able to run 'db2 initialize tape on \\.\tape0' though.

Thank you for any hints or suggestions.

Nov 12 '05 #2

P: n/a
nek
Hi Mark,

Looks like media access problem (see below with level 4 setting).
Anything more can I do before getting the 'system admin' guy to look
into the problem?

Thanks!
2004-09-16-08.42.39.625000 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
database utilities sqluWriteToFileDevice Probe:86

Media controller -- device and file access denied: 0x870f0002

2004-09-16-08.42.39.640000 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
database utilities sqluMCWriteToDevice Probe:41

Media controller -- Problem writing header to local device \\.\tape0
(zrc = 0x870f0002)

2004-09-16-08.42.39.656000 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:4436 Appid:*LOCAL.DB2.016DC5224234
database utilities sqlubMWResponse Probe:5 Database:SAMPLE

DiagData
0x057F8838 : FD07 0000 32FF 5C5C 2E5C 7461 7065 3000
...2\\.\tape0.

2004-09-16-08.42.39.656001 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
oper system services sqlodelete Probe:100

Unexpected system error 0x1 has occurred.
This has been mapped to ZRC 0x83000001.

PID:5720 TID:3192 Node:000 Title: SYSTEM ERROR DESCRIPTION
Incorrect function.
2004-09-16-08.42.39.687001 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
oper system services sqlodelete Probe:100

GetLastError:
0x0190FCC0 : 0x00000001 ....

PID:5720 TID:3192 Node:000 Title: Path/Filename
\\.\tape0

"Mark Yudkin" <my***********************@nospam.org> wrote in message news:<ci**********@ngspool-d02.news.aol.com>...
\\localhost\tape0 is a file share name, not a device name, and therefore
won't work. However, \\.\tape0 should work. Please post the content of your
dbdiag.log when running with level 4 messages enabled and/or (better!) open
a PMR.

"nek" <ne*****@hotmail.com> wrote in message
news:1a**************************@posting.google.c om...
Greetings,

Has anyone got the latest progress on this?

It hit me this time on W2K running DB2 V8.1.5.

It returned the following warning:

D:\Temp>db2 backup db sample to \\localhost\tape0
SQL2031W Warning! Please mount the target or source media on device
"\\localhost\tape0".
Do you want to continue(c), terminate this device only(d), abort the
utility(t)
? (c/d/t)

The tape is already in place, entering 'c' to the above query returned
the same warning message.

Changing \\localhost\tape0 to \\.\tape0 would not help either.

I was able to run 'db2 initialize tape on \\.\tape0' though.

Thank you for any hints or suggestions.

Nov 12 '05 #3

P: n/a
Sounds to me like it might be security settings ("device and file access
denied: 0x870f0002"). Check the privileges on your backup and DB2 accounts,
as well as the security settings for both the device and the source.

"nek" <ne*****@hotmail.com> wrote in message
news:1a**************************@posting.google.c om...
Hi Mark,

Looks like media access problem (see below with level 4 setting).
Anything more can I do before getting the 'system admin' guy to look
into the problem?

Thanks!
2004-09-16-08.42.39.625000 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
database utilities sqluWriteToFileDevice Probe:86

Media controller -- device and file access denied: 0x870f0002

2004-09-16-08.42.39.640000 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
database utilities sqluMCWriteToDevice Probe:41

Media controller -- Problem writing header to local device \\.\tape0
(zrc = 0x870f0002)

2004-09-16-08.42.39.656000 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:4436 Appid:*LOCAL.DB2.016DC5224234
database utilities sqlubMWResponse Probe:5 Database:SAMPLE

DiagData
0x057F8838 : FD07 0000 32FF 5C5C 2E5C 7461 7065 3000
...2\\.\tape0.

2004-09-16-08.42.39.656001 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
oper system services sqlodelete Probe:100

Unexpected system error 0x1 has occurred.
This has been mapped to ZRC 0x83000001.

PID:5720 TID:3192 Node:000 Title: SYSTEM ERROR DESCRIPTION
Incorrect function.
2004-09-16-08.42.39.687001 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
oper system services sqlodelete Probe:100

GetLastError:
0x0190FCC0 : 0x00000001 ....

PID:5720 TID:3192 Node:000 Title: Path/Filename
\\.\tape0

"Mark Yudkin" <my***********************@nospam.org> wrote in message

news:<ci**********@ngspool-d02.news.aol.com>...
\\localhost\tape0 is a file share name, not a device name, and therefore
won't work. However, \\.\tape0 should work. Please post the content of your dbdiag.log when running with level 4 messages enabled and/or (better!) open a PMR.

"nek" <ne*****@hotmail.com> wrote in message
news:1a**************************@posting.google.c om...
Greetings,

Has anyone got the latest progress on this?

It hit me this time on W2K running DB2 V8.1.5.

It returned the following warning:

D:\Temp>db2 backup db sample to \\localhost\tape0
SQL2031W Warning! Please mount the target or source media on device
"\\localhost\tape0".
Do you want to continue(c), terminate this device only(d), abort the
utility(t)
? (c/d/t)

The tape is already in place, entering 'c' to the above query returned
the same warning message.

Changing \\localhost\tape0 to \\.\tape0 would not help either.

I was able to run 'db2 initialize tape on \\.\tape0' though.

Thank you for any hints or suggestions.

Nov 12 '05 #4

P: n/a
nek
Hi Mark,

I logged on as local admin account. So this may rule out the access
problem.

However, I'm checking with Sys admin guy to see if the access to tape
device is healthy. This is the first attempt to make use of the tape
backup.

Thanks for the suggestion.
"Mark Yudkin" <my***********************@nospam.org> wrote in message news:<ci**********@ngspool-d02.news.aol.com>...
Sounds to me like it might be security settings ("device and file access
denied: 0x870f0002"). Check the privileges on your backup and DB2 accounts,
as well as the security settings for both the device and the source.

"nek" <ne*****@hotmail.com> wrote in message
news:1a**************************@posting.google.c om...
Hi Mark,

Looks like media access problem (see below with level 4 setting).
Anything more can I do before getting the 'system admin' guy to look
into the problem?

Thanks!
2004-09-16-08.42.39.625000 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
database utilities sqluWriteToFileDevice Probe:86

Media controller -- device and file access denied: 0x870f0002

2004-09-16-08.42.39.640000 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
database utilities sqluMCWriteToDevice Probe:41

Media controller -- Problem writing header to local device \\.\tape0
(zrc = 0x870f0002)

2004-09-16-08.42.39.656000 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:4436 Appid:*LOCAL.DB2.016DC5224234
database utilities sqlubMWResponse Probe:5 Database:SAMPLE

DiagData
0x057F8838 : FD07 0000 32FF 5C5C 2E5C 7461 7065 3000
...2\\.\tape0.

2004-09-16-08.42.39.656001 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
oper system services sqlodelete Probe:100

Unexpected system error 0x1 has occurred.
This has been mapped to ZRC 0x83000001.

PID:5720 TID:3192 Node:000 Title: SYSTEM ERROR DESCRIPTION
Incorrect function.
2004-09-16-08.42.39.687001 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
oper system services sqlodelete Probe:100

GetLastError:
0x0190FCC0 : 0x00000001 ....

PID:5720 TID:3192 Node:000 Title: Path/Filename
\\.\tape0

"Mark Yudkin" <my***********************@nospam.org> wrote in message

news:<ci**********@ngspool-d02.news.aol.com>...
\\localhost\tape0 is a file share name, not a device name, and therefore
won't work. However, \\.\tape0 should work. Please post the content of your dbdiag.log when running with level 4 messages enabled and/or (better!) open a PMR.

"nek" <ne*****@hotmail.com> wrote in message
news:1a**************************@posting.google.c om...
> Greetings,
>
> Has anyone got the latest progress on this?
>
> It hit me this time on W2K running DB2 V8.1.5.
>
> It returned the following warning:
>
> D:\Temp>db2 backup db sample to \\localhost\tape0
> SQL2031W Warning! Please mount the target or source media on device
> "\\localhost\tape0".
> Do you want to continue(c), terminate this device only(d), abort the
> utility(t)
> ? (c/d/t)
>
> The tape is already in place, entering 'c' to the above query returned
> the same warning message.
>
> Changing \\localhost\tape0 to \\.\tape0 would not help either.
>
> I was able to run 'db2 initialize tape on \\.\tape0' though.
>
> Thank you for any hints or suggestions.

Nov 12 '05 #5

P: n/a
As I said, you also need to check the DB2 service account's privileges, not
just your own logon account, as well as security settings. Just because
you're a local administrator doesn't mean you can do everything - unlike
Unix (root), local administrators are not part of the system TCB.

If you're using a domain account in the local Administrators group, you'll
need to enable this (db2 variable DB2_GRP_LOOKUP=LOCAL). You may need to
redirect the DB2TEMPDIR environment variable, the default is generally not
what you want. On locked-down systems, it points into a read-only directory,
which will also cause access denied failures.

Your DB2 may well (in fact most probably) be running using a domain account
(especially if you're using Kerberos authorization), so you will have to
validate these security aspects too. Also DB2 requires privileges that it
won't have merely by being a member of the local Administrators group; these
are listed in the DB2 documentation.

Consider too that a group policy may be limiting tape access, so check that.

There's a very good "white paper" on DB2 and Windows Security on the IBM DB2
web site.

"nek" <ne*****@hotmail.com> wrote in message
news:1a*************************@posting.google.co m...
Hi Mark,

I logged on as local admin account. So this may rule out the access
problem.

However, I'm checking with Sys admin guy to see if the access to tape
device is healthy. This is the first attempt to make use of the tape
backup.

Thanks for the suggestion.
"Mark Yudkin" <my***********************@nospam.org> wrote in message

news:<ci**********@ngspool-d02.news.aol.com>...
Sounds to me like it might be security settings ("device and file access
denied: 0x870f0002"). Check the privileges on your backup and DB2 accounts, as well as the security settings for both the device and the source.

"nek" <ne*****@hotmail.com> wrote in message
news:1a**************************@posting.google.c om...
Hi Mark,

Looks like media access problem (see below with level 4 setting).
Anything more can I do before getting the 'system admin' guy to look
into the problem?

Thanks!
2004-09-16-08.42.39.625000 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
database utilities sqluWriteToFileDevice Probe:86

Media controller -- device and file access denied: 0x870f0002

2004-09-16-08.42.39.640000 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
database utilities sqluMCWriteToDevice Probe:41

Media controller -- Problem writing header to local device \\.\tape0
(zrc = 0x870f0002)

2004-09-16-08.42.39.656000 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:4436 Appid:*LOCAL.DB2.016DC5224234
database utilities sqlubMWResponse Probe:5 Database:SAMPLE

DiagData
0x057F8838 : FD07 0000 32FF 5C5C 2E5C 7461 7065 3000
...2\\.\tape0.

2004-09-16-08.42.39.656001 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
oper system services sqlodelete Probe:100

Unexpected system error 0x1 has occurred.
This has been mapped to ZRC 0x83000001.

PID:5720 TID:3192 Node:000 Title: SYSTEM ERROR DESCRIPTION
Incorrect function.
2004-09-16-08.42.39.687001 Instance:DB2 Node:000
PID:5720(db2syscs.exe) TID:3192 Appid:none
oper system services sqlodelete Probe:100

GetLastError:
0x0190FCC0 : 0x00000001 ....

PID:5720 TID:3192 Node:000 Title: Path/Filename
\\.\tape0

"Mark Yudkin" <my***********************@nospam.org> wrote in message

news:<ci**********@ngspool-d02.news.aol.com>...
> \\localhost\tape0 is a file share name, not a device name, and therefore > won't work. However, \\.\tape0 should work. Please post the content of
your
> dbdiag.log when running with level 4 messages enabled and/or
(better!) open
> a PMR.
>
> "nek" <ne*****@hotmail.com> wrote in message
> news:1a**************************@posting.google.c om...
> > Greetings,
> >
> > Has anyone got the latest progress on this?
> >
> > It hit me this time on W2K running DB2 V8.1.5.
> >
> > It returned the following warning:
> >
> > D:\Temp>db2 backup db sample to \\localhost\tape0
> > SQL2031W Warning! Please mount the target or source media on

device > > "\\localhost\tape0".
> > Do you want to continue(c), terminate this device only(d), abort the > > utility(t)
> > ? (c/d/t)
> >
> > The tape is already in place, entering 'c' to the above query returned > > the same warning message.
> >
> > Changing \\localhost\tape0 to \\.\tape0 would not help either.
> >
> > I was able to run 'db2 initialize tape on \\.\tape0' though.
> >
> > Thank you for any hints or suggestions.

Nov 12 '05 #6

P: n/a
nek
Thank you for this resourceful reply. I'll go down this path and look
into it further.

Meanwhile, may I ask which particular white paper you come cross for
Windows Security?

"Mark Yudkin" <my***********************@nospam.org> wrote in message news:<ci**********@ngspool-d02.news.aol.com>...
As I said, you also need to check the DB2 service account's privileges, not
just your own logon account, as well as security settings. Just because
you're a local administrator doesn't mean you can do everything - unlike
Unix (root), local administrators are not part of the system TCB.

If you're using a domain account in the local Administrators group, you'll
need to enable this (db2 variable DB2_GRP_LOOKUP=LOCAL). You may need to
redirect the DB2TEMPDIR environment variable, the default is generally not
what you want. On locked-down systems, it points into a read-only directory,
which will also cause access denied failures.

Your DB2 may well (in fact most probably) be running using a domain account
(especially if you're using Kerberos authorization), so you will have to
validate these security aspects too. Also DB2 requires privileges that it
won't have merely by being a member of the local Administrators group; these
are listed in the DB2 documentation.

Consider too that a group policy may be limiting tape access, so check that.

There's a very good "white paper" on DB2 and Windows Security on the IBM DB2
web site.

"nek" <ne*****@hotmail.com> wrote in message
news:1a*************************@posting.google.co m...
Hi Mark,

I logged on as local admin account. So this may rule out the access
problem.

However, I'm checking with Sys admin guy to see if the access to tape
device is healthy. This is the first attempt to make use of the tape
backup.

Thanks for the suggestion.
"Mark Yudkin" <my***********************@nospam.org> wrote in message

news:<ci**********@ngspool-d02.news.aol.com>...
Sounds to me like it might be security settings ("device and file access
denied: 0x870f0002"). Check the privileges on your backup and DB2 accounts, as well as the security settings for both the device and the source.

"nek" <ne*****@hotmail.com> wrote in message
news:1a**************************@posting.google.c om...
> Hi Mark,
>
> Looks like media access problem (see below with level 4 setting).
> Anything more can I do before getting the 'system admin' guy to look
> into the problem?
>
> Thanks!
>
>
> 2004-09-16-08.42.39.625000 Instance:DB2 Node:000
> PID:5720(db2syscs.exe) TID:3192 Appid:none
> database utilities sqluWriteToFileDevice Probe:86
>
> Media controller -- device and file access denied: 0x870f0002
>
> 2004-09-16-08.42.39.640000 Instance:DB2 Node:000
> PID:5720(db2syscs.exe) TID:3192 Appid:none
> database utilities sqluMCWriteToDevice Probe:41
>
> Media controller -- Problem writing header to local device \\.\tape0
> (zrc = 0x870f0002)
>
> 2004-09-16-08.42.39.656000 Instance:DB2 Node:000
> PID:5720(db2syscs.exe) TID:4436 Appid:*LOCAL.DB2.016DC5224234
> database utilities sqlubMWResponse Probe:5 Database:SAMPLE
>
> DiagData
> 0x057F8838 : FD07 0000 32FF 5C5C 2E5C 7461 7065 3000
> ...2\\.\tape0.
>
> 2004-09-16-08.42.39.656001 Instance:DB2 Node:000
> PID:5720(db2syscs.exe) TID:3192 Appid:none
> oper system services sqlodelete Probe:100
>
> Unexpected system error 0x1 has occurred.
> This has been mapped to ZRC 0x83000001.
>
> PID:5720 TID:3192 Node:000 Title: SYSTEM ERROR DESCRIPTION
> Incorrect function.
>
>
> 2004-09-16-08.42.39.687001 Instance:DB2 Node:000
> PID:5720(db2syscs.exe) TID:3192 Appid:none
> oper system services sqlodelete Probe:100
>
> GetLastError:
> 0x0190FCC0 : 0x00000001 ....
>
> PID:5720 TID:3192 Node:000 Title: Path/Filename
> \\.\tape0
>
>
>
> "Mark Yudkin" <my***********************@nospam.org> wrote in message news:<ci**********@ngspool-d02.news.aol.com>... > > \\localhost\tape0 is a file share name, not a device name, and therefore > > won't work. However, \\.\tape0 should work. Please post the content of
your > > dbdiag.log when running with level 4 messages enabled and/or (better!)
open > > a PMR.
> >
> > "nek" <ne*****@hotmail.com> wrote in message
> > news:1a**************************@posting.google.c om...
> > > Greetings,
> > >
> > > Has anyone got the latest progress on this?
> > >
> > > It hit me this time on W2K running DB2 V8.1.5.
> > >
> > > It returned the following warning:
> > >
> > > D:\Temp>db2 backup db sample to \\localhost\tape0
> > > SQL2031W Warning! Please mount the target or source media on device > > > "\\localhost\tape0".
> > > Do you want to continue(c), terminate this device only(d), abort the > > > utility(t)
> > > ? (c/d/t)
> > >
> > > The tape is already in place, entering 'c' to the above query returned > > > the same warning message.
> > >
> > > Changing \\localhost\tape0 to \\.\tape0 would not help either.
> > >
> > > I was able to run 'db2 initialize tape on \\.\tape0' though.
> > >
> > > Thank you for any hints or suggestions.

Nov 12 '05 #7

P: n/a
It seems to have been pulled from
http://www.ibm.com/software/data/inf...hitepapers.jsp.

There's some information at
http://publib-b.boulder.ibm.com/redb...f/portals/Data

Otherwise just search the IBM sites.

"nek" <ne*****@hotmail.com> wrote in message
news:1a**************************@posting.google.c om...
Thank you for this resourceful reply. I'll go down this path and look
into it further.

Meanwhile, may I ask which particular white paper you come cross for
Windows Security?

"Mark Yudkin" <my***********************@nospam.org> wrote in message

news:<ci**********@ngspool-d02.news.aol.com>...
As I said, you also need to check the DB2 service account's privileges, not just your own logon account, as well as security settings. Just because
you're a local administrator doesn't mean you can do everything - unlike
Unix (root), local administrators are not part of the system TCB.

If you're using a domain account in the local Administrators group, you'll need to enable this (db2 variable DB2_GRP_LOOKUP=LOCAL). You may need to
redirect the DB2TEMPDIR environment variable, the default is generally not what you want. On locked-down systems, it points into a read-only directory, which will also cause access denied failures.

Your DB2 may well (in fact most probably) be running using a domain account (especially if you're using Kerberos authorization), so you will have to
validate these security aspects too. Also DB2 requires privileges that it won't have merely by being a member of the local Administrators group; these are listed in the DB2 documentation.

Consider too that a group policy may be limiting tape access, so check that.
There's a very good "white paper" on DB2 and Windows Security on the IBM DB2 web site.

"nek" <ne*****@hotmail.com> wrote in message
news:1a*************************@posting.google.co m...
Hi Mark,

I logged on as local admin account. So this may rule out the access
problem.

However, I'm checking with Sys admin guy to see if the access to tape
device is healthy. This is the first attempt to make use of the tape
backup.

Thanks for the suggestion.
"Mark Yudkin" <my***********************@nospam.org> wrote in message

news:<ci**********@ngspool-d02.news.aol.com>...
> Sounds to me like it might be security settings ("device and file access > denied: 0x870f0002"). Check the privileges on your backup and DB2

accounts,
> as well as the security settings for both the device and the source.
>
> "nek" <ne*****@hotmail.com> wrote in message
> news:1a**************************@posting.google.c om...
> > Hi Mark,
> >
> > Looks like media access problem (see below with level 4 setting).
> > Anything more can I do before getting the 'system admin' guy to look > > into the problem?
> >
> > Thanks!
> >
> >
> > 2004-09-16-08.42.39.625000 Instance:DB2 Node:000
> > PID:5720(db2syscs.exe) TID:3192 Appid:none
> > database utilities sqluWriteToFileDevice Probe:86
> >
> > Media controller -- device and file access denied: 0x870f0002
> >
> > 2004-09-16-08.42.39.640000 Instance:DB2 Node:000
> > PID:5720(db2syscs.exe) TID:3192 Appid:none
> > database utilities sqluMCWriteToDevice Probe:41
> >
> > Media controller -- Problem writing header to local device \\.\tape0 > > (zrc = 0x870f0002)
> >
> > 2004-09-16-08.42.39.656000 Instance:DB2 Node:000
> > PID:5720(db2syscs.exe) TID:4436 Appid:*LOCAL.DB2.016DC5224234
> > database utilities sqlubMWResponse Probe:5 Database:SAMPLE
> >
> > DiagData
> > 0x057F8838 : FD07 0000 32FF 5C5C 2E5C 7461 7065 3000
> > ...2\\.\tape0.
> >
> > 2004-09-16-08.42.39.656001 Instance:DB2 Node:000
> > PID:5720(db2syscs.exe) TID:3192 Appid:none
> > oper system services sqlodelete Probe:100
> >
> > Unexpected system error 0x1 has occurred.
> > This has been mapped to ZRC 0x83000001.
> >
> > PID:5720 TID:3192 Node:000 Title: SYSTEM ERROR DESCRIPTION
> > Incorrect function.
> >
> >
> > 2004-09-16-08.42.39.687001 Instance:DB2 Node:000
> > PID:5720(db2syscs.exe) TID:3192 Appid:none
> > oper system services sqlodelete Probe:100
> >
> > GetLastError:
> > 0x0190FCC0 : 0x00000001 ....
> >
> > PID:5720 TID:3192 Node:000 Title: Path/Filename
> > \\.\tape0
> >
> >
> >
> > "Mark Yudkin" <my***********************@nospam.org> wrote in
message news:<ci**********@ngspool-d02.news.aol.com>...
> > > \\localhost\tape0 is a file share name, not a device name, and

therefore
> > > won't work. However, \\.\tape0 should work. Please post the
content of
your
> > > dbdiag.log when running with level 4 messages enabled and/or

(better!)
open
> > > a PMR.
> > >
> > > "nek" <ne*****@hotmail.com> wrote in message
> > > news:1a**************************@posting.google.c om...
> > > > Greetings,
> > > >
> > > > Has anyone got the latest progress on this?
> > > >
> > > > It hit me this time on W2K running DB2 V8.1.5.
> > > >
> > > > It returned the following warning:
> > > >
> > > > D:\Temp>db2 backup db sample to \\localhost\tape0
> > > > SQL2031W Warning! Please mount the target or source media on

device
> > > > "\\localhost\tape0".
> > > > Do you want to continue(c), terminate this device only(d),
abort the
> > > > utility(t)
> > > > ? (c/d/t)
> > > >
> > > > The tape is already in place, entering 'c' to the above query

returned
> > > > the same warning message.
> > > >
> > > > Changing \\localhost\tape0 to \\.\tape0 would not help either.
> > > >
> > > > I was able to run 'db2 initialize tape on \\.\tape0' though.
> > > >
> > > > Thank you for any hints or suggestions.

Nov 12 '05 #8

P: n/a
In article <cj**********@ngspool-d02.news.aol.com>, Mark Yudkin
(my***********************@nospam.org) says...
It seems to have been pulled from
http://www.ibm.com/software/data/inf...hitepapers.jsp.

There's some information at
http://publib-b.boulder.ibm.com/redb...f/portals/Data

Otherwise just search the IBM sites.


A lot of info from that whitepaper can also be found in the redbook
'DB2 UDB Exploitation of the Windows Environment' at
http://www.redbooks.ibm.com/abstracts/sg246893.html

It's a must-have when running DB2 on Windows.
Nov 12 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.