ext4 or btrfs on Synology


Recommended Posts

The latest DSM version defaults to formatting volumns with BTRFS, while I know there are advantages to this file system, do you really gain anything over just going with ext4? It from what I've read seems like a relatively new file system. I'm not really a linux person so I don't have the largest knowledge on the two file systems.

 

Is it better to just stick with ext4 for now? it seems like btrfs uses more disk space up since it versions (i assume ext4 doesn't from the light reading i've done on the two?)

Link to comment
https://www.neowin.net/forum/topic/1308408-ext4-or-btrfs-on-synology/
Share on other sites

Btrfs has issues and isn't to be depended on for long-term storage, whereas ext4 was made for it. Since you've pretty much answered your own question by the statement "btrfs uses more disk space", yeah. Ext4 is the clear choice of the two. :yes: 

  On 11/09/2016 at 23:31, Unobscured Vision said:

Btrfs has issues and isn't to be depended on for long-term storage, whereas ext4 was made for it. Since you've pretty much answered your own question by the statement "btrfs uses more disk space", yeah. Ext4 is the clear choice of the two. :yes: 

Expand  

Well all I knew about BTRFS was the journaling part and that take, and that synology pushes it as the default file format now.... I put a new volumn on and it went right to btrfs... probably should redo that as Ext4, which is what I've been using for the other volumns

"Btrfs has issues and isn't to be depended on for long-term storage"

 

Where did  you read this??  Why would it not be good for long term storage???

 

To be honest for a storage system btrfs would be hands down the most logical choice period!! 

  On 12/09/2016 at 19:43, BudMan said:

"Btrfs has issues and isn't to be depended on for long-term storage"

 

Where did  you read this??  Why would it not be good for long term storage???

 

To be honest for a storage system btrfs would be hands down the most logical choice period!! 

Expand  

I found that fishy as well. For desktop use, yes, EXT4 is better. But for server/storage with several disks, BTRFS is better all around.

  On 12/09/2016 at 19:43, BudMan said:

"Btrfs has issues and isn't to be depended on for long-term storage"

 

Where did  you read this??  Why would it not be good for long term storage???

 

To be honest for a storage system btrfs would be hands down the most logical choice period!! 

Expand  

Too many reports of btrfs flaking out and destroying the data stored within the file system. The guy that does the Linux Action Show had a run-in with it about a year ago, iirc, and was quite vocal about how badly it treated him after a mere weekend of use.

 

[EDIT] Here's the whole incident. 

 

https://www.youtube.com/watch?v=WfpNGJt40Lc&t=3384s (The point where he finally loses his cool about btrfs)

Edited by Unobscured Vision

So 1 idiot on youtube??  without even 5k views?  Over a year ago..  So that was posted Apr 2015, so that was what version at best 3.19.1?  Maybe 4?

 

https://btrfs.wiki.kernel.org/index.php/Changelog

 

So we are now version 4.7.2, think maybe a few improvements? ;)

 

So synology has now made it their default??  Do you think that would be a wise choice for a company that makes nas's for their bread and butter if their was even a slight chance it could flake out and wipe all their users data??  Does that sound plausible??  Mindovermatter was their red flashing lights, bells going off warning warning warning you could loose data using this??

  • Like 2

I'm using btrfs on my DS1815+. I have 3x6TB WD Red drives in it, and it's set up for 1 drive parity. I haven't had any issues with the file system at all. Pretty much every issue I've had so far has been with DSM 6.0, but they've since been cleared up (mainly issues with packages not running). It's been running solid for about 3 months or so now.

BTRFS is fine if you stick with the non-RAID and RAID 0 or 1 setups. RAID 5 or 6 is NOT safe. I've used BTRFS for close to 2 years now and I haven't experienced any data loss or corruption. I make use of RAID 1 with LZO compression and snapshots. I've experienced power outages and system freezes caused by others things than the file system. I've never lost data.

  On 13/09/2016 at 02:24, BudMan said:

So 1 idiot on youtube??  without even 5k views?  Over a year ago..  So that was posted Apr 2015, so that was what version at best 3.19.1?  Maybe 4?

 

https://btrfs.wiki.kernel.org/index.php/Changelog

 

So we are now version 4.7.2, think maybe a few improvements? ;)

 

So synology has now made it their default??  Do you think that would be a wise choice for a company that makes nas's for their bread and butter if their was even a slight chance it could flake out and wipe all their users data??  Does that sound plausible??  Mindovermatter was their red flashing lights, bells going off warning warning warning you could loose data using this??

Expand  

