From owner-freebsd-questions Sun Mar 19 5:54:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from rasmus.uib.no (rasmus.uib.no [129.177.12.30]) by hub.freebsd.org (Postfix) with ESMTP id 2875737B667 for ; Sun, 19 Mar 2000 05:54:44 -0800 (PST) (envelope-from mcb@mortencb.cx) Received: from tunnel-44-27.vpn.uib.no (pc.mortencb.cx) [129.177.44.27] by rasmus.uib.no with esmtp (Exim 3.12) id 12WgA8-0006li-00; Sun, 19 Mar 2000 14:54:36 +0100 Date: Sun, 19 Mar 2000 14:54:55 +0100 (CET) From: Morten-Christian Bernson X-Sender: mcb@pc.mortencb.cx To: Giorgos Keramidas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: .. /var/log/mqueue low on space msgs In-Reply-To: <20000319125125.A66632@hades.hell.gr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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