Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2013 09:57:50 +0430
From:      s m <sam.gh1986@gmail.com>
To:        Michael Sierchio <kudzu@tenebras.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: setup journaling for root partition
Message-ID:  <CAA_1SgHwNJgD=Ubt348WpkKJA9-ek4K4P+z+rcfU-NuCiNTQYg@mail.gmail.com>
In-Reply-To: <CAHu1Y72o=BOxCJ9GJzT-kJ06WsGB+i8Q=OCRoRZeDCwny1hxfw@mail.gmail.com>
References:  <CAA_1SgH_RxFUXDj3VyvUN1Kzb6BPkJxFi8y8kjJn9Z=ytne=yw@mail.gmail.com> <CAHu1Y73T786EBowTtneSOqviKnkz7Be6cp2HKasvkqkSfYnHfw@mail.gmail.com> <CAA_1SgEi5eA+c64q-Ui_Gzt=QZ7Lk5KV=mAVP+TE_Mk70jERAw@mail.gmail.com> <519B40D8.2090809@ulb.ac.be> <CAA_1SgF677vp7aRsUA376Mj-cuqc2MN2QPPAsbJD_sWZ_Y1wWA@mail.gmail.com> <519B4F11.9030309@ulb.ac.be> <CAN+S=WCAHB7_FDHQNAkTsd5qHqRcQ0b6-iT+Mk0Cw4fMo45pdA@mail.gmail.com> <519B87BC.1010301@qeng-ho.org> <CAHu1Y71s9faAfGpGitQLPZ_9YmR4u+_0rPV5d+uF1CgKqsOOVQ@mail.gmail.com> <519B9042.5050704@qeng-ho.org> <alpine.BSF.2.00.1305210919560.79332@wonkity.com> <CAHu1Y72UOjt05sPyw+=mDA4tjPh2tZM1Z0PtkM7+iHfnB0q+sg@mail.gmail.com> <CAA_1SgHp_NXXE8M1fAXvhcVihhxkhhdA75ACk_GHC3WfHJ4G9A@mail.gmail.com> <CAHu1Y72o=BOxCJ9GJzT-kJ06WsGB+i8Q=OCRoRZeDCwny1hxfw@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
thanks Michael, but in all documentation about journaling, tunefs is used
as below: "tunefs -J enable ad3s1X.journal". ad3s1X.journal is created by
gjournal command: "gjournal label ad3s1a ad3s1g" that assign ad3s1g as
journal provider for ad3s1a and create ad3s1a.journal which contains ad3s1a
as data provider and ad3s1g as journal provider.

my problem is, i can not run gjournal command for root partition in fixit
mode nor single user mode. you mean, i should just use tunefs command on
ad3s1X (root partition)? if yes, then where journal provider for root
partition is located? in root partition?


On Wed, May 22, 2013 at 10:23 AM, Michael Sierchio <kudzu@tenebras.com>wrote:

>
>
> On Tue, May 21, 2013 at 10:14 PM, s m <sam.gh1986@gmail.com> wrote:
>
>> thanks guys for your attentions.
>>
>> i want to setup journaling in FreeBSD 8.2. i compare soft-update and
>> journaling and choose journaling (it is more suitable for my goals).
>>
>> i want to enable journaling for all my partitions. i can do it for all
>> partitions except root in single user mode. i can not do it for root
>> because i can not unmount root in single user mode.
>>
>>
> No, but you don't need to.  In single user mode, root is mounted
> read-only.  You can run tunefs on the root fs device.
>
> - M
>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAA_1SgHwNJgD=Ubt348WpkKJA9-ek4K4P+z+rcfU-NuCiNTQYg>