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.

[6.12.4] Share free space always includes first disk containing folder, even if excluded.

  • Urgent

Hi,

 

When creating a share with only primary storage set to array, and excluding all disks, instead of creating a share with 0 bytes free, it will not create a share, and it doesn't give an error:

https://imgur.com/fAg6AZy

I can understand the share is not being created, since there is no disk to create the folder on, but an error message would be nice.

 

A bigger issue is if the share is already created and disks get excluded. This is my share with all disks included:

https://imgur.com/W37KaBG

Editing the share and excluding all disks:

https://imgur.com/sBAMGT7

And the share still shows free space (this matches the size of my disk1, containing the folder):

https://imgur.com/zwNb3Ik

Clicking the compute button will even tell me the size is 6B and disk 1 is out of designated disks:

https://imgur.com/bE1G8r3

 

I created a "test" folder on disk2 as well:

https://imgur.com/ce1gPgM

Now the free space is showing the sum of the 2 disks. Compute does report correctly though:

https://imgur.com/zHmmyDc

 

Making a file file on an excluded disk, also still shows the file in the share:

https://imgur.com/fdQzWxh

Editing (even after removing disk2 from excluded disks) or deleting the file, will update this on disk1

https://imgur.com/95szcq0

Even if the file edit is relative big, it still works:

https://imgur.com/9C30KGF

 

I understand that https://docs.unraid.net/unraid-os/manual/shares/user-shares/#included-or-excluded-disks states "Never set both values, set only the one that is most convenient for you.", but if I don't select any specific disks as included, it defaults to "all", with no option to not set this. This makes the exclude function worthless, the only way to exclude a disk is to not have it in the included disks to begin with (something I don't want, cause I want all current and future disks available to a share, apart from 1 disk I want to exclude, and setting specific included disks will not add my future disks). I really think we need an "all except excluded" option for included.

 

To make things more confusing, when trying to create a file on a share with all disk excluded, but reporting free space, I get the error of no space left, even when df is showing free space:

https://imgur.com/vPb2fnX

So in some way, the exclude is being done? But partially?

 

So I'm really confused now:

- Included disks have priority over excluded disks, but I have no good way to make use of excluded disks.

- Free space on excluded counts towards the free space reported by the share.

- Existing files on excluded disks are listed, can be opened, edited and deleted without issues.

So far, while I don't like it, it still follows "all disks are included so the excluded disks does nothing".

- Making a new file will tell me there is no space, though everything indicates to me there is space, and I can even edit existing files and make them a lot bigger.

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.