From owner-freebsd-questions@FreeBSD.ORG Fri Mar 16 21:40:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 602BE16A400 for ; Fri, 16 Mar 2007 21:40:42 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 2D75B13C43E for ; Fri, 16 Mar 2007 21:40:42 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l2GLeDW9079592; Fri, 16 Mar 2007 17:40:13 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l2GLeDuq079591; Fri, 16 Mar 2007 17:40:13 -0400 (EDT) (envelope-from jerrymc) Date: Fri, 16 Mar 2007 17:40:13 -0400 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070316214013.GA79546@gizmo.acns.msu.edu> References: <20070316191722.GC76268@gizmo.acns.msu.edu> <729157.54557.qm@web62204.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <729157.54557.qm@web62204.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Corrupted OS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 21:40:42 -0000 On Fri, Mar 16, 2007 at 01:33:42PM -0700, Drew Jenkins wrote: > I believe you misunderstand. I have 3 disks: > 2 are SCSI RAID and are 80 GB each > 1 is not and is 500 GB > I don't actually need the 500 GB now. I haven't even used up the 80 GB HD's. > So I can wipe the 500 GB clean. I don't have to keep data on it at all. > But...can I do that remotely, and run those commands remotely, with that > disk being unmounted, and if so...how? You can do it remotely. Once everything on that disk is unmounted and unreferenced, then fdisk and bsdlabel will be happy to work on it. The best documentation for that is down in the examples of the bsdlabel man page. dd if=/dev/zero of=/dev/da0 bs=512 count=32 fdisk -BI da0 dd if=/dev/zero of=/dev/da0s1 bs=512 count=32 bsdlabel -w -B da0s1 bsdlabel -e da0s1 Change the device names to be what yours really are (da0 may be ad3 or something. I also upped the count on the dd, but it doesn't matter. Follow this with a newfs for each partition except swap that you create on this disk. > > The problem *is* a corrupt OS. I currently don't have any data on > that 500 GB HD. And the problems persist. Sorry to have confused you. > Are things clearer now? Well, it seems clear that there is no problem with the 500 GB disk. You can just fdisk it. If you want, write a few blocks of zeros to it first to make sure the system believes it clean if you want. Probably shouldn't need to, though. dd if=/dev/zero of=/dev/extra-drive-name bs=512 count=250 As for the corrupt OS, I don't understand what that is and why you think that or whatever. ////jerry > TIA, > Drew2 > > Jerry McAllister wrote: On Fri, Mar 16, 2007 at 09:12:02AM -0700, Drew Jenkins wrote: >