CherryTree custom codeblock background

A ramble of why…..

…..i want to change the background colour of CherryTree’s codeblocks.

I use Linux as my OS of choice and have for many years. One thing that has been missing is a really good all round note application. I have always wanted something like Onenote but for the past few years I have discovered how powerful markdown is. The use of the ‘`’ (back tick) to insert command line or code in the middle of a document is extremely useful, I find it so much easier to read because it breaks down the text into a consumable form.

These days there are a lot of Electron markdown note taking apps popping up, this isn’t necessarily a bad thing but I find electron apps don’t look very good at all in Linux. I use typora at work on my Mac and it looks native. The same application just looks pretty bad under Ubuntu. Yes it does look worse because it is a Snap but even under fedora it isn’t great.

Read more…

LVM Transaction ID mismatch and metadata resize error

I nearly lost my LVM thin pool on my laptop recently due to the metadata nearly filling up (99.4%). I first noticed this when trying to install something and the root filesystem was read only. Rebooting the machine re-mounted the root partition as RW. Trying to get this pool into a healthy shape gave me all sorts of transaction id and meta errors so hopefully this post will assist someone.

My LVM Layout

I use LVM on my Fedora 27 system along with encryption; it is probably useful to share the layout so the rest of the blog makes sense.

Using the LVS command:

Read more…

FreeNAS Failed to create mountpoint


I have two FreeNAS servers running version 9.10 on a HP MicroServer Gen 8. The main server has 16 GB RAM with a Intel(R) Xeon(R) CPU E3-1220L V2 @ 2.30GHz while the secondary has 8 GB RAM and a Intel(R) Celeron(R) CPU G1610T @ 2.30GHz. These two replicate data in both directions for off site backup. I recently upgraded them both to FreeNAS 11 U2 while also taking the opportunity to migrate backups from ISCSI ZVOL to Datasets. This meant replicating the new datasets.

Read more…

FreeNAS 9.10 Replication can not mount


Replication has been working fine using a dedicated user until I decided to move my backups from ISCSI shares to NFS shares, thus having to replicate from scratch. The replication seems to work as the dataset is transferred and the data is readable on the remote side. However on the push side it is marked as “Failed”, then after a short while it is marked as “Up to date” but no snapshot is listed in the column “Latest snapshot sent to remote side”.

In the logs (tail -f /var/log/debug.log) I kept noticing this:

Aug  8 19:19:29 nas [tools.autorepl:157] Replication result: cannot mount ‘RBS-POOL/Backup/Backups’: Insufficient privileges

Read more…

Linux – Move back in time backups

Back in time is mainly a Linux backup tool which uses rsync to perform efficient incremental backups. This quick post shows you how to successfully move back in time backups to a different location. If you try to copy the folder using a file explorer it ends up trying to copy a vast amount of data which isn’t actually there. My photos backup totals around 120 GB but trying to copy this manually resulted in the file explorer reporting 1.1 TB of data to be copied.

Read more…