Recovering corrupt DB2 database when you are unable to create tablespace

In the DB2 databases, there is the concept ofalready in use by AUTOMATIC STORAGE. This
'automatic storage' database using which thecondition can be checked by listing the container paths
database automatically grows whenever the needfor the tablespaces, and by checking if the automatic
arises to do so. This feature can save you the hasslesstorage is in use. You can verify this by using the
of managing the storage containers thereby improvingfollowing command:
the flexibility and performance of the database. 
However, you should define the automatic storage"db2pd -db <DBNAME> -tablespaces"
settings while creating the database. Having said that, 
at times you do face problems while creating aResolution:
tablespace in the database container because of thisTo overcome this problem, you should use a different
feature. Also, database corruption can be a potentialfolder to use this command to create a new
cause behind this purpose. You should try to find outtablespace. This can be done by using either of the
the cause behind this and try to recover DB2following methods:
database. If it is database corruption, then you should- You should create a sub-folder using the same path
use a third-party DB2 database recovery software tofor which you tried creating the tablespace earlier.
recover DB2 database.- You should create a new folder at a new location.
  
Let us think of a situation in which you are working onIf the problem is still not solved and you are unable to
IBM DB2 (UDB) v8 database. In this database, you arecreate a tablespace, then there is quite a possibility
adding a tablespace, which you are unable to perform.that the database is corrupt. For this, you should use a
An error message is displayed in this case, which is:third-party DB2 repair software to repair DB2
 database. With the help of these read-only DB2
"db2 "create tablespace one managed by databaserecovery tools, you can make sure that the recovery
using (file '/home/v95inst1/SAMPLE/v95inst1' 1000)"is safe and secure.
DB221034E The command was processed as an 
SQL statement because it was not a valid CommandThe most trusted name in the field of DB2 database
Line Processor command. During SQL processing itrecovery is Stellar Phoenix DB2 Recovery Software,
returned: SQL0298N Bad container path.which recovers DB2 database from IBM DB2 (UDB)
SQLSTATE=428B2"v8 databases. Compatible with Windows Server 2003,
 XP, and 2000, this DB2 recovery utility recovers DB2
Cause:database by recovering various database
The most possible cause of this error is that the pathcomponents including tables, schemas, views,
that you have provided for creating the tablespace iscontainers, triggers, buffer pools, etc.