From owner-freebsd-stable@FreeBSD.ORG Thu Feb 17 15:54:03 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B1A716A4CE for ; Thu, 17 Feb 2005 15:54:03 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7F4D43D4C for ; Thu, 17 Feb 2005 15:54:02 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so290019wri for ; Thu, 17 Feb 2005 07:54:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=rkAXZpAeVsd436y/hN0Q6ZS0Trw/Slct3O32JTrnDTIUNpeRU7B0d2Q1a+gY96pkbItFK6zCdJNieRf86KA4vAJ2Hg8tm42flkA81m0KQ3mjNr5rRAnFdXA2lPUVC+yw11IQKURzfaye3uECtJ5Sioz4l85uPSX+cgNsl+hIjgQ= Received: by 10.54.42.21 with SMTP id p21mr46311wrp; Thu, 17 Feb 2005 07:54:01 -0800 (PST) Received: by 10.54.29.8 with HTTP; Thu, 17 Feb 2005 07:54:01 -0800 (PST) Message-ID: <790a9fff0502170754793aedd4@mail.gmail.com> Date: Thu, 17 Feb 2005 09:54:01 -0600 From: Scot Hetzel To: Charles Erik McDonald In-Reply-To: <4213B3FD.6060400@mcdonald.no> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <42134454.7030306@mcdonald.no> <790a9fff05021607456ec0406d@mail.gmail.com> <20050216175920.4f60007c.gstewart@bonivet.net> <4213B3FD.6060400@mcdonald.no> cc: Godwin Stewart cc: freebsd-stable@freebsd.org Subject: Re: Strange disk problems make the system lock up X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Scot Hetzel List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 15:54:03 -0000 On Wed, 16 Feb 2005 21:58:37 +0100, Charles Erik McDonald wrote: > > >> Do you have any error messages related to ad2 or ad3 in > /var/log/messages? > no. > > > >>I have two large disks: > > >> > > >>/dev/ad2 144G 124G 9.2G 93% /mnt/sp1604n > > >>/dev/ad3 226G 202G 5.2G 98% /mnt/wd2500pb > > > > >Did you use disklabel on these disks (/dev/ad2s1 and /dev/ad3s1) to > > >create a partition on the slice? > > > > The above looks like an excerpt of `df`, meaning that not only was > bsdlabel > > not used, but neither was fdisk. That could be a problem for some things > > that at least expect a partition table somewhere. > > Correct, it is from 'df', but both disks were initialized from within > the fdisk editor > in the installer, where I used the "use entire disk" option. > > So, for example: > > bastion(root):/usr/src#disklabel /dev/ad2 > disklabel: /dev/ad2: no valid label found > bastion(root):/usr/src#disklabel /dev/ad2s1 > # /dev/ad2s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 312576642 0 unused 0 0 # "raw" part, > don't edit > bastion(root):/usr/src#disklabel /dev/ad3 > disklabel: /dev/ad3: no valid label found > bastion(root):/usr/src#disklabel /dev/ad3s1 > # /dev/ad3s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 488392002 0 unused 0 0 # "raw" part, > don't edit > bastion(root):/usr/src# > you don't have any partitions on those disks. You need to use disklabel to create an "a" partition. a: 488392002 0 BSD 0 0 # c: 488392002 0 unused 0 0 # "raw" part Scot