Jump to content
RockDawg

Cache drive space: Size vs Size on disk

7 posts in this topic Last Reply

Recommended Posts

I have been changing some things around on my serve and I want to switch my cached drive from a 750GB hybrid to a 120GB SSD.  Unraid reports that I am currently using 33.4 GB with 717GB free.  While moving files around via Windows' file explorer on my desktop I clciked on properties for my appdata folder and it reports that the size is 9.71GB but the size on disk is 252GB.  I have some basic understanding of cluster sizes and such and realize that actually data usually takes up moire hard drive space, but that much??

 

Is Windows just reporting it wrong?  When I saw the 33.4GB used I thought a 120GB SSD was plenty.  Now I'm a bit concerned. 

 

P.S.  My cache drive is currently using BTRFS.

Share this post


Link to post
21 minutes ago, RockDawg said:

While moving files around via Windows' file explorer on my desktop I clciked on properties for my appdata folder and it reports that the size is 9.71GB but the size on disk is 252GB.

It's normal, Windows reports the wrong size, though I believe this was fixed recently, not sure if it's only on an RC.

Share this post


Link to post

I think some update have added a parameter block size = 4096 to the samba configuration file.

 

The figures above seem to indicate that Windows have received info about of number of 512 byte blocks consumed but assumed it was 4096 byte blocks and so calculated 8 times too much disk space consumed by the files.

Share this post


Link to post
8 hours ago, pwm said:

I think some update have added a parameter block size = 4096 to the samba configuration file.

 

I'm seeing a parameter allocation roundup size = 4096 but I guess that's something different.

Share this post


Link to post
3 hours ago, John_M said:

 

I'm seeing a parameter allocation roundup size = 4096 but I guess that's something different.

 

You might be right - I failed to locate the specific release note.

Share this post


Link to post

The SMB parameter "allocation roundup size" was added in unRAID 6.5.1.

 

Share this post


Link to post

I was running 6.4.1 so I upgraded to 6.5.2.  Now my appdata folder shows size as 7.34GB and size on disk as 7.97GB.  Thanks a ton guys!!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now