From owner-freebsd-questions@FreeBSD.ORG Thu May 23 06:11:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 52FCAA9E for ; Thu, 23 May 2013 06:11:49 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) by mx1.freebsd.org (Postfix) with ESMTP id 19CA165D for ; Thu, 23 May 2013 06:11:49 +0000 (UTC) Received: by mail-ob0-f181.google.com with SMTP id dn14so3401519obc.40 for ; Wed, 22 May 2013 23:11:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=TFZJIN8mQ7d8PEh9UgF6WyJ4IYv66cS4Cxni3nUe5ZU=; b=nHB59iSx8WjI+cnO1a3tYTzEOwYZsg3MPC7hE/K2OailoEto52lB2yo1mo1w/k9w0u Od3EMTilTHlwI2sSVn8FXmE5nBq8eHPEmF3Yb6FLH/sqPBXT4cbCwQ+RqtoNH0hItn37 qtmqpd/S5bwmb0JwiuDzf7xJBmNJWFj+s2wEOrQ1y1A14ZI/39vE+4XVA4l+/ulosSG/ J3drCfQRwYicO3L/mRaR6mscuw/4t4d86r1EBt43sqlYpWOQ8KBdICXGqcZLByKmur/Q vnkFP1FzYqf/oCOX1sT6Xr0denJZzcPPf0NsIeiKz5G7GV/FdzyHY9AQN2edFujPsJkr ChHA== MIME-Version: 1.0 X-Received: by 10.60.116.138 with SMTP id jw10mr7124275oeb.64.1369289508657; Wed, 22 May 2013 23:11:48 -0700 (PDT) Received: by 10.60.137.130 with HTTP; Wed, 22 May 2013 23:11:48 -0700 (PDT) In-Reply-To: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> Date: Wed, 22 May 2013 23:11:48 -0700 Message-ID: Subject: Re: setup journaling for root partition From: Michael Sierchio To: s m X-Gm-Message-State: ALoCoQnHZ3pRtDWBeA4FAtCLnHaHRUmEhSNDaopdmhChEbotBpb7INP/4I6UdohwlfmhW4ILflSK Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 06:11:49 -0000 On Wed, May 22, 2013 at 10:53 PM, s m wrote: > thanks Michael for your quick reply:) > yes, i can boot from usb freebsd flash and use fixit mode. > i have root, var, tmp, usr and swap on my system. i create an extra swap > partition to use it as journal provider for root partition. > > in fixit mode, first i run two below command in order to abel load > gjournal: > > ln -s /dist/lib /lib > ls -s /dist/boot/kernel /boot/modules > > then > "gjournal load" > > and after that: "gjournal label -f ad3s1a ad3s1g" (ad3s1a is root > partition and ad3s1g is swap partition for journal provider) > > but this error is shown: > "gjournal cannot clear metadata on ad3s1a: operation not permitted" > what is wrong here??? i really don't know how to fix it:(((( > Try using -v to get more verbose output. I am at a loss here, too. Perhaps you can try gjournal load dd if=/dev/zero of=/dev/ad3s1g bs=1m gjournal clear -v ad3s1a gjournal label -vf ad3s1a ad3s1g and see what it says, if anything.