Marcus_A,
first to explain why the problem appeared:
1. I have moved /home directory from one disk ext3 partition to new partition. Directory /home/db2inst1 is home dir for db2inst1 user and default storage for my database on test computer.
2. I have moved /home/ directory as described in tutorial (section Using the new partition)
http://www.psychocats.net/ubuntu/separatehome, but instead of
"find . -depth -print0 | sudo cpio --null --sparse -pvd /new/" command I used "mv /old/home/ /new/", because find command totaly corrupts file permissions. All other commands I have used the same as in tutorial
3. But when I have rebooted Linux and I try to startup the DB2 I got error "SQL1220N The database manager shared memory set cannot be allocated" - strange error for changing disk files from one partition to another. But as I see other things have been corrupted also like db2set environment is not set correctly - got currupted (DB2COMM=TCPIP has dissapeared).
4. But funny think just for fun I have moved /home dir back to original partition and rebooted Linux and DB2 is working without any problem.
Now I am wondering why does DB2 reports "memory errors" and why db2set command is not set after first move of /home dir? I was convinced that moving directories between disk partitions should not effect DB2 at all. Does DB2 store some internal disk structures or something like that? Why does DB2 reports such an errors?
P.S. I know I can move database to new partition with backup/restore option, but I was just trying other options.
Thanks,
Grofaty