473,396 Members | 1,998 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,396 software developers and data experts.

add storage

Hello,

I am beginner with db2 ( DB2 v9.1.0.1 running on RHEL 4); this is my
first post.

I have this error " SQL0968C The file system is full. SQLSTATE=57011""
in my instance configured with AUTO STORAGE ON & AUTORESIZE (indeed,
the file system was almost full)

I tried to add new storage using "alter database XX add storage
on" ; command runs successfully but the new space is not use by db2
and I still get error.

What can I do ?

Nov 27 '07 #1
6 5085
On Nov 27, 11:21 am, cristizaharioiu <cristizahari...@gmail.com>
wrote:
Hello,

I am beginner with db2 ( DB2 v9.1.0.1 running on RHEL 4); this is my
first post.

I have this error " SQL0968C The file system is full. SQLSTATE=57011""
in my instance configured with AUTO STORAGE ON & AUTORESIZE (indeed,
the file system was almost full)

I tried to add new storage using "alter database XX add storage
on" ; command runs successfully but the new space is not use by db2
and I still get error.

What can I do ?
Maybe your filesystem where your containers live is full. Check to see
if it is:
$df -m
Nov 27 '07 #2
On Nov 27, 6:24 pm, Otto Carl Marte <Otto.Ma...@gmail.comwrote:
On Nov 27, 11:21 am, cristizaharioiu <cristizahari...@gmail.com>
wrote:
Hello,
I am beginner with db2 ( DB2 v9.1.0.1 running on RHEL 4); this is my
first post.
I have this error " SQL0968C The file system is full. SQLSTATE=57011""
in my instance configured with AUTO STORAGE ON & AUTORESIZE (indeed,
the file system was almost full)
I tried to add new storage using "alter database XX add storage
on" ; command runs successfully but the new space is not use by db2
and I still get error.
What can I do ?

Maybe your filesystem where your containers live is full. Check to see
if it is:
$df -m


Indeed, the filesystem is full, but i added a new filesystem and db2
don't use it to add more conteiners.
Nov 27 '07 #3
Ian
cristizaharioiu wrote:
On Nov 27, 6:24 pm, Otto Carl Marte <Otto.Ma...@gmail.comwrote:
>On Nov 27, 11:21 am, cristizaharioiu <cristizahari...@gmail.com>
wrote:
>>Hello,
I am beginner with db2 ( DB2 v9.1.0.1 running on RHEL 4); this is my
first post.
I have this error " SQL0968C The file system is full. SQLSTATE=57011""
in my instance configured with AUTO STORAGE ON & AUTORESIZE (indeed,
the file system was almost full)
I tried to add new storage using "alter database XX add storage
on" ; command runs successfully but the new space is not use by db2
and I still get error.
What can I do ?
Maybe your filesystem where your containers live is full. Check to see
if it is:
$df -m

Indeed, the filesystem is full, but i added a new filesystem and db2
don't use it to add more conteiners.
You may need to deactivate / activate the database for this to occur.
The doc is not very clear on when the storage is available (it says,
"Existing regular and large table spaces using automatic storage will
not initially use these new paths. The database manager might choose to
create new table space containers on these paths only if an out-of-space
condition occurs.")

I recall reading that DB2 evaluates the storage paths upon database
activation.

Nov 27 '07 #4
On Nov 27, 5:35 pm, Ian <ianb...@mobileaudio.comwrote:
>
Indeed, the filesystem is full, but i added a new filesystem and db2
don't use it to add more conteiners.

You may need to deactivate / activate the database for this to occur.
The doc is not very clear on when the storage is available (it says,
"Existing regular and large table spaces using automatic storage will
not initially use these new paths. The database manager might choose to
create new table space containers on these paths only if an out-of-space
condition occurs.")

I recall reading that DB2 evaluates the storage paths upon database
activation.
Hi,

It's actually just temporary tablespaces that evaluate the storage
paths upon database activation. As pointed out above, for regular/
large tablespaces, the paths won't be considered unless an "out of
space" condition occurs on one of the existing storage paths. That
said, it sounds like this is the situation and DB2 should be creating
a new stripe set (which should include the newly added path).

Just to be clear, is the tablespace in question actually an automatic
storage tablespace? Can you do a "get snapshot for tablespaces on
<databaseName>" and look for the following lines (for the tablespace
in question)?

Using automatic storage = Yes
Auto-resize enabled = Yes

Also, can you show the storage path information from a database
snapshot? This will tell us for sure how much space DB2 is seeing on
the paths.

db2 update monitor switches using bufferpool on (this collects
extra information)
db2 get snapshot for database on <databaseName>

For example:

Number of automatic storage paths = 2
Automatic storage path = C:\SP1
File system ID = 2691985332
Storage path free space (bytes) = 13048266752
File system used space (bytes) = 39183147008
File system total space (bytes) = 52432740352
Automatic storage path = D:\SP2
File system ID = 1552810699
Storage path free space (bytes) = 17006305280
File system used space (bytes) = 30588035072
File system total space (bytes) = 47594340352

Regards,
Kelly
Nov 28 '07 #5
Sorry for this late response.

The problem was resolved.
We had data tablespaces, temporary tablespaces and logfile directory
in the same filesystem. Probably , the first one which reached out of
space was either temp tablespace or logfile not data tablespace; in
this case data tablespace cannot be extended because the error
appeared before tablespace tried to extend, when db2 tried to write
logfile for example.
So, we moved temp tablespaces and logfile direrctory to another
filesystem and ,when data tablespaces reached out of space , it was
able to create a new container in space added with alter database
command.

I am not sure that it is the real explanation but after we moved temp
tablespaces and logfile all works fine.

Thank you for your help.
Dec 12 '07 #6
cristizaharioiu wrote:
Sorry for this late response.

The problem was resolved.
We had data tablespaces, temporary tablespaces and logfile directory
in the same filesystem. Probably , the first one which reached out of
space was either temp tablespace or logfile not data tablespace; in
this case data tablespace cannot be extended because the error
appeared before tablespace tried to extend, when db2 tried to write
logfile for example.
So, we moved temp tablespaces and logfile direrctory to another
filesystem and ,when data tablespaces reached out of space , it was
able to create a new container in space added with alter database
command.
You may also want to consider moving logs and temps to different file
systems/separate disks. Since both will usually heavily be used,
read/write activities on both influence each other and drag down
performance.

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Dec 14 '07 #7

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

Similar topics

1
by: Jens H. Hamann | last post by:
Hi, I am having a strange problem with the storage parameters in Oracle 9.2.0.1 database. I create a tablespace with some default storage parameters but when i am adding a table to the tablespace...
7
by: smith4894 | last post by:
Hello, I have a question regarding storage locations for different data types. For example, dynamically created objects (using "new") are created on the heap. local objects ( foo() {int x;} )...
9
by: CptDondo | last post by:
I am working on an embedded platform which has a block of battery-backed RAM. I need to store various types of data in this block of memory - for example, bitmapped data for control registers,...
0
by: Namratha Shah \(Nasha\) | last post by:
Hey Group, After a long week end I am back again. Its nice and refreshing after a short vacation so lets get started with .NET once again. Today we will discuss about Isolated Storage. This is...
7
by: StupidScript | last post by:
>From the manual "Storage Requirements": "ENUM('value1','value2',...) =1 or 2 bytes, depending on the number of enumeration values (65,535 values maximum)" This seems to mean: "a" = 1 byte...
14
by: Richard Harter | last post by:
Apologies for the length - this post is best viewed with fixed font and a line width >= 72. Below is the source code for a C header file that provides a suite of storage management macros. I am...
0
by: zhensoftware | last post by:
USB storage devices have gained popularity. It can be host to viruses, Trojans, hacker toolkits, worms or other forms of malicious programs. For example, when you plug your USB disk into a computer...
4
by: =?Utf-8?B?SnVhbiBEZW50?= | last post by:
Hi, I am getting the following in a VC++ EXE (using VS2005) that links several C++ DLLs and uses MFC and ATL, when I try to start it under the debugger: ------- 'Exactus.UX.Studio.v1.exe':...
3
by: myjish18 | last post by:
Hello, We have a DB2 UDB database v8.2.7 (db2 v8.2 fixpak 14) on AIX 5.3 which has Automatic Storage (AS) enabled. We want to disable automatic storage on entire database and/or disable...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.