Mabey a Newby type question here but I am continuously learning and I am seeing something that doesn't quite make sense to me.
I have a pool called Tank with a dataset called media and sub-datasets inside the media dataset called books, games, movies, music and tv
I have set up an NFS share at the top level media path that is exported as /mnt/Tank/media. I have mounted the /mnt/Tank/media NFS share at /srv/media on a docker VM running on another machine where I have a Synthing container with -v /srv/media:/var/media set for the container. Inside the Syncthing container I am sending files to the /var/media/books, /var/media/games, /var/media/movies, /var/media/music and /var/media/tv folders.
What I would expect to see is that on the Datasets page of TrueNAS it would show that the size of the books, games, movies, music and tv datasets would grow but what I am actually seeing is that the size of the media dataset grew to the total size (24TiB) of all the files but the sub-datasets still show as 128KiB. I know all the files are there and in the proper place but I am just trying to make sense of what I am seeing.
As a second question probably related to the above is, is there a way in the TrueNAS CLI to see the files inside the datasets? I can see that they are there in the NFS mount on my docker VM but doing a ls -l /mnt/Tank/media/tv in the TrueNAS Scale cli shows nothing if I do the same command at the /mnt/Tank/media level I just see the folders.
Any explanations would be greatly appreciated.
I have a pool called Tank with a dataset called media and sub-datasets inside the media dataset called books, games, movies, music and tv
I have set up an NFS share at the top level media path that is exported as /mnt/Tank/media. I have mounted the /mnt/Tank/media NFS share at /srv/media on a docker VM running on another machine where I have a Synthing container with -v /srv/media:/var/media set for the container. Inside the Syncthing container I am sending files to the /var/media/books, /var/media/games, /var/media/movies, /var/media/music and /var/media/tv folders.
What I would expect to see is that on the Datasets page of TrueNAS it would show that the size of the books, games, movies, music and tv datasets would grow but what I am actually seeing is that the size of the media dataset grew to the total size (24TiB) of all the files but the sub-datasets still show as 128KiB. I know all the files are there and in the proper place but I am just trying to make sense of what I am seeing.
As a second question probably related to the above is, is there a way in the TrueNAS CLI to see the files inside the datasets? I can see that they are there in the NFS mount on my docker VM but doing a ls -l /mnt/Tank/media/tv in the TrueNAS Scale cli shows nothing if I do the same command at the /mnt/Tank/media level I just see the folders.
Any explanations would be greatly appreciated.