tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Andy Cohen <acohen () cognex ! com>
To: tru64-unix-managers
Subject: moving /tmp
Date: Thu, 19 Oct 2000 14:39:19 +0000	[thread overview]
Message-ID: <97196631023353.tru64-unix-managers.marc@archive.invalid> (raw)

Hello -

Our /tmp directory is on the same disk as / .  / often fills up because /tmp
gets alot of output from our primary business application.  We can't change
where the application writes to (i.e. -- we can't make it write to someplace
other than /tmp).  I'd like to put /tmp on another disk that has alot more
space.  Root (/) is UFS, everything else is AdvFS.  One solution we've
kicked around is to make a subdirectory someplace else on a disk that has
alot more room and making a link (ln -s) from /tmp to the new subdirectory.
I'm not too familiar with file systems, domains, mount point, etc.  Is this
a reasonable solution?  Would I be better off making /tmp it's own mount
point (if so should it be AdvFS) ?  Most of the AdvFS stuff is part of a
raid0+1 (LSM).  I have a number of spare 2gb AdvFS partitions available that
I can allocate if need be.  Have I explained this clearly at all?

our /etc/fstab:

root_domain#root/		advfs	rw 1 0
/dev/vol/rootdg/swapvol	swap1ufs	sw 0 2
/proc				/proc	procfs rw 0 0
usr_domain#usr			/usr		advfs rw 1 0
home_domain#users		/home	advfs rw 1 0
disk01#u01			/disk01	advfs rw 1 0
disk02#u02			/disk02	advfs rw 1 0
disk03#u03			/disk03	advfs rw 1 0
disk04#u04			/disk04	advfs rw 1 0

df -k:

Filesystem                    1024-blocks        Used   Available Capacity
Mounted on
root_domain#root                   131720       87844       35768    72%
/
/proc                                   0           0           0   100%
/proc
usr_domain#usr                    2097144     1288928      778848    63%
/usr
home_domain#users                 5120000      786744     4311024    16%
/home
disk01#u01                        5120000      571336     4533288    12%
/disk01
disk02#u02                        6144000     2918600     3219392    48%
/disk02
disk03#u03                        6144000     2711424     3426568    45%
/disk03
disk04#u04                       20480000    14109288     6362440    69%
/disk04


tmp is under /.  I was thinking of making a tmp directory under /desik04 and
making a link from /tmp to /disk04/tmp (ln -s /disk04/tmp /tmp).  Can I do
this in multi-user mode with users logged in or do I need to (or just
should) be in single-user mode?

Thank you very much!


Andy Cohen
Oracle Database Administrator
Cognex Corporation
1 Vision Drive
Natick, MA  01760-2059
voice: 508/650-3079            email: acohen@cognex.com
fax: 508/650-3337               pager: 877-654-0447

                 reply	other threads:[~2000-10-19 14:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox