What is the best file system for DDWRT NAS using an SSD

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
JackPollack
DD-WRT User


Joined: 22 May 2015
Posts: 59

PostPosted: Mon Apr 04, 2022 22:40    Post subject: What is the best file system for DDWRT NAS using an SSD Reply with quote
I want to do some simple sharing of files between computers (downloads, drivers etc)

What is the best file system to use with an SSD and DDWRT samba?

I've done a bit of of research and some people recommend ext2, some ext3 and some ext4.

I did a quick speed test moving a 20gb file with the drive formatted as NTFS and ext4 and ext4 was 20% faster.

One article I read said that ext2 can only support files under 2gb in size, so if that is the case I would prefer ext3 or ext4.

If I go with ext3 or ext4 I assume I would want to to disable journeying? Is that correct and how do I do that?

And a slightly off topic question, my router has both USB3 and an ESATA port which one should I use?

Thanks in advance
Sponsor
Mr R Design
DD-WRT User


Joined: 04 Nov 2020
Posts: 55

PostPosted: Tue Apr 05, 2022 6:25    Post subject: Reply with quote
Do your test again between EXT2 and NTFS. EXT2 does not journal and is not limited to 2gb. Once formatted EXT2 will show in DD-WRT as EXT4 even though it is actually EXT2.

You will need a psu if you use Esata so use a USB port. USB3 may cause interference so try the USB2 port as well if you have one (or use a USB2 cable from the USB3 port). Check for the interference on the wireless tab and watch what happens to the SNR.

EXT2 works best for me on my R7800, I use the NAS for downloading torrents and subsequent playback of videos.
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2143
Location: All over YOUR webs

PostPosted: Tue Apr 05, 2022 10:09    Post subject: Reply with quote
IDK what articles you are reading, some sources of information are not reliable. I seek information from well establish authorities and/or technical documentation on the subject. everything else is safely taken with a pinch of salt and not to be trusted blindly without verification.

EXT4 for a SSD is better than EXT2/3 IMO given my own personal experience on the subject outside of DD-WRT, mind. The processing power of a SSD is vastly superior to that of a HDD in all aspects and its so fast that journaling becomes a non issue, though it can be disabled on regular Linux, never tried DD-WRT side, however tune2fs is available on DD-WRT to tweak the FS, to disable would be something like tune2fs -O ^has_journal, tune4fs doesn't exist in DD-WRT and that command is originally using tune4fs.

TRIM! DD-WRT -- Busybox includes fstrim.c, however running the fstrim command, without any external SSD mounted yields command not found (could be this is reserved to more powerful routers). It is available as a entware package from OpenWRT. Not a big issue per say, you can simply plug the drive on a Linux system and trim it, if it comes to it.

Unless you have a mechanical HDD I would stick to modern filesystems, they are better featured and can always enable/disable something with tune2fs rather than be limited by non existing features with older FS.
You can also upgrade filesystems with no data loss from EXT2 to 3 or 4, but not recommended on a piddly DD-WRT router CPU, you cannot downgrade FS versions.

Yea plenty info out there, just ask your friendly neighborhood search engine and remember only use information from reputable sources and not some unknown Joe's blog and always verify your information from independent sources, trust but verify is key.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum