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_at_cs.UMD.EDU>
Menelaos Karamichalis <mnk_at_wuerl.wustl.edu>
olle_at_cb.uu.se (Olle Eriksson)
"Craig I. Hagan" <hagan_at_oec.com>
alan_at_nabeth.cxo.dec.com (Alan Rollow)
"Danny J. Mitzel" <dmitzel_at_whitney.hitc.com>
Kent Adams <Kent.Adams_at_jcu.edu.au>
Joachim Krumlinde - System Manager <drift_at_outis.lucas.lu.se>
anthony baxter <anthony.baxter_at_aaii.oz.au>
luchini_at_siberia.ups-tlse.fr (Marco Luchini)
Kevin J Walters <k.j.walters_at_lpac.ac.uk>
"Michael A. Crowley" <mcrowley_at_mhc.mtholyoke.edu>
"Dr. Tom Blinn, 603-881-0646" <tpb_at_zk3.dec.com>
Mike Iglesias <iglesias_at_draco.acs.uci.edu>
chu_at_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_at_resptk.bhp.com.au |
| |
+-----------------------------------------------------------------------------+
Received on Mon Jan 30 1995 - 17:39:28 NZDT