From owner-freebsd-scsi Wed May 15 11:55: 7 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from search.sparks.net (d-207-5-180-136.gwi.net [207.5.180.136]) by hub.freebsd.org (Postfix) with ESMTP id 890CB37B408 for ; Wed, 15 May 2002 11:55:02 -0700 (PDT) Received: by search.sparks.net (Postfix, from userid 100) id C2CE9D983; Wed, 15 May 2002 14:48:59 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by search.sparks.net (Postfix) with ESMTP id B5608D982; Wed, 15 May 2002 14:48:59 -0400 (EDT) Date: Wed, 15 May 2002 14:48:59 -0400 (EDT) From: David Miller To: "Justin T. Gibbs" Cc: David Miller , freebsd-scsi@FreeBSD.ORG Subject: Re: Adaptec 3200S + Dell 2100S problems In-Reply-To: <200205151829.g4FIT9992912@aslan.scsiguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 15 May 2002, Justin T. Gibbs wrote: > >but disklabel doesn't want to work: > > > >bash-2.05a# disklabel -e -r da0 > >disklabel: bad pack magic number (label is damaged, or pack is unlabeled) > > disklabel -e only works if there is a pre-existing label on the drives. > Try disklabel -w -r da0 auto followed by disklabel -e -r da0. bash-2.05a# disklabel -w -r da0 usage: disklabel [-r] disk (to read label) disklabel -w [-r] [-n] disk type [ packid ] (to write label with existing boot program) disklabel -e [-r] [-n] disk (to edit label) disklabel -R [-r] [-n] disk protofile (to restore label with existing boot program) disklabel -B [-n] [ -b boot1 [ -s boot2 ] ] disk [ type ] (to install boot program with existing label) disklabel -w -B [-n] [ -b boot1 [ -s boot2 ] ] disk type [ packid ] (to write label and boot program) disklabel -R -B [-n] [ -b boot1 [ -s boot2 ] ] disk protofile [ type ] (to restore label and boot program) disklabel [-NW] disk (to write disable/enable label) Maybe this is why /stand/sysinstall doesn't work? --- David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message