From owner-freebsd-current@FreeBSD.ORG Mon May 17 13:24:18 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30152106564A for ; Mon, 17 May 2010 13:24:18 +0000 (UTC) (envelope-from matt.thyer@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 02C658FC19 for ; Mon, 17 May 2010 13:24:17 +0000 (UTC) Received: by pwi9 with SMTP id 9so2910017pwi.13 for ; Mon, 17 May 2010 06:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=w48rKNJXIyz934sjvl9EXXLgeXn8NM5PmBGnKmBq2DU=; b=r/7VdUMTTWoJIHIHctD2FoWShq3FZW9q9nTRf97Bw7SJ9aaYlov7xhbf4Zcgx829X0 dGH3YxALLi5DxewoyKQ/c9K2HtwNXuHU+9c8Ywuh1js9etN1T1nwsstT2xqh/jHGJ8Vw 4s6erJx8CM7mYjNcKtDWs1TkhrgDtie86svcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=p2SxN50IPstseiS5voQQVsTVdCvI9CFxfLkKDVqc8/Js+mNbRkrw/ZrFjtOj0fH9SO PLB4S7PlgZya9aBngvxRX5/0tmehIwXlxGhJvPIYbAb8gkL7ZdC2wE6sf+sDiLgyZzKa wRKegz8YvXI5/Pn7URVl70z3efRnkxWxNYjfA= MIME-Version: 1.0 Received: by 10.140.255.11 with SMTP id c11mr3679012rvi.137.1274102657410; Mon, 17 May 2010 06:24:17 -0700 (PDT) Received: by 10.141.41.14 with HTTP; Mon, 17 May 2010 06:24:17 -0700 (PDT) In-Reply-To: <20100512014651.GN73283@cicely7.cicely.de> References: <3a142e751003291708nc3e110bjca1789cc807f61a2@mail.gmail.com> <20100512014651.GN73283@cicely7.cicely.de> Date: Mon, 17 May 2010 22:54:17 +0930 Message-ID: From: Matt Thyer To: ticso@cicely.de Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: fsck unable to read disk sectors X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 13:24:18 -0000 On 12 May 2010 11:16, Bernd Walter wrote: > > On Tue, May 11, 2010 at 10:15:13PM +0200, Alexander Best wrote: > > i've posted a log here which is pretty self explanatory: > > > > http://pastebin.com/tn3NiDDW > > [snip] > > One of the typical problems users have is that they forget that > adding a label takes one sector, so the labeled device is smaller. > This is no problem if you create the filesystem on the labeled > drive, but often enough people add the label after creating the > filesystem. FreeBSD's utilities should be able to detect this situation and either correct the filesystem size or refuse to apply the label. > Everything seems to work fine until the FS decides to use that special > sector. > I wouldn't add a label for ufs anyway, since UFS has labeling itself, > which is also handled by glabel module and doesn't require extra space. > Just setup the ufs label with tunefs -L and use the resulting /dev/ufs/... > device. > You only need extra label for swap, but this is not problem, since > it has no persistent ondisk structures. > [snip] > -- > B.Walter http://www.bwct.de > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"