From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075316706676.tru64-unix-managers.marc@archive.invalid> From: joe () resptk ! bhp ! com ! au (Joe Spanicek) Date: Tue, 31 Jan 1995 09:44:22 +0000 To: tru64-unix-managers Subject: Summary: moving 'var' to new partition X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075316706676 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 Menelaos Karamichalis olle@cb.uu.se (Olle Eriksson) "Craig I. Hagan" alan@nabeth.cxo.dec.com (Alan Rollow) "Danny J. Mitzel" Kent Adams Joachim Krumlinde - System Manager anthony baxter luchini@siberia.ups-tlse.fr (Marco Luchini) Kevin J Walters "Michael A. Crowley" "Dr. Tom Blinn, 603-881-0646" Mike Iglesias 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 | | | +-----------------------------------------------------------------------------+