:rofl:

  On 14/09/2016 at 00:30, Radium said:

BTRFS is fine if you stick with the non-RAID and RAID 0 or 1 setups. RAID 5 or 6 is NOT safe. I've used BTRFS for close to 2 years now and I haven't experienced any data loss or corruption. I make use of RAID 1 with LZO compression and snapshots. I've experienced power outages and system freezes caused by others things than the file system. I've never lost data.

Expand  

Synology for RAID5 and RAID6 default to BTRFS in DSM6

 

One thing I'm noticing is it uses up a lot more CPU time doing file level stuff, the check disk (raid error checking) / defrag take a lot longer to run, and of course uses up a good bit more space keeping change logs for files

  On 14/09/2016 at 20:19, Jason S. said:

what do you mean by this? i dont understand

Expand  

when you make a RAID5 or RAID6 volume it defaults the format to BTRFS as part of the creation, you have to explicitly tell it now no use ext4, which was previously the only format they used

 

I only brought that up because of the previous poster saying don't use it on RAID5 and RAID6 because it's not safe... if it wasn't safe I don't think they'd make it the default format

"if it wasn't safe I don't think they'd make it the default format"

 

There you go using logic again ;)  Didn't you watch the youtube video put out by that guy.. Clearly btrfs is a complete ###### show and your going to loose your data.  Which is why Synology has switched too it I am sure, they clearly want all their users to have a crap experience with their products..  And loose their data, maybe they got a dmca about their users storing copyrighted material and this is their way of getting rid of it ;) heheheh ROFL

 

Or maybe they just didn't see that video and don't understand that is not safe, and went ahead and enabled it and made it default without any testing of it at all.. Yeah that's prob it ;)

  On 15/09/2016 at 01:06, neufuse said:

when you make a RAID5 or RAID6 volume it defaults the format to BTRFS as part of the creation, you have to explicitly tell it now no use ext4, which was previously the only format they used

 

I only brought that up because of the previous poster saying don't use it on RAID5 and RAID6 because it's not safe... if it wasn't safe I don't think they'd make it the default format

Expand  

BTRFS has RAID 0, 1, 5 and 6 built in. That's what I'm talking about. Synology most likely uses MD-RAID 5 or 6 and then put BTRFS on top of it. That's completely different.

 

BTRFS RAID is configured during or after you set up the filesystem (using btrfs-progs).

If you create a RAID and pick a filesystem after the RAID has been configured then it's either hardware RAID or MD-RAID.

People have reported unrecoverable data loss from RAID56 in BTRFS. It even warns you on the BTRFS Wiki about it.

Based on this, Synology most likely uses MD-RAID, especially when you can(?) pick your own filesystem for the RAID. BTRFS is perfectly fine when run on top of a block level RAID since it doesn't do RAID itself when you do that.

You mean the wiki article that states

 

any system which might encounter unplanned shutdowns (power failure, kernel lock-up), and it should not be considered production-ready.

 

I completely agree that unplanned power failures or just plain lockup of the OS (kernel) could cause you loss... How is this not an issue for any raid system anywhere?  This is one of the reasons raid cards have battery backups.

 

So you have your synology just plugged into wall power?  Or do you have it using a UPS, and then planned shutdown before loss of battery power on power loss?

 

 

  On 15/09/2016 at 14:48, BudMan said:

You mean the wiki article that states

 

any system which might encounter unplanned shutdowns (power failure, kernel lock-up), and it should not be considered production-ready.

 

I completely agree that unplanned power failures or just plain lockup of the OS (kernel) could cause you loss... How is this not an issue for any raid system anywhere?  This is one of the reasons raid cards have battery backups.

 

So you have your synology just plugged into wall power?  Or do you have it using a UPS, and then planned shutdown before loss of battery power on power loss?

 

 

Expand  

Oh I always plan ahead my unplanned outages :rofl:

  On 15/09/2016 at 11:42, Radium said:

BTRFS has RAID 0, 1, 5 and 6 built in. That's what I'm talking about. Synology most likely uses MD-RAID 5 or 6 and then put BTRFS on top of it. That's completely different.

 

BTRFS RAID is configured during or after you set up the filesystem (using btrfs-progs).

If you create a RAID and pick a filesystem after the RAID has been configured then it's either hardware RAID or MD-RAID.

People have reported unrecoverable data loss from RAID56 in BTRFS. It even warns you on the BTRFS Wiki about it.

Based on this, Synology most likely uses MD-RAID, especially when you can(?) pick your own filesystem for the RAID. BTRFS is perfectly fine when run on top of a block level RAID since it doesn't do RAID itself when you do that.

