RFC: Article on implementing UFS journaling on desktop PCs

Manolis Kiagias sonicy at otenet.gr
Thu Apr 24 20:12:04 UTC 2008



Manolis Kiagias wrote:
>
>
> Rolf G Nielsen wrote:
>> Gabor Kovesdan wrote:
>>> Manolis Kiagias escribió:
>>>> I have just completed an article (mostly how-to) for implementing 
>>>> UFS journaling on a typical desktop PC:
>>>>
>>>> http://store.itsyourftp.com/~sonic2000gr/freebsd/gjournal-desktop/article.html 
>>>>
>>>>
>>>> It focuses on detailing an easy to follow, repeatable procedure, to 
>>>> install FreeBSD on a typical PC and enable journaling on /usr and 
>>>> possibly /var.
>>>> I am using this same procedure on my systems.
>>>>
>>>> I welcome all feedback, please send me any comments, suggestions 
>>>> and corrections.
>>> Nice work like the other one! I won't have time till Monday, but I'd 
>>> be more then happy to review and commit this article if you can send 
>>> me the sources.
>>>
>>> Regards,
>>> Gábor Kövesdán
>>> _______________________________________________
>>> freebsd-questions at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to 
>>> "freebsd-questions-unsubscribe at freebsd.org"
>>>
>>>
>>>
>>
>> The man page for gjournal does not say what unit to use when 
>> specifying the journal size with the -s option. Sectors? GB? Anything 
>> else? Or is there a default (say sectors) that can be changed by 
>> using a suffix, like -s 10G?
> You are right, although it does say the default is 1Gb.
> However the jsize option is only available when both data  journal are 
> stored on the same provider, and the article does not deal with this, 
> as it uses separate providers for data and journal.
> I could give this a try on my virtual setup and see what kind of unit 
> is used.
>
Just tested, and the size is in bytes. By the way, using the same 
provider for journal and data is only possible when done on empty space 
or on an unneeded filesystem (all data is erased). Maybe I should add(?) 
a small howto section for this condition as well.


More information about the freebsd-questions mailing list