Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2000 14:54:55 +0100 (CET)
From:      Morten-Christian Bernson <freebsd-questions@mortencb.cx>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: .. /var/log/mqueue low on space msgs
Message-ID:  <Pine.BSF.4.21.0003191449010.151-100000@pc.mortencb.cx>
In-Reply-To: <20000319125125.A66632@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Hmm I tried the tip here to move the /var dir to /usr/var.
I do not know what happened, I follow every step as Giorgos wrote (in
single user mode):

> With a /var that's full, you
> might find it easier to move over into /usr/var everything from /var if
> you have enough space in /usr for doing this.  You might care to bring
> the system down to single-user mode for doing this, since some programs
> might be using /var while you're moving it over under /usr.  This time
> the commands to do the thing would be (without comments here):
> 
> 	# cd /
> 	# mkdir /usr/var
> 	# pax -r -w -p e var /usr
> 	# rm -fr var
> 	# ln -s /usr/var

What happened when I was done doing this, is that the files that used to
be in /var are gone.  /usr/var is empty, the partition that used to be
mounted into /var is empty... To put it short, all the files in /var are
gone.

I don`t believe I had anything important in /var, but I can`t boot without
the /var dir set up properly, so my question is... How do I restore my
/var dir?  I have no backup (stupid me I guess).

I think I will backup before following any usefull tips and tricks here
later.

-MortenCB, hoping for a quick answer/solution-



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?Pine.BSF.4.21.0003191449010.151-100000>