zachlovescoffee Posted June 11, 2023 Share Posted June 11, 2023 Hello, I have a user share called 'datum'. That user share is using a cache-only disk (8TiB). I'm using this disk/share to host torrents that perpetually download and seed. The cache summary card on Dashboard correctly shows the size of the cache disk as 8TiB. Main tab shows the size of the cache disk correctly. Under the Shares tab, it shows the size of the disk as being 16TiB. How is this possible? The share is set to use cache-only and it is not set to use any of the disks1-5 in my array. https://imgur.com/a/KxeGH9V Quote Link to comment
zachlovescoffee Posted June 11, 2023 Author Share Posted June 11, 2023 To add further curiosity - it seems like under the shares, if I calculate them, then it shows disk 4 (8TiB) is allocated to this share as well. This might explain how I got to 16TiB but I have no idea why. And, you can see that when navigating into disk4, it shows a folder called 'datum'. But it's empty. Quote Link to comment
Solution JonathanM Posted June 11, 2023 Solution Share Posted June 11, 2023 Remove the empty folder and the calculation will go back to the single volume size. All root folders on all array drives and pools are part of the share, even if they are empty. Quote Link to comment
zachlovescoffee Posted June 12, 2023 Author Share Posted June 12, 2023 Can you help me understand that better? Did it show the drive size being larger because 'datum' showed up on disk4 and also on seedbox? Quote Link to comment
itimpi Posted June 12, 2023 Share Posted June 12, 2023 11 minutes ago, zachlovescoffee said: Can you help me understand that better? Did it show the drive size being larger because 'datum' showed up on disk4 and also on seedbox? Yes. It includes the sizes of all drives that have the top level folders. Quote Link to comment
zachlovescoffee Posted June 12, 2023 Author Share Posted June 12, 2023 So just by the circumstance that I accidentally created a folder called "datum" in disk4 and I have a share named datum on a cache disk, it thought -- "hmm must be the same; therefore, 2x the size"? Quote Link to comment
JonathanM Posted June 12, 2023 Share Posted June 12, 2023 5 minutes ago, zachlovescoffee said: So just by the circumstance that I accidentally created a folder called "datum" in disk4 and I have a share named datum on a cache disk, it thought -- "hmm must be the same; therefore, 2x the size"? It's not arbitrarily 2x the size, it's the sum of all disks and pools with that share root folder. 17 hours ago, JonathanM said: All root folders on all array drives and pools are part of the share, even if they are empty. If the root folder has the same name, it's contents will be displayed together with all the other same name root folders in the user share tree. That's a useful bit with user shares, you can have bulk storage and fast access files all displayed in the same tree, and move them as needed. The traditional use was to set a share to cache:yes, that terminology has been replaced with the current 6.12rc series, but the functionality was that new files added to the share would go to the fast cache pool, then overnight the mover would transfer them to the array, which has a much slower write speed. The file still appears in the same path, /mnt/user/sharename/filename regardless of whether the file exists on /mnt/disk1/sharename/filename or /mnt/pool/sharename/filename Quote Link to comment
zachlovescoffee Posted June 12, 2023 Author Share Posted June 12, 2023 Interesting. I must have accidentally allocated disk4 to the user share (datum) at some point before I got my final configuration in and forgot to remove the allocation when I switched. Now my datum share is on a different disk, which is set as cache:only in its own pool. So, this is okay/safe? The disk basically just operates as a standalone pool with no protection, which is fine in my case. Quote Link to comment
JonathanM Posted June 12, 2023 Share Posted June 12, 2023 9 minutes ago, zachlovescoffee said: So, this is okay/safe? It's fine, That's the way you are supposed to set it up to do what you are asking. 1 Quote Link to comment
Recommended Posts
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.