Re: setup journaling for root partition

2013-06-03 Thread Adam Vande More
On Tue, May 21, 2013 at 9:46 AM, Michael Sierchio wrote: > AFAIK Softupdates journaling still breaks snapshot functionality - which > makes it unusable for me. I wouldn't assume that the O.P. doesn't want we > he's asking for. Fixed awhile ago unless there is new bug on that. Haven't tried. htt

Re: setup journaling for root partition

2013-05-24 Thread s m
thanks Warren, you're right but i want to set journaling in fixit mode in fixit mode none of my partitions are mounted (mount command show no partition) but geom returns error yet. is there any way to tell geom that my partitions are unmounted? On 5/23/13, Warren Block wrote: > On Thu, 23 Ma

Re: setup journaling for root partition

2013-05-23 Thread Warren Block
On Thu, 23 May 2013, Torsten Hantzsche wrote: On Thu, 23 May 2013, s m wrote: thanks, i do as you said, but after loading gjournal, dd says "operation not permitted". gjournal clear says "operation not permitted" too and therefore "gjournal label" is not done and say previous error (gjournal

Re: setup journaling for root partition

2013-05-23 Thread s m
thanks Torsten but it can't help me:(( and RW, yes i can boot to single user mode, but i can't do anything there!!! i mean when i run command "gjournal label -f ad3s1a ad3s1g" some errors returned and all my partition disappear!! what do you do if you want to set a journal partition for your

Re: setup journaling for root partition

2013-05-23 Thread RW
On Thu, 23 May 2013 09:57:50 +0430 s m wrote: > my problem is, i can not run gjournal command for root partition in > fixit mode nor single user mode. Just to check, you did boot into single user mode rather than shut-down into single user mode? ___ f

Re: setup journaling for root partition

2013-05-23 Thread Torsten Hantzsche
On Thu, 23 May 2013, s m wrote: thanks, i do as you said, but after loading gjournal, dd says "operation not permitted". gjournal clear says "operation not permitted" too and therefore "gjournal label" is not done and say previous error (gjournal cannot clear metadata on ad3s1a: operation not

Re: setup journaling for root partition

2013-05-22 Thread s m
thanks, i do as you said, but after loading gjournal, dd says "operation not permitted". gjournal clear says "operation not permitted" too and therefore "gjournal label" is not done and say previous error (gjournal cannot clear metadata on ad3s1a: operation not permitted). and -v return no extra l

Re: setup journaling for root partition

2013-05-22 Thread Michael Sierchio
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 m

Re: setup journaling for root partition

2013-05-22 Thread s m
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 g

Re: setup journaling for root partition

2013-05-22 Thread Michael Sierchio
On Wed, May 22, 2013 at 10:27 PM, s m wrote: > 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 ad3s

Re: setup journaling for root partition

2013-05-22 Thread s m
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 d

Re: setup journaling for root partition

2013-05-21 Thread Michael Sierchio
On Tue, May 21, 2013 at 10:14 PM, s m 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 al

Re: setup journaling for root partition

2013-05-21 Thread s m
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 d

Re: setup journaling for root partition

2013-05-21 Thread Michael Sierchio
On Tue, May 21, 2013 at 8:20 AM, Warren Block wrote: On Tue, 21 May 2013, Arthur Chance wrote: > > On 05/21/13 15:46, Michael Sierchio wrote: >> >>> AFAIK Softupdates journaling still breaks snapshot functionality - which >>> makes it unusable for me. I wouldn't assume that the O.P. doesn't want

Re: setup journaling for root partition

2013-05-21 Thread Warren Block
On Tue, 21 May 2013, Arthur Chance wrote: On 05/21/13 15:46, Michael Sierchio wrote: AFAIK Softupdates journaling still breaks snapshot functionality - which makes it unusable for me. I wouldn't assume that the O.P. doesn't want we he's asking for. Good point, I'd forgotten that problem as I

Re: setup journaling for root partition

2013-05-21 Thread Arthur Chance
On 05/21/13 15:46, Michael Sierchio wrote: AFAIK Softupdates journaling still breaks snapshot functionality - which makes it unusable for me. I wouldn't assume that the O.P. doesn't want we he's asking for. Good point, I'd forgotten that problem as I don't use UFS snapshots. I can imagine it w

Re: setup journaling for root partition

2013-05-21 Thread Michael Sierchio
AFAIK Softupdates journaling still breaks snapshot functionality - which makes it unusable for me. I wouldn't assume that the O.P. doesn't want we he's asking for. - M On Tue, May 21, 2013 at 7:42 AM, Arthur Chance wrote: > On 05/21/13 12:43, saeedeh motlagh wrote: > >> thanks Julien, but i th

Re: setup journaling for root partition

2013-05-21 Thread Arthur Chance
On 05/21/13 12:43, saeedeh motlagh wrote: thanks Julien, but i think it's not true. man page for newfs seys that journaling is done via gjournal and in freebsd handbook it says do journaling with gjournal for UFS file system. you mean i should create a partition and just enable journaling for it

Re: setup journaling for root partition

2013-05-21 Thread Mark Felder
On Tue, 21 May 2013 06:43:34 -0500, saeedeh motlagh wrote: thanks Julien, but i think it's not true. man page for newfs seys that journaling is done via gjournal and in freebsd handbook it says do journaling with gjournal for UFS file system. No, he's right. It's generally not recommended t

Re: setup journaling for root partition

2013-05-21 Thread saeedeh motlagh
thanks Julien, but i think it's not true. man page for newfs seys that journaling is done via gjournal and in freebsd handbook it says do journaling with gjournal for UFS file system. you mean i should create a partition and just enable journaling for it with -J flag? i think my problem is, my gj

Re: setup journaling for root partition

2013-05-21 Thread Julien Cigar
On 05/21/2013 12:10, s m wrote: you mean that journaling is enabled by default i don't think so. i think i misunderstanding. may i ask you to explain it more clear? gjournal is journaling through GEOM. Since Freebsd 9 soft-updates journaling has been implemented for UFS. So if you want j

Re: setup journaling for root partition

2013-05-21 Thread s m
you mean that journaling is enabled by default i don't think so. i think i misunderstanding. may i ask you to explain it more clear? On Tue, May 21, 2013 at 2:09 PM, Julien Cigar wrote: > gjournal should not be used anymore as it has been implemented in the file > system code ... > > > On 0

Re: setup journaling for root partition

2013-05-21 Thread Julien Cigar
gjournal should not be used anymore as it has been implemented in the file system code ... On 05/21/2013 11:24, s m wrote: thanks Michael this is what i've done (based on the FreeBSD handbook): creating a partition for journal, go to single user mode, unmount desired partition (for example /us

Re: setup journaling for root partition

2013-05-21 Thread s m
thanks Michael this is what i've done (based on the FreeBSD handbook): creating a partition for journal, go to single user mode, unmount desired partition (for example /usr), load gjournal, add journal partition to /usr partition. this procedure works well for user and other partitions except root

Re: setup journaling for root partition

2013-05-20 Thread Michael Sierchio
On Mon, May 20, 2013 at 10:59 PM, s m wrote: > hello everybody > > i want to setup a journal partition for my root partition. but i do not > know how to do that. in FreeBSD handbook, it is done in single user mode, > unmount the desired partition and assign the journal partition to it. i > test t

setup journaling for root partition

2013-05-20 Thread s m
hello everybody i want to setup a journal partition for my root partition. but i do not know how to do that. in FreeBSD handbook, it is done in single user mode, unmount the desired partition and assign the journal partition to it. i test this procedure and it is done for /usr partition but for ro