Expand  

MD-RAID? Area you talking about "Multiple Device RAID"? Gawd I had to look this up... so BTRFS does it's own version of software RAID to span across multiple disks or volumes or it could be BTRFS as standalone file system split over a hardware RAID array (which is what sinology is doing)? am I getting this right?

  On 15/09/2016 at 20:39, neufuse said:

MD-RAID? Area you talking about "Multiple Device RAID"? Gawd I had to look this up... so BTRFS does it's own version of software RAID to span across multiple disks or volumes or it could be BTRFS as standalone file system split over a hardware RAID array (which is what sinology is doing)? am I getting this right?

Expand  

You've got it right. There are benefits to do it like BTRFS and ZFS compared to relying on hardware RAID or an intermediate software RAID layer. You lose performance but RAID is more about reliability and uptime than performance. Having the filesystem in on it allows you to have an odd number of drives and mismatched drives when you mirror your data. It also allows you to add and remove drives on the fly while the filesystem is online, just to mention some features.

  • 1 year later...

Reviving an old thread because I found it (so others will as well) while investigating the use of Btrfs on striped RAID arrays on Synology.  Here is their response:

https://www.synology.com/en-us/knowledgebase/DSM/tutorial/General/What_was_the_RAID_implementation_for_Btrfs_File_System_on_SynologyNAS

 

"However, it is known that Btrfs RAID is unstable and not suitable for production environments. For this reason, Synology chose Linux RAID over Btrfs RAID. The following diagram explains the concept - Synology has implemented the layers in between to ensure that we have full control of the communication for the highest stability."

  • 3 weeks later...
  On 12/12/2017 at 00:45, Unobscured Vision said:

No. Use ext3/4 (Linux raid). Far more stable. That's what Synology was saying. Btrfs RAID isn't supported at all due to data corruption issues.

Expand  

That isn't what they are saying at all. Synology isn't using the RAID functionality of BTRFS since it has issues and isn't production ready (as the official BTRFS wiki is telling the rest of the world). It is this RAID functionality that people mean when they are saying that RADI5/6 with BTRFS gives issues (read: data corruption).

 

What Synology is doing, is what just about the entire storage world has been doing for years: they layer. You start with hardware RAID (which requires a RAID card) or software RAID (which can be something that is part of the OS such as MD) and on top of that you put the filesystem (ext4, BTRFS, ZFS, NTFS, APFS, HFS+, etc.). There are also other options where you can put more layers. That's exactly what the picture given by @Zakman12 shows: Synology uses software RAID and puts BTRFS or ext4 on top of that.

 

In this case you can opt for MD (or Linux RAID as Synology calls it) or Synology's own software RAID which they call Synology Hybrid RAID (SHR). Next you pick what filesystem should be used: ext4 or BTRFS. This means that you can pick whatever RAID level you want without it wreaking havoc on the BTRFS filesystem that you put on top of it.

 

So once more:

  • RAID functionality in BTRFS = trouble
  • separate RAIDed volume with BTRFS on top like Synology does it = no issues
  • To stress: Synology is NOT using the RAID functionality of BTRFS at all

Thus: the way Synology does it makes it safe to use RAID6 and BTRFS. 

 

However, the use of RAID6 is debatable. Most are using RAID10 instead. If you want to know more about that I suggest to search around by starting with the Wikipedia article on RAID.

 

Btw, by no means is ext3/ext4 Linux RAID. They are filesystems and do not have any form of RAID functionality. You need a newer generation filesystem such as BTRFS or ZFS for that. When using ext4 you therefore need something else to do the RAID part. That, the issues with BTRFS' RAID functionality and their desire to control the RAID part is probably why they are using MD and SHR.

