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.

[SOLVED] Cache Drive BTRFS Filesystem DF Reporting Wrong Size

Featured Replies

Recently replaced my cache drive and noticed the BTRFS Filesystem DF reporting the wrong size.

 

 I ran btrfs fi usage /mnt/cache and noticed that my cache drive has a large unallocated spot which is likely what is causing my issue.

 

btrfs fi usage /mnt/cache
Overall:
    Device size:                 465.76GiB
    Device allocated:            171.03GiB
    Device unallocated:          294.73GiB
    Device missing:                  0.00B
    Used:                        167.42GiB
    Free (estimated):            297.08GiB      (min: 297.08GiB)
    Data ratio:                       1.00
    Metadata ratio:                   1.00
    Global reserve:              260.03MiB      (used: 0.00B)

Data,single: Size:168.00GiB, Used:165.65GiB
   /dev/nvme0n1p1        168.00GiB

Metadata,single: Size:3.00GiB, Used:1.76GiB
   /dev/nvme0n1p1          3.00GiB

System,single: Size:32.00MiB, Used:48.00KiB
   /dev/nvme0n1p1         32.00MiB

Unallocated:
   /dev/nvme0n1p1        294.73GiB
 

I looked on the googles and found that there is a btrfs filesystem resize max command that looks like it could correct the issue, but I would like to know if are any requirements to do this since it would be expanding the volume.

 

I'm assuming the best practice would be to stop the array, backup the data, then do the command: btrfs filesystem resize max /mnt/cache and then bobs your uncle.

 

Just wanted some clarification in case I need to format the cache drive instead.

 

Thanks in advance!

smalls-diagnostics-20190731-2102.zip

Edited by GroxyPod

  • Community Expert

df is unreliable with btrfs, unallocated space is normal with btrfs, the filesystem allocates chunks as needed, the GUI will report the correct used/free size.

  • Author
1 hour ago, johnnie.black said:

df is unreliable with btrfs, unallocated space is normal with btrfs, the filesystem allocates chunks as needed, the GUI will report the correct used/free size.

 

Thanks johnnie.black!

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.