Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding space to /tmp on a Tru64 5.0A system

Sharky_1
Occasional Contributor

Adding space to /tmp on a Tru64 5.0A system

Hello all,

I need to increase the space available for /tmp as a compile is using far more space than what I have available . /tmp is setup as a link :

# df -k /tmp
Filesystem 1024-blocks Used Available Capacity Mounted on
root_domain#root 311944 270976 25568 92% /
# ls -la /tmp
lrwxrwxrwx 1 root system 26 Apr 11 2000 /tmp -> cluster/members/{memb}/tmp

On Solaris systems, adding another partition or swap file and mounting that to /tmp increases the overall size. I have some space on another disk on the system, can I do something similar? Can I link /tmp to another partition like so:

/tmp -> /disk01/tmp = 8gb ?

Any help would be appreciated...

4 REPLIES
Hein van den Heuvel
Honored Contributor

Re: Adding space to /tmp on a Tru64 5.0A system


Absolutely. You can redirect (softlink) /tmp to some large space, or even use it as a mount point for some large partition.

You often find /tmp -> /var/tmp

You do want to consider the clusterdness though.

I don't have access to a cluster just now, but it would seem to me you want a /tmp per node, and served by that node (man cfsmgr).
Surely to system management documentation explains this. Did you check that?

hth,
Hein.

Han Pilmeyer
Esteemed Contributor

Re: Adding space to /tmp on a Tru64 5.0A system

You can do what Hein said (as always). An alternative could be to define the TMPDIR environment variable (e.g. from /etc/profile). Something like "export TMPDIR=/var/tmp" typically works, although not all applications adhere to this environment variable.
Michael Schulte zur Sur
Honored Contributor

Re: Adding space to /tmp on a Tru64 5.0A system

Hi,

Maybe you can create an fsets and mount it on /tmp. I have done this before.

greetings,

Michael
Victor Semaska_3
Esteemed Contributor

Re: Adding space to /tmp on a Tru64 5.0A system

On our systems we use a separate partition for /tmp, domain tmp_domain, fset tmp. In /etc/fstab we have:

tmp_domain#tmp /cluster/members/member0/tmp advfs rw,userquota,groupquota 0 2

If it's a cluster, then a separate partition for each member. Our 5 member cluster has this in its /etc/fstab:

tmp1_domain#tmp /cluster/members/member1/tmp advfs rw,userquota,groupquota 0 2
tmp2_domain#tmp /cluster/members/member2/tmp advfs rw,userquota,groupquota 0 2
tmp3_domain#tmp /cluster/members/member3/tmp advfs rw,userquota,groupquota 0 2
tmp4_domain#tmp /cluster/members/member4/tmp advfs rw,userquota,groupquota 0 2
tmp5_domain#tmp /cluster/members/member5/tmp advfs rw,userquota,groupquota 0 2

Vic
There are 10 kinds of people, one that understands binary and one that doesn't.