Hi,
You can also do a :
fuser /cdrom to see the process # holding the cdrom.
fuser -k /cdrom -- to kill the process that is using the cdrom
If this doesn't work use the device name instead of /cdrom.
Hope this helps.
Nana
Hi Rane,
From the DB2 command line :
db2 get dbm cfg
and see what is set for SYSADM_GROUP
and make sure your ID (NT ID) is part of that group.
Hope this helps.
Regards
Nana Srinivasan
Hi Tison,
You could do this in multiple ways. Here are 3 ways you could do this.
1.
cat filename | while read FIELD1 FIELD2 FILED3
do
cp /tmpdir/$FIELD1 /otherdir/$FIELD3.$FIELD2.$FIELD1
done
2.
exec 3< filename
while read -u3 FIELD1 FIELD2 FIELD3
do
cp /tmpdir/$FIELD1...
Hi,
The SQL you are using is fine. With that statement in a file (r.sql) you can do :
db2 -tvf r.sql | grep "^RUNSTATS" > runstats.sql
This will just get the RUNSTATS statement.
In DB2 V7 there is a -x flag that gets rid of the header and footer information.
Nana
Hi Rane,
What is the OS ? What is the DB2 version and fixpack that you have installed ?
Check if you have enough space in the home directory of the instance. Also,
check the $HOME/sqllib/db2dump/db2diag.log for error messages.
Nana
Hi all,
I am trying to find the strip_size of the raid_5 ssaraid that we have on our Database server (DB2). I am using the following command to find it :
ssaraid -I -l ssa1 -n hdisk2
This doies not show the strip_size value on this system but it shows this on another system.
Can anyone tell me...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.