soft link issue

Hi ,

When installing oracle software a set of directories are created under
the home directories.
Since the home directory is usually not big , i would like to create a soft link
from the home directory to mount point with alot of free space , that way the logs will not be wriiten under the home directory and will be "redirect" to the new location.

So, i deleted the original directory under the oracle software home directory :

cd /u01/app/oracle/diag/rdbms/perp/perp 
rm -rf sweep

And create the directory under the new mount:

cd /log_files/oracle/perp
mkdir sweep

I created the soft link as followed :

cd /u01/app/oracle/diag/rdbms/perp/perp
ln -s /log_files/oracle/perp/sweep /u01/app/oracle/diag/rdbms/perp/perp


/u01/app/oracle/diag/rdbms/perp/perp$ ls -l
lrwxr-xr-x   1 oracle dba sweep@ -> /log_files/oracle/perp/sweep
...

But when i am trying to change directory to swap its not going to
/log_files/oracle/perp/sweep as i wanted :

[/u01/app/oracle/diag/rdbms/perp/perp]$ cd sweep
[ /u01/app/oracle/diag/rdbms/perp/perp/sweep]$ 

Please advice
Thanks

This is expected,
you're just seeing this because you went to that directory using that path.
Try df -k . to see how much free space you have :slight_smile: