If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > raw

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-11-03, 02:35
jagan_5378 jagan_5378 is offline
Registered User
 
Join Date: Nov 2003
Posts: 68
raw

hi to all

how to create tablespace on raw devie.
we are using db2 on linux.
db2 version 7.2 linux 6.2
i want to create table space on /dev/raw/raw1.

while creating data base on above location i got error message.
that messges are

create tablespace kalatab managed by database using (device '/dev/raw/raw2' 20480)
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0298N Bad container path. SQLSTATE=428B2

create tablespace kalatab managed by database using (device '/dev/raw/raw1' 20480)
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0902C A system error (reason code = "

plese tell me y it is comming .
Reply With Quote
  #2 (permalink)  
Old 11-11-03, 04:03
jsander jsander is offline
Registered User
 
Join Date: Apr 2003
Posts: 191
Re: raw

Hi,

what distribution & version of Linux are you on? I believe just newer kernel releases allow for the creation of raw devices.

DB2's first error message implies there is just no such container like the one you mentioned.

Johann

Quote:
Originally posted by jagan_5378
hi to all

how to create tablespace on raw devie.
we are using db2 on linux.
db2 version 7.2 linux 6.2
i want to create table space on /dev/raw/raw1.

while creating data base on above location i got error message.
that messges are

create tablespace kalatab managed by database using (device '/dev/raw/raw2' 20480)
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0298N Bad container path. SQLSTATE=428B2

create tablespace kalatab managed by database using (device '/dev/raw/raw1' 20480)
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0902C A system error (reason code = "

plese tell me y it is comming .
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On