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.

No swap file, all BTRFS drives, how to proceed to have swap mem?

Featured Replies

Hi all,

 

I just realize that my unraid machine does not have swap enabled.

I did not find much information here in the forum.

 

Does unraid by default use a swap file or do I need to enable that manually somewhere?

 

I also found that swap files are not supported on BTRFS on Linux earlier than version 5, which is a pity, because all my drives use BTRFS, also the SSD Cache drives.

 

I never had memory problems, but with recently more docker containers, some of which use a a few hundred MB RAM, I seem to reach a limit, CPU and Storage get very busy when memory fills up. I first thought that this is caused by swap thrashing, and then saw that the machine does not use swap at all....

 

What is the recommended route to go?

 

Put swap on HDD oder SSD? For that I would need to reformat a drive or the cache pool from BTRFS to XFS.

 

Am I overthinking this? Will unraid select the best location and create a swap file when it finds a non-BTRFS formatted drive?

 

If the best way would be to take the cache SSD pool from BTRFS to XFS, what is the recommended strategy to get from a) to b)?

Note: I have empty drives lingering in the array, would be easy to reformat one from BTRFS to XFS, but I guess putting swap on the cache pool is better?

 

 

 

 

 

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

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.