tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: moving 'var' to new partition
@ 1995-01-31  9:44 joe
  0 siblings, 0 replies; only message in thread
From: joe @ 1995-01-31  9:44 UTC (permalink / raw)
  To: tru64-unix-managers


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                                   |
|                                                                             |
+-----------------------------------------------------------------------------+

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-01-31  9:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-31  9:44 Summary: moving 'var' to new partition joe

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