Date: Mon, 14 Oct 2002 17:44:37 +0100 From: "Barry Byrne" <barry.byrne@wbtsystems.com> To: "Kirk R. Wythers" <kwythers@umn.edu>, <freebsd-questions@FreeBSD.ORG> Subject: RE: finding disk space Message-ID: <NCBBIAMNAKDKFJIIGNPKOEKEJNAA.barry.byrne@wbtsystems.com> In-Reply-To: <1034613360.3270.20.camel@lorax.forestry.umn.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Kirk: You don't say which direcories you wish to move but how about something like this (assuming you were moving /usr/local): mkdir /home/usr-local cd /usr/local tar cf - . | ( cd /home/usr-local ; tar xvf - ) mv /usr/local /usr/local.old ln -s /home/usr-local /usr/local when you determine that everything is working fine. You could delete the /usr/local.old to free up the space. Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Kirk R. Wythers > Sent: 14 October 2002 17:36 > To: freebsd-questions@FreeBSD.ORG > Subject: finding disk space > > > I have a 2 disk single user workstation that is running out of room on > /usr. /home is on a second hard disk with scads of space > > Here's df > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/da0s1a 80590 57338 16806 77% / > /dev/da1s1g 7971462 729998 6603748 10% /home > /dev/da1s1f 257998 4992 232368 2% /tmp > /dev/da0s1e 8406014 7434842 298692 96% /usr > /dev/da1s1e 257998 42618 194742 18% /var > procfs 4 4 0 100% /proc > linprocfs 4 4 0 100% /usr/compat/linux/proc > > I'd like to move (with a sym link?) some of /usr which is on da1 over to > home which is on da0. Can anyone share some wisdom with me before I try > this? My original thoughts were to keep /usr and /home on different > disks to help performance. > > thanks, > > Kirk > -- > Kirk R. Wythers email: kwythers@umn.edu > University of Minnesota tel: 612.625.2261 > Department of Forest Resources fax: 612.625.5212 > Saint Paul, MN 55108 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NCBBIAMNAKDKFJIIGNPKOEKEJNAA.barry.byrne>