From: joe () resptk ! bhp ! com ! au (Joe Spanicek)
To: tru64-unix-managers
Subject: Summary: moving 'var' to new partition
Date: Tue, 31 Jan 1995 09:44:22 +0000 [thread overview]
Message-ID: <96075316706676.tru64-unix-managers.marc@archive.invalid> (raw)
On the subject of the following email I posted:
> I have run into the problem of running out of 'var' space. Currently the
> 'var' directory is a sub directory of 'usr' partition which has filled up
> because of dec software. The 'usr' partition is 790MB. I took the default
> option from the installation to place 'var' in 'usr' partition, and at the
> time there was enough space.
>
> Is there a easy solution of 'moving' the 'var' directory to a larger
> partition & changing the file link in the root directory to point to
> where it has changed to.
Thanks to the following who responded:
Todd Kover <kovert@cs.UMD.EDU>
Menelaos Karamichalis <mnk@wuerl.wustl.edu>
olle@cb.uu.se (Olle Eriksson)
"Craig I. Hagan" <hagan@oec.com>
alan@nabeth.cxo.dec.com (Alan Rollow)
"Danny J. Mitzel" <dmitzel@whitney.hitc.com>
Kent Adams <Kent.Adams@jcu.edu.au>
Joachim Krumlinde - System Manager <drift@outis.lucas.lu.se>
anthony baxter <anthony.baxter@aaii.oz.au>
luchini@siberia.ups-tlse.fr (Marco Luchini)
Kevin J Walters <k.j.walters@lpac.ac.uk>
"Michael A. Crowley" <mcrowley@mhc.mtholyoke.edu>
"Dr. Tom Blinn, 603-881-0646" <tpb@zk3.dec.com>
Mike Iglesias <iglesias@draco.acs.uci.edu>
chu@musp0.jpl.nasa.gov (Eugene Chu)
All replys were similar in nature, and thanks to all for a quick response.
I'll summarise briefly what I done:
1) Shutdown to single user mode
2) 'newfs' are clean partition
3) mount new partion on '/mnt'
4) cd to '/usr/var'
5) tar cBf - . | (cd /mnt ; tar xBpf - )
6) check new 'var' using 'df'
7) in '/usr' move orig 'var' to 'var.old'
8) do a softlink 'ln -s ../var var'
9) change '/etc/fstab' to reflect new 'var' partition.
10) 'umount /mnt'
11) reboot
After reboot all came up fine.
Thanks again everyone.
+-----------------------------------------------------------------------------+
| |
| Joe Spanicek |
| /\/\ Research Officer |
| / / /\ Process Engineering R & D |
| / / / \ |
| / / / /\ \ BHP Research - Port Kembla Labs |
| \ \/ / / / P.O Box 77, Port Kembla, NSW Australia 2505 |
| \ / / / Fax: +61 (42) 756120 |
| \/\/\/ Tel: +61 (42) 756078 |
| Email: joe@resptk.bhp.com.au |
| |
+-----------------------------------------------------------------------------+
reply other threads:[~1995-01-31 9:44 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