Source string Read only

(itstool) path: answer/para
32/320
Context English State
If the <literal>geom_journal_load</literal> entry is missing or misspelled, the journaled devices are never created. Load the module manually, mount all partitions, and continue with multi-user boot:
<prompt>#</prompt> <userinput>gjournal load</userinput>

GEOM_JOURNAL: Journal 2948326772: ad0s1g contains journal.
GEOM_JOURNAL: Journal 3193218002: ad0s1h contains journal.
GEOM_JOURNAL: Journal 3193218002: ad0s1d contains data.
GEOM_JOURNAL: Journal ad0s1d clean.
GEOM_JOURNAL: Journal 2948326772: ad0s1f contains data.
GEOM_JOURNAL: Journal ad0s1f clean.

<prompt>#</prompt> <userinput>mount -a</userinput>
<prompt>#</prompt> <userinput>exit</userinput>
<emphasis>(boot continues)</emphasis>
If, on the other hand, this entry is correct, have a look at <filename>/etc/fstab</filename>. You will probably find a misspelled or missing entry. In this case, mount all remaining partitions by hand and continue with the multi-user boot.
Can I remove journaling and return to my standard file system with Soft Updates?
Sure. Use the following procedure, which reverses the changes. The partitions you created for the journal providers can then be used for other purposes, if you so wish.
Login as <systemitem class="username">root</systemitem> and switch to single user mode:
Unmount the journaled partitions:
Synchronize the journals:
<prompt>#</prompt> <userinput>gjournal sync</userinput>
Stop the journaling providers:
<prompt>#</prompt> <userinput>gjournal stop ad0s1d.journal</userinput>
<prompt>#</prompt> <userinput>gjournal stop ad0s1f.journal</userinput>
Clear journaling metadata from all the devices used:
<prompt>#</prompt> <userinput>gjournal clear ad0s1d</userinput>
<prompt>#</prompt> <userinput>gjournal clear ad0s1f</userinput>
<prompt>#</prompt> <userinput>gjournal clear ad0s1g</userinput>
<prompt>#</prompt> <userinput>gjournal clear ad0s1h</userinput>
Clear the file system journaling flag, and restore the Soft Updates flag:
<prompt>#</prompt> <userinput>tunefs -J disable -n enable ad0s1d</userinput>

tunefs: gjournal cleared
tunefs: soft updates set

<prompt>#</prompt> <userinput>tunefs -J disable -n enable ad0s1f</userinput>

tunefs: gjournal cleared
tunefs: soft updates set
Remount the old devices by hand:
<prompt>#</prompt> <userinput>mount -o rw /dev/ad0s1d /var</userinput>
<prompt>#</prompt> <userinput>mount -o rw /dev/ad0s1f /usr</userinput>
Edit <filename>/etc/fstab</filename> and restore it to its original state:
/dev/ad0s1f /usr ufs rw 2 2
/dev/ad0s1d /var ufs rw 2 2
Finally, edit <filename>/boot/loader.conf</filename>, remove the entry that loads the <literal>geom_journal</literal> module and reboot.
Further Reading
Journaling is a fairly new feature of FreeBSD, and as such, it is not very well documented yet. You may however find the following additional references useful:
A <link xlink:href="@@URL_RELPREFIX@@/doc/en_US.ISO8859-1/books/handbook/geom-gjournal.html">new section on journaling</link> is now part of the FreeBSD Handbook.
<link xlink:href="https://lists.freebsd.org/pipermail/freebsd-current/2006-June/064043.html">This post</link> in <link xlink:href="http://lists.FreeBSD.org/mailman/listinfo/freebsd-current">freebsd-current</link> by <citerefentry><refentrytitle>gjournal</refentrytitle><manvolnum>8</manvolnum></citerefentry>'s developer, Paweł Jakub Dawidek <email>pjd@FreeBSD.org</email>.
<link xlink:href="https://lists.freebsd.org/pipermail/freebsd-questions/2008-April/173501.html">This post</link> in <link xlink:href="http://lists.FreeBSD.org/mailman/listinfo/freebsd-questions">freebsd-questions</link> by Ivan Voras <email>ivoras@FreeBSD.org</email>.
The manual pages of <citerefentry><refentrytitle>gjournal</refentrytitle><manvolnum>8</manvolnum></citerefentry> and <citerefentry><refentrytitle>geom</refentrytitle><manvolnum>8</manvolnum></citerefentry>.

Loading…

No matching activity found.

Browse all component changes

Glossary

English English
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: answer/para
Flags
read-only
Source string location
article.translate.xml:619
String age
a year ago
Source string age
a year ago
Translation file
articles/gjournal-desktop.pot, string 125