Re: UFS Journaling
Hi, I'm trying out gjournal before I implement if on one server. I require more than 8 partitions, but since I cannot do this, have 9 partitions on one You can do this with gpart and a GPT scheme. slice, I have created two slices on the disk, da0s1 (100GB) and da0s2 (40GB). On the first slice, I have my usual partitions. On the second slice, I have two partitions, each 20GB (da0s2d and da0s2e) that will be used as the journal providers. I need to journaled two partitions /usr (da0s1f) and /resource (da0s1g). I have done the following to get my data providers and journal providers -- boot into single usermode -- unmount /usr and /resource -- gjournal load -- gjournal label -f da0s1f da0s2d -- gjournal label -f da0s1g da0s2e -- tunefs -J enable -n disable da0s1f.journal -- tunefs -J enable -n disable da0s1g.journal -- mount /dev/da0s1f.journal /usr and mount /dev/da0s1g.journal /resource. Each mount with -o async -- edited fstab to mount the data providers Er, by the above do you mean mount the journal devices? As in, adding something like: /dev/da0s1f.journal /usrufs rw,async 2 2 /dev/da0s1g.journal /resourceufs rw,async 2 2 and eliminating the previously existing entries for /usr and /resource? If you have something else involving /usr, /resource, or any of the providers, that could cause serious problems. -- edited loader.conf and added geom_journal_load=YES If I enter ctrl+d, I continue to multi usermode with no problem. However, I needed to reboot and I get the messages below when it tries to mount the partitions: Root mount waiting for: GJOURNAL GJOURNAL Root mount waiting for: GJOURNAL GJOURNAL GEOM_JOURNAL: Timeout. Journal gjournal 3033687591 cannot be completed GEOM_JOURNAL: Journal 3033687591 : da0s1f contains data. Root mount waiting for: GJOURNAL GJOURNAL Root mount waiting for: GJOURNAL GJOURNAL GEOM_JOURNAL: Timeout. Journal gjournal 107992178 cannot be completed GEOM_JOURNAL: Journal 107992178 : da0s1g contains data. Root mount waiting for: GJOURNAL GJOURNAL Root mount waiting for: GJOURNAL GJOURNAL GEOM_JOURNAL: Timeout. Journal gjournal 3033687591 cannot be completed GEOM_JOURNAL: Journal 3033687591 : ufsid/4bed9437003f40f4 contains data. Root mount waiting for: GJOURNAL GJOURNAL Root mount waiting for: GJOURNAL GJOURNAL GEOM_JOURNAL: Timeout. Journal gjournal 3033687591 cannot be completed GEOM_JOURNAL: Journal 3033687591 : ufsid/4bed9437dfb979f4 contains data. This goes on and on... I cannot go beyond this point. Did I miss something? You may want to start from scratch, after having zero'd out the disk, to eliminate any garbage from previous installations that may confuse geom. What kind of a disk is da0? What kind of bus is it on? PS: I started off with a journal provider partition of 5GB and increased all the way to 20GB. This was after I googled and read that this error will occur if the journal provider size is small. I have attempted this with the journal provider partions on the first slice, da0s1 and also on the second sloce da0s2. All get me the above error. Holy mammoth journals, Batman! If you want to be _conservative_, you should have journals that are about: 2* kern.geom.journal.switch_time * maximum disk throughput per second That's about 2 * 10s * 200 MB/s or roughly 3.9GB, and that's for a fast drive, so 20GB is probably overkill. You can monitor various useful statistics and settings by looking at sysctl kern.geom.journal. Among other things, those sysctls can tell you about full journals and cache misses. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: UFS Journaling
On Sat, May 15, 2010 at 8:33 PM, b. f. bf1...@googlemail.com wrote: Hi, I'm trying out gjournal before I implement if on one server. I require more than 8 partitions, but since I cannot do this, have 9 partitions on one You can do this with gpart and a GPT scheme. h... I'll dig into this and read on it. slice, I have created two slices on the disk, da0s1 (100GB) and da0s2 (40GB). On the first slice, I have my usual partitions. On the second slice, I have two partitions, each 20GB (da0s2d and da0s2e) that will be used as the journal providers. I need to journaled two partitions /usr (da0s1f) and /resource (da0s1g). I have done the following to get my data providers and journal providers -- boot into single usermode -- unmount /usr and /resource -- gjournal load -- gjournal label -f da0s1f da0s2d -- gjournal label -f da0s1g da0s2e -- tunefs -J enable -n disable da0s1f.journal -- tunefs -J enable -n disable da0s1g.journal -- mount /dev/da0s1f.journal /usr and mount /dev/da0s1g.journal /resource. Each mount with -o async -- edited fstab to mount the data providers Er, by the above do you mean mount the journal devices? As in, adding something like: /dev/da0s1f.journal /usrufs rw,async 2 2 /dev/da0s1g.journal /resourceufs rw,async 2 2 and eliminating the previously existing entries for /usr and /resource? If you have something else involving /usr, /resource, or any of the providers, that could cause serious problems. Sorry... I was a little tired and did not read over what I had written. In my fstab, I have the journal devices as you have mentioned. -- edited loader.conf and added geom_journal_load=YES If I enter ctrl+d, I continue to multi usermode with no problem. However, I needed to reboot and I get the messages below when it tries to mount the partitions: Root mount waiting for: GJOURNAL GJOURNAL Root mount waiting for: GJOURNAL GJOURNAL GEOM_JOURNAL: Timeout. Journal gjournal 3033687591 cannot be completed GEOM_JOURNAL: Journal 3033687591 : da0s1f contains data. Root mount waiting for: GJOURNAL GJOURNAL Root mount waiting for: GJOURNAL GJOURNAL GEOM_JOURNAL: Timeout. Journal gjournal 107992178 cannot be completed GEOM_JOURNAL: Journal 107992178 : da0s1g contains data. Root mount waiting for: GJOURNAL GJOURNAL Root mount waiting for: GJOURNAL GJOURNAL GEOM_JOURNAL: Timeout. Journal gjournal 3033687591 cannot be completed GEOM_JOURNAL: Journal 3033687591 : ufsid/4bed9437003f40f4 contains data. Root mount waiting for: GJOURNAL GJOURNAL Root mount waiting for: GJOURNAL GJOURNAL GEOM_JOURNAL: Timeout. Journal gjournal 3033687591 cannot be completed GEOM_JOURNAL: Journal 3033687591 : ufsid/4bed9437dfb979f4 contains data. This goes on and on... I cannot go beyond this point. Did I miss something? You may want to start from scratch, after having zero'd out the disk, to eliminate any garbage from previous installations that may confuse geom. What kind of a disk is da0? What kind of bus is it on? sigh... i did... about 5 times... and I still ended up at the same point... Root mount waiting for :-( PS: I started off with a journal provider partition of 5GB and increased all the way to 20GB. This was after I googled and read that this error will occur if the journal provider size is small. I have attempted this with the journal provider partions on the first slice, da0s1 and also on the second sloce da0s2. All get me the above error. Holy mammoth journals, Batman! If you want to be _conservative_, you should have journals that are about: 2* kern.geom.journal.switch_time * maximum disk throughput per second That's about 2 * 10s * 200 MB/s or roughly 3.9GB, and that's for a fast drive, so 20GB is probably overkill. You can monitor various useful statistics and settings by looking at sysctl kern.geom.journal. Among other things, those sysctls can tell you about full journals and cache misses. My first journals were 4GB in size, but I got the errors mentioned above. I googled and what I found was a reference to the journals being too small compared to the data providers. There is a suggestionhttp://www.freebsd.org/doc/en/articles/gjournal-desktop/that was given to have the journal sizes 3.3 x RAM. This seemed a little too big for my setup. I have 8GB RAM. Im puzzled on this one :-/ -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
UFS Journaling
Hi, I'm trying out gjournal before I implement if on one server. I require more than 8 partitions, but since I cannot do this, have 9 partitions on one slice, I have created two slices on the disk, da0s1 (100GB) and da0s2 (40GB). On the first slice, I have my usual partitions. On the second slice, I have two partitions, each 20GB (da0s2d and da0s2e) that will be used as the journal providers. I need to journaled two partitions /usr (da0s1f) and /resource (da0s1g). I have done the following to get my data providers and journal providers -- boot into single usermode -- unmount /usr and /resource -- gjournal load -- gjournal label -f da0s1f da0s2d -- gjournal label -f da0s1g da0s2e -- tunefs -J enable -n disable da0s1f.journal -- tunefs -J enable -n disable da0s1g.journal -- mount /dev/da0s1f.journal /usr and mount /dev/da0s1g.journal /resource. Each mount with -o async -- edited fstab to mount the data providers -- edited loader.conf and added geom_journal_load=YES If I enter ctrl+d, I continue to multi usermode with no problem. However, I needed to reboot and I get the messages below when it tries to mount the partitions: Root mount waiting for: GJOURNAL GJOURNAL Root mount waiting for: GJOURNAL GJOURNAL GEOM_JOURNAL: Timeout. Journal gjournal 3033687591 cannot be completed GEOM_JOURNAL: Journal 3033687591 : da0s1f contains data. Root mount waiting for: GJOURNAL GJOURNAL Root mount waiting for: GJOURNAL GJOURNAL GEOM_JOURNAL: Timeout. Journal gjournal 107992178 cannot be completed GEOM_JOURNAL: Journal 107992178 : da0s1g contains data. Root mount waiting for: GJOURNAL GJOURNAL Root mount waiting for: GJOURNAL GJOURNAL GEOM_JOURNAL: Timeout. Journal gjournal 3033687591 cannot be completed GEOM_JOURNAL: Journal 3033687591 : ufsid/4bed9437003f40f4 contains data. Root mount waiting for: GJOURNAL GJOURNAL Root mount waiting for: GJOURNAL GJOURNAL GEOM_JOURNAL: Timeout. Journal gjournal 3033687591 cannot be completed GEOM_JOURNAL: Journal 3033687591 : ufsid/4bed9437dfb979f4 contains data. This goes on and on... I cannot go beyond this point. Did I miss something? PS: I started off with a journal provider partition of 5GB and increased all the way to 20GB. This was after I googled and read that this error will occur if the journal provider size is small. I have attempted this with the journal provider partions on the first slice, da0s1 and also on the second sloce da0s2. All get me the above error. PPS: I am doing this on FreeBSD 8.0 RELEASE -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Article on implementing UFS journaling on desktop PCs (updated)
I'm just getting caught up on my -doc mail. This is a great article. Thanks for writing it up! - Murray On Sun, Apr 27, 2008 at 10:21 AM, Manolis Kiagias [EMAIL PROTECTED] wrote: I have just updated my recent article on journaling for desktops: http://store.itsyourftp.com/~sonic2000gr/freebsd/gjournal-desktop/article.html Main differences: - The abstract is somewhat shorter - Separate providers for journal and data are needed only when the partition to be journaled is not empty. This is now clarified in the Understanding journaling section. - A new section Journaling new partitions was added (explains how to use a single provider for data / journal on an empty/new partition and how to set the size of the journal) - A further reading section was added with a few links related to journaling. - Various other small fixes in content / markup. Please review this new revision and send me your comments. Thanks Manolis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Article on implementing UFS journaling on desktop PCs (updated)
I have just updated my recent article on journaling for desktops: http://store.itsyourftp.com/~sonic2000gr/freebsd/gjournal-desktop/article.html Main differences: - The abstract is somewhat shorter - Separate providers for journal and data are needed only when the partition to be journaled is not empty. This is now clarified in the Understanding journaling section. - A new section Journaling new partitions was added (explains how to use a single provider for data / journal on an empty/new partition and how to set the size of the journal) - A further reading section was added with a few links related to journaling. - Various other small fixes in content / markup. Please review this new revision and send me your comments. Thanks Manolis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
Unga wrote: --- Manolis Kiagias [EMAIL PROTECTED] wrote: 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. Hope following ideas may help you. 1. Article is too long. You have a note before the introduction, then introduction and Understanding journaling in FreeBSD. I appreciate brevity. The introduction and Understanding journaling in FreeBSD would be suffice. and edit them for brevity. The note before the introduction is the abstract, and seems to be a standard feature in articles. You are right though, some parts should be shortened, information is repeated. The note before the introduction is good enough as an introduction, 2. Ideally have a table of contents. Table of contents will be produced by the build system when the article is split into several pages (FORMATS=html-split), for my test I compiled it with FORMATS=html 3. Ideally prerequisites as a separate section. 4. A new section on How to estimate journal size I would really like to have a method on estimating size, however I don't have enough test cases. This will have to wait for the next revision. 5. Split Setting up journaling to sub sections: - Data and journal in the same partition - Data and journal in the multiple partitions/disks Already working on this ;) 6. A new section on how to extend the size of the journal (if later find too small) Would this be possible at all? It would mean you have more available free disk space. In that case you would simply remove the old journal and use the new one. I will mention this 7. Further reading: - Journaling UFS with gjournal - http://lists.freebsd.org/pipermail/freebsd-current/2006-June/064043.html - Journaling file system - http://en.wikipedia.org/wiki/Journaling_file_system - UFS2 Journaling implementation detail - http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/173501.html - FreeBSD/ZFS - Last word in operating/file systems - http://2007.eurobsdcon.org/presentations/Pawel_Jakub_Dawidek/eurobsdcon07_zfs.pdf Kind Regards Unga Thanks. I will add your links to a Further reading section. P.S. Just realized I've sent this answer to your email only and not on the list. Apologies. Also note my comment on table of contents is probably incorrect. But I will probably add reference links between sections. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
The note before the introduction is the abstract, and seems to be a standard feature in articles. You are right though, some parts should be shortened, information is repeated. after reading this article i am even more sure that this gjournal is a quick and quite primitive hack, not real journalling. as it needs GB or more space - it shows it journals almost everything, means everything is written twice. looks like softupdates was too good and people wanted something worse ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
On Apr 24, 2008, at 12:00 PM, Manolis Kiagias wrote: 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. Thanks, Manolis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] A kernel panic will occur if the journal space is exhausted before it has a chance to be committed. So the intended behavior is for the kernel to give up(instead of keep trying and maintain reliability), and risk data loss? With a compliant hard drive that doesn't reorder writes, how is journaling better than soft updates? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
Joshua Isom wrote: On Apr 24, 2008, at 12:00 PM, Manolis Kiagias wrote: 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. Thanks, Manolis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] A kernel panic will occur if the journal space is exhausted before it has a chance to be committed. So the intended behavior is for the kernel to give up(instead of keep trying and maintain reliability), and risk data loss? With a compliant hard drive that doesn't reorder writes, how is journaling better than soft updates? I was referring mainly to this post: http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/173501.html Obviously I am no expert on the subject, but it seems to me that since the journal should keep the filesystem consistent, if it fills up and can't commit all the bits to disk, it would be better not to commit anything. Sure, you may lose data but not the filesystem. Having said that, the article only deals with the use of journaling on a typical desktop. I am already using default 1Gb journals on all my desktop systems (at least one works for a few hours under quite heavy load) and a home server for an individual who constantly copies several very large files over gigabit net (gjournal+gmirror in his case). I have never encountered any problem. YMMV, proceed with care. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
--- Manolis Kiagias [EMAIL PROTECTED] wrote: 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. Hope following ideas may help you. 1. Article is too long. You have a note before the introduction, then introduction and Understanding journaling in FreeBSD. I appreciate brevity. The introduction and Understanding journaling in FreeBSD would be suffice. and edit them for brevity. The note before the introduction is good enough as an introduction, 2. Ideally have a table of contents. 3. Ideally prerequisites as a separate section. 4. A new section on How to estimate journal size 5. Split Setting up journaling to sub sections: - Data and journal in the same partition - Data and journal in the multiple partitions/disks 6. A new section on how to extend the size of the journal (if later find too small) 7. Further reading: - Journaling UFS with gjournal - http://lists.freebsd.org/pipermail/freebsd-current/2006-June/064043.html - Journaling file system - http://en.wikipedia.org/wiki/Journaling_file_system - UFS2 Journaling implementation detail - http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/173501.html - FreeBSD/ZFS - Last word in operating/file systems - http://2007.eurobsdcon.org/presentations/Pawel_Jakub_Dawidek/eurobsdcon07_zfs.pdf Kind Regards Unga Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RFC: Article on implementing UFS journaling on desktop PCs
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. Thanks, Manolis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
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 Thanks Gabor, I will certainly send you the sources, probably on Monday. I am still polishing the markup (and content) a bit, and I would also like to get some comments from people who are using / are familiar with journaling. Thanks again Manolis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 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? -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I'm considering using such a setup. And if I decide to give it a go, I'll have to backup, boot from a custom CD I made, make the changes to the disks and restore the backup. Considering that, trying out what unit is used, should only take a fraction of the total time, and it doesn't really scare me to try it. :) I realize my question went to the wrong person, but I simply replied to the mail. My apologies. -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]