The following section covers frequently asked questions regarding problems related to journaling.
5.1. | I am getting kernel panics during periods of high disk activity. How is this related to journaling? |
The journal probably fills up before it has a chance to get committed (flushed) to disk. Keep in mind the size of the journal depends on the usage load, and not the size of the data provider. If your disk activity is high, you need a larger partition for the journal. See the note in the Understanding Journaling section. | |
5.2. | I made some mistake during configuration, and I cannot boot normally now. Can this be fixed some way? |
You either forgot (or misspelled) the entry in
If the
If, on the other hand, this entry is correct, have a look at
| |
5.3. | 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
Unmount the journaled partitions:
Synchronize the journals:
Stop the journaling providers:
Clear journaling metadata from all the devices used:
Clear the file system journaling flag, and restore the Soft Updates flag:
Remount the old devices by hand:
Edit /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1d /var ufs rw 2 2 Finally, edit |
All FreeBSD documents are available for download at https://download.freebsd.org/ftp/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.