Hello everybody,
I'm new to *nix and db2, and with that said, I have a problem.
I have a version of DB2 installed on a AIX server. I want to create a large database, but do not have enough space under the default location for databases. I googled it, and saw that it was /home/<instance-owner> which in my case is db2inst1. I confirmed this by doing a "db2 get dbm cfg" and found the value under "DFTDBPATH"!
Ive created a new partition with 10GB and mounted it has /DB2 and given db2inst1 ownership and lvl 7 access (recursively).
Now, I want to change the default path, so that when I create a Database, it is placed under /DB2/some-dir
I tried running
$ db2 update dbm cfg using DFTDBPATH /DB2
But it quickly returned
DB21019E An error occurred while accessing the directory ".".
Seems to me to be a privilege problem - but where? I have root-access to the machine...
Thanks,
jlundgren