From owner-freebsd-fs@FreeBSD.ORG Tue Apr 3 10:19:48 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72BAA16A40A for ; Tue, 3 Apr 2007 10:19:48 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 20B9C13C4BB for ; Tue, 3 Apr 2007 10:19:46 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1621277ana for ; Tue, 03 Apr 2007 03:19:45 -0700 (PDT) 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:content-transfer-encoding:content-disposition:references; b=NuLysvXn1hUx5pnaPctuJj1NEyn3hxBGelJRNDS4Qe0RSwj5nDM1IOzLqTsxIANjRqiRvfk0V7G6gb7yaMdKefejw0IghCmCgg8bg65OIdbz5O3S7XBiV16KcUzxOOLTKhbQ2Lfqe5OACEJ0ThhPOhTvWqA1Ji4NCQCEa6QHHMY= 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:content-transfer-encoding:content-disposition:references; b=Vz5hVmgqPataJSwEApnB3X0pDq+BPRYdqJnGWZwFBO2OY3bI6cGGrSZLA4Fzq/IdYCv4Fy5C2DJW2Vqi/5Rk81K/s+3oPhYRbcpuY5+51hA/x86LD5oLA6/1C5DUUOzu0x0NQX5ueaLeeBYgQZlVoGP5FKUmEaE5W0BFNWhY4nM= Received: by 10.100.32.1 with SMTP id f1mr4187835anf.1175595585284; Tue, 03 Apr 2007 03:19:45 -0700 (PDT) Received: by 10.100.57.12 with HTTP; Tue, 3 Apr 2007 03:19:45 -0700 (PDT) Message-ID: Date: Tue, 3 Apr 2007 13:19:45 +0300 From: "Dan Cojocar" To: "Pawel Jakub Dawidek" In-Reply-To: <20070403090449.GA40062@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070330181015.GB11360@garage.freebsd.pl> <20070402161220.GA34180@garage.freebsd.pl> <20070403090449.GA40062@garage.freebsd.pl> Cc: freebsd-fs@freebsd.org Subject: Re: gjournal error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 10:19:48 -0000 On 4/3/07, Pawel Jakub Dawidek wrote: > On Tue, Apr 03, 2007 at 10:44:11AM +0300, Dan Cojocar wrote: > > On 4/2/07, Pawel Jakub Dawidek wrote: > > >On Mon, Apr 02, 2007 at 12:35:10PM +0300, Dan Cojocar wrote: > > >'d' partition is wrong, it should start at offset 16. You get EPERM > > >(error=1) when someone tries to write to first 16 sectors where metadata > > >is stored. > > > > > > > If I will move the offset of d to 16, it will fix this problem?, or do > > I need to recreate the whole partition table? > > You should be safe by doing: > > # umount /extra/large > # gjournal stop ad1s1e > # gjournal clear /dev/ad1s1[de] > # bsdlabel -e /dev/ad1s1 (change the offset) Here I should change the offset to 16 and extract 16 from the size, right? > # gjournal label ad1s1e ad1s1d > Thanks, Dan