Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

btrfs enable and use zstd compression (or where should i add filesystem mount options )

Featured Replies

Hi,

 

I would like to check if btrfs' compression is enabled and if not enable it. I tried looking in /etc/fstab but the disks are not mounted there. I also googled about it but did not find a solution, so can some one please let me know how to do it (or if for some reason it is not supported)

 

Thanks a priori.

  • Community Expert

Btrfs compression is not enable by default, and there are no mount options in Unraid, you'd need to do it manually after array mount, by remounting with compression enable or by setting "chattr +c" to a folder/share, all newly written files/folders inside will then inherit compression, more info here:

 

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

 

 

  • Author

OK but isn't there a way to automate this option? sth like adding the required command in rc.local for example? I am familiar with linux in general (also slackware) but i am missing some knowledge on unraid specifics.

  • Community Expert
4 minutes ago, patmanRR said:

OK but isn't there a way to automate this option?

Not that I know of, but if use chattr +c you only need to do it once for any share/folder.

  • Author

To begin with, I compressed all my files. I changed the attributes as you told me and I will see how it goes, if I have to manually run some command etc.

 

Thanks for the info.

  • 1 year later...

Can I resurrect this thread and ask how this ended up?

Did it work properly? Did the performance improve or became worse? Other gains or losses?

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.