Operating System - Tru64 Unix
1753774 Members
6745 Online
108799 Solutions
New Discussion юеВ

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 4
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.