Edited by dyn
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I enjoy using Discover Weekly. I have found new music using it. Just sometimes it goes off the rails and doesn't remember I don't like rap. I'm not sure this update is anything helpful, but I guess I'll try it if it comes to free accounts.
    • Yep, I got 250 mbps down / 50 mbps up on Qatar last week and about a 30 ms ping.
    • Here are all the new features added to Microsoft 365 Copilot in June 2025 by Usama Jawad Towards the end of each month, Microsoft publishes a roundup of the features that it added to some of its popular software in the previous four weeks. We have already talked about the new capabilities introduced in Excel and Teams during the month of June 2025, and now, it's time to talk about Microsoft 365 Copilot. We'll start off with admin-facing capabilities since there are only a few of them. For starters, the usage metrics for Copilot in the Copilot Analytics tool now have new prompt categories that give more insights as to how users are engaging with Copilot. This feature has just begun rolling out, but another enhancement to the usage metrics that is already available is dedicated statistics for intelligent meeting recaps. Finally, Microsoft 365 admins can now view and manage their inventory of agents and connectors and also have more granular control over costs and billing policies. On the user side of things, we have intelligent assistance in Copilot Chat, powered by ContextIQ. This layer of intelligence can scope prompts to internal (SharePoint, OneDrive) and external data sources, find files in the chat, and proactively offer relevant suggestions as you type. In the same vein, the Copilot mobile app is being updated so you can talk to the AI in a natural manner using your voice. In addition, users can also get access to deep reasoning agents such as Researcher and Analyst for more complex and research-oriented needs. The Create experience in the app is also being updated with the ability to generate stories and branded templates. Other interesting Copilot capabilities rolling out to Edge customers are the ability to prompt the AI through the search bar, access agents from within the browser, and take advantage of Copilot's impressive text summarization capabilities. That's not all though, other features in tow include: Enhancements to Copilot in Outlook: Schedule meetings through Copilot chat, summarization of email attachments, a new sidebar experience in the classic Outlook app, meeting preparation, and automated meeting invite creation Improved image generation and large file handling in Copilot Chat: More photorealistic image generation with better text depiction, ability to generate longer summaries from bigger files, and PDF scanning capabilities for insights Memory in Copilot: Copilot will now remember certain items from your conversation and you can modify or delete them Transferred calls summary with Copilot in Teams Phone: Generate a summary of a call and transfer it to a target New file extension for Copilot Pages: Copilot Pages will now have .page extension with an updated file icon Copilot Notebooks availability in OneNote: We already covered this in detail here Seamlessly add brand-approved images with Copilot in PowerPoint: Integration of Copilot with SharePoint Organization Asset Library (OAL) and Templafy asset libraries Explain formulas on the grid with Copilot in Excel: Self-explanatory, exactly what it says on the tin Expanded availability for the Microsoft 365 Copilot app: Availability of the Microsoft 365 Copilot app on Mac You can read more details about each of the aforementioned features here.
    • Damn, I blocked OldGuru a long time ago and you have to go and quote them so I have to read that creepy a$$ take. LOL Anyway 100% that dude can't find women that will have sex with him.
    • OneNote for Windows gets support for Dynamic DPI by Usama Jawad OneNote for Windows (part of Microsoft 365) is a pretty useful app if you're actively engaged in note-taking activities and also appreciate some rich text formatting capabilities. In fact, it also offers some decent integrations with Copilot, which make it an important piece of software in productivity-based environments. Now, Microsoft has introduced a feature that will likely make people with multi-monitor setups very happy. The OneNote for Windows application now supports Dynamic DPI (dots per inch). What this means is that you can use OneNote across any screen and it will scale according to the display's resolution, and you won't get a disconcerting and distracting blurring effect. You can extend your display to a high-resolution monitor and shift OneNote across displays without a hitch or any distraction. This is similar to the UX that is already present in Word, Excel, and PowerPoint. This Dynamic DPI support not only extends to the main text area but also to the section tabs, the Notebooks pane, drop-down menus, and Copilot Notebooks. All of these should look crisp and polished moving forward, without any manual adjustment or even an app restart required from the user's side. Microsoft has highlighted that it was encouraged to work on this capability after receiving user feedback from customers in this area. Dynamic DPI is now available to Current Channel (CC) customers on OneNote for Windows, running Version 2504 (Build 16.0.18827.20042) or later. That's not all, though. Another smaller enhancement present in OneNote moving forward is a revamped setup experience when you launch OneNote on a new Windows device for the first time. You will now receive a list of your five most recently used (MRU) notebooks that will open instantaneusly with a click. If you have more than five notebooks, you can pick and choose the files that you want to open. That said, Microsoft is looking to expand and improve on this experience in the future since it is fairly limited right now.
  • Recent Achievements

    • Week One Done
      dennis Nebeker earned a badge
      Week One Done
    • One Year In
      timothytoots earned a badge
      One Year In
    • One Month Later
      CHUNWEI earned a badge
      One Month Later
    • Week One Done
      TIGOSS earned a badge
      Week One Done
    • First Post
      henryj earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      461
    2. 2
      +FloatingFatMan
      194
    3. 3
      ATLien_0
      163
    4. 4
      Xenon
      78
    5. 5
      wakjak
      72
  • Tell a friend

    Love Neowin? Tell a friend!