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 filesystem tools

Featured Replies

I did a search...not much on BTRFS filesystem tools...particularly defragmentation and the like

I found a few links

https://lexming.github.io/posts/simple-btrfs-scrub/
 

This is a bunch of scripts for "automatic" filesystem tools that might be used to automate things to help with BTRFS arrays
https://github.com/kdave/btrfsmaintenance
 

I ran this command on my system...let's hope I didn't bork something

btrfs filesystem defragment sync -r f /mnt/disk* &


 

Edited by WarHawk8080

  • Author

Not a howto...but a "call to action" by the DEV's to see if there is some sort of way to impliment easier/automated filesystem maintenance (if there isn't some already there)

BTRFS scrubs and balances can be scheduled per disk via the gui (under the disk options i think). 

I dont think defragmentation is an operation that most people would want to perform regularly on BTRFS. If i remember correctly under most circumstances you dont want to defragment an entire disk as it breaks CoW deduplication. Defrag should only be performed on targeted files or parts of the filesystem if required.

13 hours ago, primeval_god said:

If i remember correctly under most circumstances you dont want to defragment an entire disk

Yeah, and certainly not if you are using snapshots.

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.