Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2002 19:17:05 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        dan@slightlystrange.org
Cc:        FreeBSD-Questions@FreeBSD.ORG (freebsd-questions)
Subject:   Re: Linking a directory to another filesystem
Message-ID:  <200207252317.g6PNH7216127@clunix.cl.msu.edu>
In-Reply-To: <20020725230457.GB87732@catflap.home.slightlystrange.org> from "Daniel Bye" at Jul 26, 2002 12:04:57 AM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> On Thu, Jul 25, 2002 at 02:54:24PM -0700, karl agee wrote:
> > sorta newbie question, I think, and not sure where to post it...so I put
> > it here.
> > 
> > system:  5.0-current, lots of hard disk space.
> > 
> > I am filling up / with stuff...so much so that the system is crashing
> > and rebooting(!) when I print.  Problem seems to be that /usr directory
> > is located on the / filesystem when I have a /usr filesystem that has
> > gobs of space but not much on it.
> > 
> > I want to move the /usr directory contents over and link the /usr
> > directory on the / filesystem to the /usr filesystem but not exactly
> > sure how to do it (after reading the docs) without messing things up. 
> > Not sure if I need to soft link or hard link...etc.  
> 
> Hmm - it happens when printing?  Is your /var just a directory in /,
> or on a file system of its own?  If it's on /, check disk usage before
> you do anything else:
> 
> # du -chxd1 / | sort -k2
> 
> will show you disk space used per directory in /.
> 
> Of course, if /var resides on its own device, this is irrelevant.

Yup, good call.   And if the problem is really /var in root's file system,
do roughly the same as detailed fro /usr in the earlier post.

/var really needs room to grow because it has your spool and log files.

////jerry

> 
> Dan
> 
> -- 
> Daniel Bye
> 
> PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
> PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
>                                                                      _
>                                               ASCII ribbon campaign ( )
>                                          - against HTML, vCards and  X
>                                 - proprietary attachments in e-mail / \
> 
> 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?200207252317.g6PNH7216127>