Operating System - HP-UX
1855757 Members
6026 Online
104103 Solutions
New Discussion

Re: Can you link 2 directories

 
SOLVED
Go to solution
mike worrell
Regular Advisor

Can you link 2 directories

I'm trying to help our dba with an oracle install. It requires /tmp to be 400mb which we don't have. Everytime the installer runs it creates a file /tmp/xxxxyyyzzzz_date_time
so everytime it runs the file name is different. Can you use the symbolic link command to redirect anything going to /tmp to lets say /u05/tmp_upgrade?
Any help would be appreciated
Thanks,
Mike
3 REPLIES 3
Geoff Wild
Honored Contributor
Solution

Re: Can you link 2 directories

not really - unless you boot into single user mode - as /tmp will be busy - as you will have to unmount it, then create the symbolic link...

Do you have any room in vg00? better to extend /tmp

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Thierry Poels_1
Honored Contributor

Re: Can you link 2 directories

hi,

it's probably easier than that. You can assign $TMPDIR to another location as /tmp before starting the Oracle installer.

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Muthukumar_5
Honored Contributor

Re: Can you link 2 directories

If you are going link /tmp to /u05/tmp_upgrade directory symbolically then, file space occupied on /tmp not in /u05/ directory.

We can not do HARD linking across file systems. It if good to move files on /tmp/ directory as,

mv /tmp/xxxxyyyzzzz_*_* /u05/tmp_upgrade

It is not going to take more time there. It will be easy to do more.

HTH.
Easy to suggest when don't know about the problem!