473,569 Members | 2,751 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5105
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...@gma il.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...@gma il.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...@mobile audio.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
20339
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 i can not override the NEXT statement? No matter what i set the NEXT storage parameters to, it is always the same as the tablespace default, the...
7
2457
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;} ) are on the stack. 1)Where are global non-const objects created? 2)Where are global const objects created?
9
2420
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, strings for logging, and structures for data points. I want to use one function to read data from this block and one function to write data, for...
0
1857
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 one of the topics which I find interesting as I feel that it has a lot of practical usage or applicability. We all know that all applications...
7
4170
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 of storage "prestidigitation" = 1 byte of storage
14
2109
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 asking for comments on it. In particular: Are there any gotchas that I have overlooked? Are there any suggestions for improvements? Is there a...
0
449
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 that is infected by viruses, viruses will create a file named AUTORUN.INF and malicious programs on your USB disk. Then, when you plug the USB disk...
4
6483
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': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded. 'Exactus.UX.Studio.v1.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
3
4636
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 automatic storage on all tablespaces. DB2 Manual says it once AS is enabled, it cant be changed. Is there any way to disable the AS or any other...
0
7694
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7609
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7921
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7964
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.