From owner-freebsd-questions@FreeBSD.ORG Thu Feb 22 23:14:54 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 DE69A16A400 for ; Thu, 22 Feb 2007 23:14:53 +0000 (UTC) (envelope-from martster@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by mx1.freebsd.org (Postfix) with ESMTP id 8759013C47E for ; Thu, 22 Feb 2007 23:14:53 +0000 (UTC) (envelope-from martster@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so317557nzh for ; Thu, 22 Feb 2007 15:14:52 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=sThk/KuTG8fWyHYn1Ja6oOvaGXSd7qtLqwNFzJH0JqPEcMfKbh1hEYOsPlJnDQqsq7L3z9SNI62k8MMVjzR4iOmDbrEWKjkQfIgkLMNSg9ZJtKMK0MD8qrOX6qa8XzCN4KHnZNUFwGCWvbWFFhVDWz7i14Z1w0byjAZn9EKm4cg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=AfDsCnBpMMXmiQZ4l510FAHARVZiPSO435i5JsEbKDd5BCBCD1ocRIUUjay90KxXn+6ak8z8nC5+UzDNhVfOKV1M/ZF9AtZdf0yY6E5aJJWBUV16U+u8gt/w6qnS5TgoepjFaSRcVCyN7LZN3ZRD6tNHlvJIx/FUQWM5GhWjxCs= Received: by 10.65.240.5 with SMTP id s5mr2071197qbr.1172186092405; Thu, 22 Feb 2007 15:14:52 -0800 (PST) Received: by 10.65.139.13 with HTTP; Thu, 22 Feb 2007 15:14:52 -0800 (PST) Message-ID: <70063950702221514j78442bd9v142fda87311896ff@mail.gmail.com> Date: Thu, 22 Feb 2007 18:14:52 -0500 From: "Marty Landman" To: "Jerry McAllister" In-Reply-To: <20070222225625.GA21524@gizmo.acns.msu.edu> MIME-Version: 1.0 References: <70063950702221419s57a34f05p1bdee62713a67aae@mail.gmail.com> <6.0.0.22.2.20070222163157.0249d9f8@mail.computinginnovations.com> <20070222225625.GA21524@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, Derek Ragona Subject: Re: input/output error on hd 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: Thu, 22 Feb 2007 23:14:54 -0000 Jerry, Below is what I see in response to the cmd; as I'm unfamiliar with it could you please be more explicit about how I may proceed? Marty %sudo bsdlabel -e /dev/ad1s1 Password: # /dev/ad1s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 490234736 16 unused 0 0 c: 490223412 0 unused 0 0 # "raw" part, don't edit ~ ~ On 2/22/07, Jerry McAllister wrote: > > On Thu, Feb 22, 2007 at 04:34:24PM -0600, Derek Ragona wrote: > > > You may have lost the partition table. You can try repartitioning the > > drive but do NOT do a newfs. You can easily try it in sysinstall. > > Yes, that has been mentioned - I wasn't sure if it would work as > desired - without overwriting too much - or not. But, if it is tried > , be sure to use the exact partition schema as was done before. I > think that was everything in one partition - called c, but I am not > sure that is exactly what was done. > > So, the question is, did the OP use bsdlabel (alone or in sysinstall) > when originally creating that filesystem? If so, probably using > bsdlabel again on it - WITHOUT doing a newfs - would be worth trying. > It probably can't do anything worse than what is already the case. > > If it was all one partition in a single slice, then run bsdlabel -e > on the slice /dev/ad1s1 and take out the unused type from 'c' and > make it BSD4.2. Make the offset '*' and the size be everything. > Then exit out and hope for the best. > > ////jerry >