From owner-freebsd-questions Sun Jan 6 14: 6: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fep4.cogeco.net (smtp.cogeco.net [216.221.81.25]) by hub.freebsd.org (Postfix) with ESMTP id 8920737B416 for ; Sun, 6 Jan 2002 14:06:00 -0800 (PST) Received: from earth.upton.net (d141-18-230.home.cgocable.net [24.141.18.230]) by fep4.cogeco.net (Postfix) with SMTP id 70AD86646 for ; Sun, 6 Jan 2002 17:05:59 -0500 (EST) Date: Sun, 6 Jan 2002 17:05:59 -0500 From: Paul Murphy To: freebsd-questions@FreeBSD.ORG Subject: Filesystem Full (was (No Subject)) Message-Id: <20020106170559.42eef3c8.pnmurphy@cogeco.ca> In-Reply-To: <20020106162046.2dfa4beb.pnmurphy@cogeco.ca> References: <20020106162046.2dfa4beb.pnmurphy@cogeco.ca> X-Mailer: Sylpheed version 0.6.6claws (GTK+ 1.2.10; i386--freebsd4.4) X-Face: %`O\>ue)JTOw*1L"cm|-S$os3*E{a"4D2O~kv*V{{Wl`]xxMc.q+0haZ;?#^OM93$.ce{%5J^q2y?b`34cn])eqUz600g[F|>7M(>&~)}mR7\+GS Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 6 Jan 2002 16:20:46 -0500 Paul Murphy wrote: > /dev/da1s1f 663553 2764 607705 0% /usr/home > /dev/da1s1e 192543 183627 -6487 104% /usr/ports > > I want to switch these two filesystems, here is my plan: > > 1) back them up to /usr/tmp > 2) rm -r /usr/home && rm -r /usr/ports > 3) edit the fstab appropriately > 4) umount /usr/home && umount /usr/ports > 5) mount /usr/home && mount /usr/ports > 6) cp -r /usr/tmp/home/* /usr/home && cp -r /usr/tmp/ports/* /usr/ports > > Does this seem right? Any gotcha's? I don't want to loose any data as > these are fairly important filesystems (although I could cvsup ports). Sorry, I don't believe I sent that without a Subject line, please DO read. -- I call it "No-Pants Wonderday," but it turns out the police just call it "Thursday." Go figure. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message