[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Homebuilt NAS: System Drive Filesystem?



On Tue, 25 Aug 2020 09:37:20 +0300
Andrei POPESCU <andreimpopescu@gmail.com> wrote:

> On Lu, 24 aug 20, 09:26:57, Patrick Bartek wrote:
> > 
> > Since F2FS is not supported directly for an install, one would have to
> > convert to it after or configure the flash drive with another computer
> > before the install. I don't know if it is worth the time to do so.
> > EXT4 without journaling would be easier.  
> 
> The journal is written to only if the filesystem is written to as well.  

Yes, and every time a log is written to, too.  On my main system,
normal usage, journaling on, I'm getting hard drive activity about 2 to
3 times a minute 24/7/365. And currently, I have firewall logging off
which was writing to log every 2 seconds or so.  The two Roku devices I
have, for some reason, were trying to access this computer, but no
others.  Don't know why.

Some have suggested to remount / read-only, but since my plan is not to
have a separate /home partition, that would cause problems. Probably
will cause problems even if I do.

However, the NAS software I plan to use (OpenMediaVault) has a
specific plugin if you're using solid state devices for the system
and/or DATA drives.  Don't know exactly what it does, or whether it's a
binary or an executable script.  Guess I'll have to wait until I get to
the point of installing it to see what it does.  No details are given
in OMV's docs.
 
> Without having any other data than my own, admittedly limited, 
> experience[1] it doesn't seem worth disabling the journal, it is only 
> written when the filesystem is written to as well anyway.

At least the flash drive I'm using has wear leveling.  And I'm going to
leave about 15% of it unpartitioned to be safe. Plus, clone it, so if
it goes down, I just plug in the clone and I'm up and running.

> [1] all my current systems are running from SD cards, with the only 
> optimisation being to not configure any swap.

Thanks for your input.

B


Reply to: