No space left on device

ledude

Cadet
Joined
Dec 15, 2023
Messages
8
I'm trying to organize all my files into the right directory and when I start moving the files around, I got hit with "

Error: No space left on device"​

I deleted a lot of the files in the directories as well as the snapshot and for some reason, the space never got recovered. Is there any other thing I need to do after deleting the files to recover the space? I really haven't added any files into the server other than just moving it around and it puzzled me that I ran out of space.

TrueNAS-SCALE-23.10.1
1704745194365.png


1704745229552.png


zpool status

Code:
pool: Data
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
        The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See zpool-features(7) for details.
  scan: scrub repaired 0B in 10:12:27 with 0 errors on Mon Jan  1 10:12:29 2024
config:


        NAME                                      STATE     READ WRITE CKSUM
        Data                                      ONLINE       0     0     0
          raidz2-0                                ONLINE       0     0     0
            03980ecb-5a7a-45e3-a1ef-4efbd406b846  ONLINE       0     0     0
            a412e509-000b-41f6-a0a7-8f1edb64988b  ONLINE       0     0     0
            03b6e146-25dc-4a45-a17d-8e0857c6b573  ONLINE       0     0     0
            4957febd-b7a1-4113-929d-152f50e89703  ONLINE       0     0     0


errors: No known data errors


  pool: boot-pool
 state: ONLINE
  scan: scrub repaired 0B in 00:01:38 with 0 errors on Wed Jan  3 03:46:46 2024
config:


        NAME        STATE     READ WRITE CKSUM
        boot-pool   ONLINE       0     0     0
          sde3      ONLINE       0     0     0


When I do "df -ah" I notice a lot of files under k8s that are taking up gigs of space. Can I clean that one to recover the space? Any advise on what I need to do to clean up the space so I can recover all of those spaces?

Code:
64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/9cffcf2a59118e3e2d8057b0c4974db187ad5ea4228018d5220d334bb9bd2e3a/shm
nsfs                                                                                                                                                                                   0     0     0    - /run/netns/cni-f7dc28ce-04b7-3884-dfd9-7e991f5503                                                                                           b7
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/9cffcf2a59118e3e2d8057b0c4974db187ad5ea4228018d5220d334bb9bd2e3a/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/7464edc67c492bd576180df261758e8ce11942843543442f7f012647e9f2629c/shm
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/7464edc67c492bd576180df261758e8ce11942843543442f7f012647e9f2629c/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/60f8f5a258007edc1327f282c6cec32984f318a9be671df1361d01391ee95d3f/shm
nsfs                                                                                                                                                                                   0     0     0    - /run/netns/cni-44706632-f371-d6b0-32be-6b8423c86f                                                                                           ba
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/b849e72282243d75ff378bc7c5b299d8ae7b68b9245472d2028eb327215938ad/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/e2bbd7803c14ce629f09676bc40fc65ec1fd2252946993244fcd4ff985e1402f/shm
nsfs                                                                                                                                                                                   0     0     0    - /run/netns/cni-a691df2e-c46f-7206-b7b9-110959bf84                                                                                           8b
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/60f8f5a258007edc1327f282c6cec32984f318a9be671df1361d01391ee95d3f/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/e2bbd7803c14ce629f09676bc40fc65ec1fd2252946993244fcd4ff985e1402f/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/a2399f41ef15e3ce19f159291d8a4176db9963b5de35a395098c8e6164c17f67/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/4245bae380ed86ad21b3223f91b427c211c5c5c483760f67637298b48997a44d/shm
nsfs                                                                                                                                                                                   0     0     0    - /run/netns/cni-504a3014-94bd-6a13-4a26-8e1588ac41                                                                                           c6
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/08b8b955a67435ed412271cbf786cfeee6226b8b6c072270ab2da4bc75d47e28/shm
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/08b8b955a67435ed412271cbf786cfeee6226b8b6c072270ab2da4bc75d47e28/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/f86196f280128dcbb23f795e1ad0021133bcd86eb858538058a7f24604b33de0/shm
nsfs                                                                                                                                                                                   0     0     0    - /run/netns/cni-0e7ac100-d3a7-fe2f-ddae-8dced3af7a                                                                                           05
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/c5537922d94fe7128cbabbbca26245332100eb4bbb37cb8fac6421e7417250c1/shm
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/c5537922d94fe7128cbabbbca26245332100eb4bbb37cb8fac6421e7417250c1/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/4245bae380ed86ad21b3223f91b427c211c5c5c483760f67637298b48997a44d/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/c6dd3a55aadec7dd1f13cf94f149988a0f55303fd072bff528cdf3acc9d7e142/shm
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/c6dd3a55aadec7dd1f13cf94f149988a0f55303fd072bff528cdf3acc9d7e142/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/7a3e43659828488d92f5c269ee2050ab3e9d67035850c3c5a90b79e0bdbc55ba/shm
nsfs                                                                                                                                                                                   0     0     0    - /run/netns/cni-2620f782-4cda-7de2-1552-3b9ce90e72                                                                                           f5
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/f86196f280128dcbb23f795e1ad0021133bcd86eb858538058a7f24604b33de0/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/d922c34076765a98594bb8f9aa5cbf75d2bd1fbc88ab0f208a2d1d741e84dac7/shm
nsfs                                                                                                                                                                                   0     0     0    - /run/netns/cni-1fa84ca4-275c-0653-b03d-d221cc89f9                                                                                           d5
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/ddae98bc7f9cf14a47480dbce88a1a289b1b0e28de6ec90c7477f61ab2330c2a/shm
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/ddae98bc7f9cf14a47480dbce88a1a289b1b0e28de6ec90c7477f61ab2330c2a/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/06b80fe0fe3d7d36fad0cf0a9df869a00eda62559aa4c3760d914ff8c08f1106/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/21b4da6267886a15bc20e24b35c3ba2b2d843351942ab62b5af971432e2c67e1/shm
nsfs                                                                                                                                                                                   0     0     0    - /run/netns/cni-23597f0b-a0ea-d100-59be-e61095725b                                                                                           b2
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/36668731c786f73e1ea69bb094bbf2b276a5597d176d3c66b2b427d28339beeb/shm
nsfs                                                                                                                                                                                   0     0     0    - /run/netns/cni-d5bf5cff-bc95-fbb2-e2b1-75d80c9dc6                                                                                           08
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/7a3e43659828488d92f5c269ee2050ab3e9d67035850c3c5a90b79e0bdbc55ba/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/dc73c2a4b3f2b5cf73389f971da09e6ee815c335684336fe676c487705c5cf1f/shm
nsfs                                                                                                                                                                                   0     0     0    - /run/netns/cni-c82ec142-f784-62c4-7f26-f0b86203c2                                                                                           f2
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/a6fc68c75ed2c80cb7bac74f67a906fc85933dc1c186e2464a0a45660b19529e/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/34c16db745fe2a8f25631db0c33d8f5100d86a1a38a7a23f99f9acf6bf58e52b/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/d922c34076765a98594bb8f9aa5cbf75d2bd1fbc88ab0f208a2d1d741e84dac7/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/cf9574cb2924cf8b49ec4064136508fcc974e3e7e0642ad9f8dd3719ff7ae5d9/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/350961b797b4e87718f406f7049b21fc9c161966ed989ebb3ecf72ebf4329fe0/shm
nsfs                                                                                                                                                                                   0     0     0    - /run/netns/cni-97622e13-48c9-5548-8306-034ae9e320                                                                                           25
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/811a63f0b199567cf8b622b1a60ac5dc08a922f214ae6000a21104ba265f36ee/shm
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/5c04760dbdefa3c9ae614ef62e46edff3b9f4fdaa3bdd0b8b7553b33d8719c0b/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/811a63f0b199567cf8b622b1a60ac5dc08a922f214ae6000a21104ba265f36ee/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/21b4da6267886a15bc20e24b35c3ba2b2d843351942ab62b5af971432e2c67e1/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/36668731c786f73e1ea69bb094bbf2b276a5597d176d3c66b2b427d28339beeb/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/dc73c2a4b3f2b5cf73389f971da09e6ee815c335684336fe676c487705c5cf1f/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/8da9d6d3a64294b1f05b022e1c5e775bf3fbea20a1c713b2e3980fab643a0866/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/0bea7a6ccf2d77beacc562f97256e13c310b523718f135ee19d034848e18515c/shm
nsfs                                                                                                                                                                                   0     0     0    - /run/netns/cni-8b5f11e5-7bf9-986b-012b-c0de4d8993                                                                                           4b
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/350961b797b4e87718f406f7049b21fc9c161966ed989ebb3ecf72ebf4329fe0/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/025b1627ba9613582e4953d2a019b6e2df883f001f0d7bb4e8f294717689fb22/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/6df3c1458970d08e1320b5d998904ef917277448472f3457e069083c92bb18d1/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/827baaba3a410c0991e05233d432ee24d66bbbbbfa7d782e7a134b6aff492686/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/a98952bd59b512c516f5dadbabb9e7d8ed7c2d38c980a09f53a647248859e95c/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/0bea7a6ccf2d77beacc562f97256e13c310b523718f135ee19d034848e18515c/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/9ae428c442a3ace356bb93c49d8aefa1f7db5d75435d215b2cf9c14d8b2b801a/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/46d1676bbf47d7365cd57a686175571307638ec41bef78eb1006e46ae8a3970c/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/57dea330b377c35fcce84a262f34a4fb3b360da83a154e49c2d94e572b2e201b/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/28243240b36dc0a90dd7a309f3b59226badaa153b4c36703027c3e84f6b5e4d3/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/d57ee28e9d4cf5e2739d497bf540b6070e5eab0908a9c6c9a046e532baf7c637/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/016b9eb89b3453f2e31a4f2331125b35201a2a36b89a93218862c0df3c137842/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/31d42ca907c31d14458de045373f3161f8427cd2df42f3202a3de26a6493ee66/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/da9b811ef21e276ee0e7f79a24802764c401f5e0b94e011a434a00ff01350973/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/2cb8b3bbc5c2fe21902e1ad34862b3647a1792468d7368f3c55a679f58e3f814/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/b7974c183e4a19e43dcf9ec57727956171f10048f5a1fd7df6b8acc358870830/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/5f96258b2f3517f06a8202f79ccc882ef4c6442fca57e80370dce24049b8b0d7/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/2563a9ef8c7e873226cb98412633c79bbeae6c9a80dc44f8c8f529eb6561bffd/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/2273614f04f1009850641313260fc8484d05a5f5e938cc32c8514e55b2f17af0/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/9e81637144c55ef46c17d183856981a1d860da67f3376aad2d0b1a3498f9c797/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/aab6f61926767aba61be724ad00e58c4552b7bb7cc936407e1b6aa2058a1bb13/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/50bed455e034d91d3b6846a2b68105d1c7f29bf3f034b5c955f7eb1f5a985dee/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/84cb5951829814df5f32a15dcc84b5a7aba0f0428e15fb91d1c0dfaea0cad844/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/cf058f13462f76608c19d724b8f560f6deca085f76ed976cf2468ef59cfc4ed9/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/ac42ada4104d17dbdcc90d5220cb5c12b077a20db99fa8ca8f1b8f5bd82e7e6b/rootfs
shm                                                                                                                                                                                  64M     0   64M   0% /run/k3s/containerd/io.containerd.grpc.v1.cri/san                                                                                           dboxes/2a6db44a3bc72dbf054c2dbb43709e8c5190f8bccaae829cdb9028641070b50a/shm
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/2a6db44a3bc72dbf054c2dbb43709e8c5190f8bccaae829cdb9028641070b50a/rootfs
overlay                                                                                                                                                                             3.1T  6.8G  3.1T   1% /run/k3s/containerd/io.containerd.runtime.v2.task                                                                                           /k8s.io/81a6ab2d6c3e8b7eb94100b07172b9ab147395e27ed7d74778915d07f01dc45d/rootfs
 

ledude

Cadet
Joined
Dec 15, 2023
Messages
8
zfs list

Code:
NAME                                                                                                                                   USED  AVAIL  REFER  MOUNTPOINT
Data                                                                                                                                  23.1T  1.44T   186K  /mnt/Data
Data/.system                                                                                                                          1.75G  1.44T  1.20G  legacy
Data/.system/configs-5a0a2a47cd884dbcbe527966286bfc29                                                                                 37.2M  1.44T  37.1M  legacy
Data/.system/cores                                                                                                                     174K  1024M   174K  legacy
Data/.system/ctdb_shared_vol                                                                                                           140K  1.44T   140K  legacy
Data/.system/glusterd                                                                                                                  151K  1.44T   151K  legacy
Data/.system/netdata-5a0a2a47cd884dbcbe527966286bfc29                                                                                  429M  1.44T   323M  legacy
Data/.system/rrd-5a0a2a47cd884dbcbe527966286bfc29                                                                                     52.7M  1.44T  52.7M  legacy
Data/.system/samba4                                                                                                                    930K  1.44T   732K  legacy
Data/.system/services                                                                                                                  140K  1.44T   140K  legacy
Data/.system/syslog-5a0a2a47cd884dbcbe527966286bfc29                                                                                  34.4M  1.44T  34.4M  legacy
Data/.system/webui                                                                                                                     140K  1.44T   140K  legacy
Data/Apps                                                                                                                              430K  1.44T   291K  /mnt/Data/Apps
Data/Apps/Filebrowser                                                                                                                  140K  1.44T   140K  /mnt/Data/Apps/Filebrowser
Data/Corporate                                                                                                                        9.68T  1.44T   174K  /mnt/Data/Corporate
Data/Corporate/Documents                                                                                                               140K  1.44T   140K  /mnt/Data/Corporate/Documents
Data/Corporate/Media                                                                                                                  9.68T  1.44T  9.20T  /mnt/Data/Corporate/Media
Data/Home                                                                                                                              238K  1.44T   238K  /mnt/Data/Home
Data/corp                                                                                                                             10.3T  1.44T  9.69T  /mnt/Data/corp
Data/ix-applications                                                                                                                  7.09G  1.44T   668K  /mnt/Data/ix-applications
Data/ix-applications/catalogs                                                                                                          314M  1.44T   314M  /mnt/Data/ix-applications/catalogs
Data/ix-applications/default_volumes                                                                                                   140K  1.44T   140K  /mnt/Data/ix-applications/default_volumes
Data/ix-applications/k3s                                                                                                              6.78G  1.44T  6.77G  /mnt/Data/ix-applications/k3s
Data/ix-applications/k3s/kubelet                                                                                                      1.65M  1.44T  1.06M  legacy
Data/ix-applications/releases                                                                                                         4.97M  1.44T   174K  /mnt/Data/ix-applications/releases
Data/ix-applications/releases/cloudflared                                                                                             1.03M  1.44T   151K  /mnt/Data/ix-applications/releases/cloudfla                                      red
Data/ix-applications/releases/cloudflared/charts                                                                                       622K  1.44T   622K  /mnt/Data/ix-applications/releases/cloudfla                                      red/charts
Data/ix-applications/releases/cloudflared/volumes                                                                                      279K  1.44T   140K  /mnt/Data/ix-applications/releases/cloudfla                                      red/volumes
Data/ix-applications/releases/cloudflared/volumes/ix_volumes                                                                           140K  1.44T   140K  /mnt/Data/ix-applications/releases/cloudfla                                      red/volumes/ix_volumes
Data/ix-applications/releases/doublecommander                                                                                          872K  1.44T   151K  /mnt/Data/ix-applications/releases/doubleco                                      mmander
Data/ix-applications/releases/doublecommander/charts                                                                                   302K  1.44T   302K  /mnt/Data/ix-applications/releases/doubleco                                      mmander/charts
Data/ix-applications/releases/doublecommander/volumes                                                                                  418K  1.44T   140K  /mnt/Data/ix-applications/releases/doubleco                                      mmander/volumes
Data/ix-applications/releases/doublecommander/volumes/ix_volumes                                                                       140K  1.44T   140K  /mnt/Data/ix-applications/releases/doubleco                                      mmander/volumes/ix_volumes
Data/ix-applications/releases/doublecommander/volumes/pvc-2157d609-c7a8-4dbc-991                                      0-3ca0f9d5ffcd   140K   256G   140K  legacy
Data/ix-applications/releases/filebrowser                                                                                              796K  1.44T   151K  /mnt/Data/ix-applications/releases/filebrow                                      ser
Data/ix-applications/releases/filebrowser/charts                                                                                       366K  1.44T   366K  /mnt/Data/ix-applications/releases/filebrow                                      ser/charts
Data/ix-applications/releases/filebrowser/volumes                                                                                      279K  1.44T   140K  /mnt/Data/ix-applications/releases/filebrow                                      ser/volumes
Data/ix-applications/releases/filebrowser/volumes/ix_volumes                                                                           140K  1.44T   140K  /mnt/Data/ix-applications/releases/filebrow                                      ser/volumes/ix_volumes
Data/ix-applications/releases/portainer-ce                                                                                            1023K  1.44T   151K  /mnt/Data/ix-applications/releases/portaine                                      r-ce
Data/ix-applications/releases/portainer-ce/charts                                                                                      407K  1.44T   407K  /mnt/Data/ix-applications/releases/portaine                                      r-ce/charts
Data/ix-applications/releases/portainer-ce/volumes                                                                                     465K  1.44T   140K  /mnt/Data/ix-applications/releases/portaine                                      r-ce/volumes
Data/ix-applications/releases/portainer-ce/volumes/ix_volumes                                                                          140K  1.44T   140K  /mnt/Data/ix-applications/releases/portaine                                      r-ce/volumes/ix_volumes
Data/ix-applications/releases/portainer-ce/volumes/pvc-c7f809ac-01c8-4fee-b3c9-8                                      f778bb2ab4f      186K   999G   186K  legacy
Data/ix-applications/releases/zerotier                                                                                                1.15M  1.44T   151K  /mnt/Data/ix-applications/releases/zerotier
Data/ix-applications/releases/zerotier/charts                                                                                          401K  1.44T   401K  /mnt/Data/ix-applications/releases/zerotier                                      /charts
Data/ix-applications/releases/zerotier/volumes                                                                                         622K  1.44T   140K  /mnt/Data/ix-applications/releases/zerotier                                      /volumes
Data/ix-applications/releases/zerotier/volumes/ix_volumes                                                                              140K  1.44T   140K  /mnt/Data/ix-applications/releases/zerotier                                      /volumes/ix_volumes
Data/ix-applications/releases/zerotier/volumes/pvc-6d5c62c5-0422-4ccc-8ef8-e73bc                                      a7d51c4          343K   256G   227K  legacy
Data/software                                                                                                                          534G  1.44T   509G  /mnt/Data/software
Data/tmp                                                                                                                              53.4M  1.44T   140K  /mnt/Data/tmp
Data/virtual-machines                                                                                                                 2.55T  1.44T   140K  /mnt/Data/virtual-machines
Data/virtual-machines/Backup_Portal-y8gxhi                                                                                            2.55T  3.07T   951G  -
boot-pool                                                                                                                             10.4G  17.7G    96K  none
boot-pool/ROOT                                                                                                                        10.4G  17.7G    96K  none
boot-pool/ROOT/22.12.0                                                                                                                2.68G  17.7G  2.66G  legacy
boot-pool/ROOT/22.12.1                                                                                                                2.68G  17.7G  2.68G  legacy
boot-pool/ROOT/23.10.0.1                                                                                                              2.60G  17.7G  2.60G  legacy
boot-pool/ROOT/23.10.1                                                                                                                2.43G  17.7G  2.43G  legacy
boot-pool/ROOT/Initial-Install                                                                                                           8K  17.7G  2.62G  /
boot-pool/grub                                                                                                                        8.19M  17.7G  8.19M  legacy
 

ledude

Cadet
Joined
Dec 15, 2023
Messages
8
zpool iostat
Code:
              capacity     operations     bandwidth
pool        alloc   free   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
Data        44.4T  6.54T    129    155  8.07M  17.6M
boot-pool   10.4G  18.6G      0     13  1.37K   208K
----------  -----  -----  -----  -----  -----  -----
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
You probably have a bunch of snapshots.

Post output of zfs list -t snap

Also, that output you posted kinda' told you where all the space is used. Data/Corporate Data/Corporate/Media and Data/corp combined are basically your whole capacity.

Might want to do du -hd 1 on those datasets to see what is taking up a ton of space.
 
Last edited:

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
Did you reboot?
 

Apollo

Wizard
Joined
Jun 13, 2013
Messages
1,458
My guess is that you have been trying to move files from one dataset to another such as maybe from Data/Corp to Data/Corporate...
Having to perform a move from a dataset to another dataset doesn't actually execute as a move operation in ZFS when done across dataset. Instead, zfs copies the data from the source dataset to the destination dataset and leaves the source dataset untouched.
If structure was the only thing you were after, you could have renamed the dataset instead using the relevant zfs command.

At this point, if you are satisfied with the copy process, you could destroy some or all of the snapshots or even destroy the no-longer needed dataset. But you need to me aware of the implication.
 

ledude

Cadet
Joined
Dec 15, 2023
Messages
8
You probably have a bunch of snapshots.

Post output of zfs list -t snap

Also, that output you posted kinda' told you where all the space is used. Data/Corporate Data/Corporate/Media and Data/corp combined are basically your whole capacity.

Might want to do du -hd 1 on those datasets to see what is taking up a ton of space.
Thank you. I did delete the snapshots already and yet somehow the data never got recovered. @joeschmuck I did reboot it multiple times.

zfs list -t snap

Code:
NAME                                                                                                                   USED  AVAIL  REFER  MOUNTPOINT
Data@auto-2024-01-08_00-00                                                                                               0B      -   186K  -
Data@auto-2024-01-09_00-00                                                                                               0B      -   186K  -
Data/.system@auto-2024-01-08_00-00                                                                                       0B      -  1.20G  -
Data/.system@auto-2024-01-09_00-00                                                                                       0B      -  1.20G  -
Data/.system/configs-5a0a2a47cd884dbcbe527966286bfc29@auto-2024-01-08_00-00                                            105K      -  37.0M  -
Data/.system/configs-5a0a2a47cd884dbcbe527966286bfc29@auto-2024-01-09_00-00                                              0B      -  37.1M  -
Data/.system/cores@auto-2024-01-08_00-00                                                                                 0B      -   174K  -
Data/.system/cores@auto-2024-01-09_00-00                                                                                 0B      -   174K  -
Data/.system/ctdb_shared_vol@auto-2024-01-08_00-00                                                                       0B      -   140K  -
Data/.system/ctdb_shared_vol@auto-2024-01-09_00-00                                                                       0B      -   140K  -
Data/.system/glusterd@auto-2024-01-08_00-00                                                                              0B      -   151K  -
Data/.system/glusterd@auto-2024-01-09_00-00                                                                              0B      -   151K  -
Data/.system/netdata-5a0a2a47cd884dbcbe527966286bfc29@auto-2024-01-07_00-00                                           70.6M      -   331M  -
Data/.system/netdata-5a0a2a47cd884dbcbe527966286bfc29@auto-2024-01-08_00-00                                            198K      -   320M  -
Data/.system/netdata-5a0a2a47cd884dbcbe527966286bfc29@auto-2024-01-09_00-00                                            192K      -   335M  -
Data/.system/rrd-5a0a2a47cd884dbcbe527966286bfc29@auto-2024-01-08_00-00                                                  0B      -  52.7M  -
Data/.system/rrd-5a0a2a47cd884dbcbe527966286bfc29@auto-2024-01-09_00-00                                                  0B      -  52.7M  -
Data/.system/samba4@auto-2024-01-08_00-00                                                                              221K      -   732K  -
Data/.system/samba4@auto-2024-01-09_00-00                                                                              186K      -   732K  -
Data/.system/services@auto-2024-01-08_00-00                                                                              0B      -   140K  -
Data/.system/services@auto-2024-01-09_00-00                                                                              0B      -   140K  -
Data/.system/syslog-5a0a2a47cd884dbcbe527966286bfc29@auto-2024-01-08_00-00                                               0B      -  34.4M  -
Data/.system/syslog-5a0a2a47cd884dbcbe527966286bfc29@auto-2024-01-09_00-00                                               0B      -  34.4M  -
Data/.system/webui@auto-2024-01-08_00-00                                                                                 0B      -   140K  -
Data/.system/webui@auto-2024-01-09_00-00                                                                                 0B      -   140K  -
Data/Apps@auto-2024-01-08_00-00                                                                                          0B      -   291K  -
Data/Apps@auto-2024-01-09_00-00                                                                                          0B      -   291K  -
Data/Apps/Filebrowser@auto-2024-01-08_00-00                                                                              0B      -   140K  -
Data/Apps/Filebrowser@auto-2024-01-09_00-00                                                                              0B      -   140K  -
Data/Corporate@auto-2024-01-08_00-00                                                                                     0B      -   174K  -
Data/Corporate@auto-2024-01-09_00-00                                                                                     0B      -   174K  -
Data/Corporate/Documents@auto-2024-01-08_00-00                                                                           0B      -   140K  -
Data/Corporate/Documents@auto-2024-01-09_00-00                                                                           0B      -   140K  -
Data/Corporate/Media@auto-2024-01-08_00-00                                                                            1.47T      -  9.68T  -
Data/Corporate/Media@auto-2024-01-09_00-00                                                                             302K      -  8.21T  -
Data/Home@auto-2024-01-08_00-00                                                                                          0B      -   238K  -
Data/Home@auto-2024-01-09_00-00                                                                                          0B      -   238K  -
Data/corp@auto-2024-01-08_00-00                                                                                       2.02T      -  9.68T  -
Data/corp@auto-2024-01-09_00-00                                                                                        872K      -  9.69T  -
Data/ix-applications@auto-2024-01-08_00-00                                                                            81.4K      -   668K  -
Data/ix-applications@auto-2024-01-09_00-00                                                                               0B      -   668K  -
Data/ix-applications/catalogs@auto-2024-01-08_00-00                                                                    267M      -   314M  -
Data/ix-applications/catalogs@auto-2024-01-09_00-00                                                                      0B      -   324M  -
Data/ix-applications/default_volumes@auto-2024-01-08_00-00                                                               0B      -   140K  -
Data/ix-applications/default_volumes@auto-2024-01-09_00-00                                                               0B      -   140K  -
Data/ix-applications/k3s@auto-2024-01-08_00-00                                                                        7.79M      -  6.77G  -
Data/ix-applications/k3s@auto-2024-01-09_00-00                                                                        7.00M      -  6.77G  -
Data/ix-applications/k3s/kubelet@auto-2024-01-08_00-00                                                                 599K      -  1.22M  -
Data/ix-applications/k3s/kubelet@auto-2024-01-09_00-00                                                                 169K      -  1.28M  -
Data/ix-applications/releases@auto-2024-01-08_00-00                                                                      0B      -   174K  -
Data/ix-applications/releases@auto-2024-01-09_00-00                                                                      0B      -   174K  -
Data/ix-applications/releases/cloudflared@auto-2024-01-08_00-00                                                          0B      -   151K  -
Data/ix-applications/releases/cloudflared@auto-2024-01-09_00-00                                                          0B      -   151K  -
Data/ix-applications/releases/cloudflared/charts@auto-2024-01-08_00-00                                                   0B      -   622K  -
Data/ix-applications/releases/cloudflared/charts@auto-2024-01-09_00-00                                                   0B      -   622K  -
Data/ix-applications/releases/cloudflared/volumes@auto-2024-01-08_00-00                                                  0B      -   140K  -
Data/ix-applications/releases/cloudflared/volumes@auto-2024-01-09_00-00                                                  0B      -   140K  -
Data/ix-applications/releases/cloudflared/volumes/ix_volumes@auto-2024-01-08_00-00                                       0B      -   140K  -
Data/ix-applications/releases/cloudflared/volumes/ix_volumes@auto-2024-01-09_00-00                                       0B      -   140K  -
Data/ix-applications/releases/doublecommander@auto-2024-01-08_00-00                                                      0B      -   151K  -
Data/ix-applications/releases/doublecommander@auto-2024-01-09_00-00                                                      0B      -   151K  -
Data/ix-applications/releases/doublecommander/charts@auto-2024-01-08_00-00                                               0B      -   302K  -
Data/ix-applications/releases/doublecommander/charts@auto-2024-01-09_00-00                                               0B      -   302K  -
Data/ix-applications/releases/doublecommander/volumes@auto-2024-01-08_00-00                                              0B      -   140K  -
Data/ix-applications/releases/doublecommander/volumes@auto-2024-01-09_00-00                                              0B      -   140K  -
Data/ix-applications/releases/doublecommander/volumes/ix_volumes@auto-2024-01-08_00-00                                   0B      -   140K  -
Data/ix-applications/releases/doublecommander/volumes/ix_volumes@auto-2024-01-09_00-00                                   0B      -   140K  -
Data/ix-applications/releases/doublecommander/volumes/pvc-2157d609-c7a8-4dbc-9910-3ca0f9d5ffcd@auto-2024-01-08_00-00     0B      -   140K  -
Data/ix-applications/releases/doublecommander/volumes/pvc-2157d609-c7a8-4dbc-9910-3ca0f9d5ffcd@auto-2024-01-09_00-00     0B      -   140K  -
Data/ix-applications/releases/filebrowser@auto-2024-01-08_00-00                                                          0B      -   151K  -
Data/ix-applications/releases/filebrowser@auto-2024-01-09_00-00                                                          0B      -   151K  -
Data/ix-applications/releases/filebrowser/charts@auto-2024-01-08_00-00                                                   0B      -   366K  -
Data/ix-applications/releases/filebrowser/charts@auto-2024-01-09_00-00                                                   0B      -   366K  -
Data/ix-applications/releases/filebrowser/volumes@auto-2024-01-08_00-00                                                  0B      -   140K  -
Data/ix-applications/releases/filebrowser/volumes@auto-2024-01-09_00-00                                                  0B      -   140K  -
Data/ix-applications/releases/filebrowser/volumes/ix_volumes@auto-2024-01-08_00-00                                       0B      -   140K  -
Data/ix-applications/releases/filebrowser/volumes/ix_volumes@auto-2024-01-09_00-00                                       0B      -   140K  -
Data/ix-applications/releases/portainer-ce@auto-2024-01-08_00-00                                                         0B      -   151K  -
Data/ix-applications/releases/portainer-ce@auto-2024-01-09_00-00                                                         0B      -   151K  -
Data/ix-applications/releases/portainer-ce/charts@auto-2024-01-08_00-00                                                  0B      -   407K  -
Data/ix-applications/releases/portainer-ce/charts@auto-2024-01-09_00-00                                                  0B      -   407K  -
Data/ix-applications/releases/portainer-ce/volumes@auto-2024-01-08_00-00                                                 0B      -   140K  -
Data/ix-applications/releases/portainer-ce/volumes@auto-2024-01-09_00-00                                                 0B      -   140K  -
Data/ix-applications/releases/portainer-ce/volumes/ix_volumes@auto-2024-01-08_00-00                                      0B      -   140K  -
Data/ix-applications/releases/portainer-ce/volumes/ix_volumes@auto-2024-01-09_00-00                                      0B      -   140K  -
Data/ix-applications/releases/portainer-ce/volumes/pvc-c7f809ac-01c8-4fee-b3c9-8f778bb2ab4f@auto-2024-01-08_00-00        0B      -   186K  -
Data/ix-applications/releases/portainer-ce/volumes/pvc-c7f809ac-01c8-4fee-b3c9-8f778bb2ab4f@auto-2024-01-09_00-00        0B      -   186K  -
Data/ix-applications/releases/zerotier@auto-2024-01-08_00-00                                                             0B      -   151K  -
Data/ix-applications/releases/zerotier@auto-2024-01-09_00-00                                                             0B      -   151K  -
Data/ix-applications/releases/zerotier/charts@auto-2024-01-08_00-00                                                      0B      -   401K  -
Data/ix-applications/releases/zerotier/charts@auto-2024-01-09_00-00                                                      0B      -   401K  -
Data/ix-applications/releases/zerotier/volumes@auto-2024-01-08_00-00                                                     0B      -   140K  -
Data/ix-applications/releases/zerotier/volumes@auto-2024-01-09_00-00                                                     0B      -   140K  -
Data/ix-applications/releases/zerotier/volumes/ix_volumes@auto-2024-01-08_00-00                                          0B      -   140K  -
Data/ix-applications/releases/zerotier/volumes/ix_volumes@auto-2024-01-09_00-00                                          0B      -   140K  -
Data/ix-applications/releases/zerotier/volumes/pvc-6d5c62c5-0422-4ccc-8ef8-e73bca7d51c4@auto-2024-01-08_00-00          116K      -   227K  -
Data/ix-applications/releases/zerotier/volumes/pvc-6d5c62c5-0422-4ccc-8ef8-e73bca7d51c4@auto-2024-01-09_00-00          105K      -   227K  -
Data/software@auto-2024-01-08_00-00                                                                                   24.8G      -   534G  -
Data/software@auto-2024-01-09_00-00                                                                                      0B      -   509G  -
Data/tmp@auto-2024-01-08_00-00                                                                                        53.3M      -  53.3M  -
Data/tmp@auto-2024-01-09_00-00                                                                                           0B      -   140K  -
Data/virtual-machines@auto-2024-01-08_00-00                                                                              0B      -   140K  -
Data/virtual-machines@auto-2024-01-09_00-00                                                                              0B      -   140K  -
Data/virtual-machines/Backup_Portal-y8gxhi@auto-2024-01-08_00-00                                                         0B      -   951G  -
Data/virtual-machines/Backup_Portal-y8gxhi@auto-2024-01-09_00-00                                                         0B      -   951G  -
boot-pool/ROOT/22.12.0@2023-02-03-23:14:10                                                                            25.2M      -  2.62G  -


Here's the place with most of the space taken.
du -hd 1
Code:
59K     ./Home
7.2G    ./ix-applications
512     ./virtual-machines
512     ./tmp
9.7T    ./corp
510G    ./software
7.7T    ./Corporate
105K    ./Apps
18T     .


@Apollo is correct. I have been trying to move the data from /Corporate to /corp and I hear what you are saying. I did delete the source file after I moved the directory but as you can see, the size is still very crazy. For some reason even after I removed most of the files. it never changed the size of the available space. This tells me that it's storing some of the data somewhere or at least storing the old information on those files and it never gets deleted until a certain time. Speculating of course but I'm so puzzled with all this. It makes absolutely no sense to me.
 
Last edited:

ledude

Cadet
Joined
Dec 15, 2023
Messages
8
So I did some cleaning by deleting all of the snapshots and here's the dashboard for storage.
1704837661313.png


and yet on the main home dashboard, it's still showing 100% usage. Really really puzzled.

1704837718239.png
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
@joeschmuck I did reboot it multiple times.
It was worth a shot. Stranger things happen.

Do you have snapshots still turned on?
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
zfs list -t snap

Code:
NAME                                                                                                                   USED  AVAIL  REFER  MOUNTPOINT
Data/Corporate/Media@auto-2024-01-08_00-00                                                                            1.47T      -  9.68T  -
Data/corp@auto-2024-01-08_00-00                                                                                       2.02T      -  9.68T  -
Data/software@auto-2024-01-08_00-00                                                                                   24.8G      -   534G  -
Looks like these snapshots are the ones taking some worthwhile storage for a total of ~3.5 TiB.

Here's the place with most of the space taken.
du -hd 1
Code:
9.7T    ./corp
510G    ./software
7.7T    ./Corporate
Which actually kinda' line up with these.

and yet on the main home dashboard, it's still showing 100% usage. Really really puzzled.
This seems puzzling. Seems like a web UI bug to me. What does zfs list return now?
 

Apollo

Wizard
Joined
Jun 13, 2013
Messages
1,458
Data/Corporate/Media@auto-2024-01-08_00-00 1.47T - 9.68T -
Data/Corporate/Media@auto-2024-01-09_00-00 302K - 8.21T -
Data/corp@auto-2024-01-08_00-00 2.02T - 9.68T -
Data/corp@auto-2024-01-09_00-00



Even though you have deleted all your files, they are held by the snapshot from the 8th and the 9th.
Now that you have deleted all your files, create a a new recursive snapshot and destroy the snapshot from the 8th and the 9th. Your available space will gradually recover as the blocks are going to be freed by ZFS.
 

ledude

Cadet
Joined
Dec 15, 2023
Messages
8
Thanks, everyone. I noticed the snapshot is the one that created all those big file backups and even after I deleted the snapshot. I wish there was a tool somewhere that gave me the option to force-free the blocks locked by ZFS. I still think a snapshot is a useful tool, I just wish that it's a lot more flexible. I tried to exclude some of the directories and it keeps giving strange errors.

Code:
Excluded dataset should be a child or other descendant of the selected dataset


Got the feeling that I may just have to skip the whole snapshot thing which is a pity. SMH.
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
I wish there was a tool somewhere that gave me the option to force-free the blocks locked by ZFS. I still think a snapshot is a useful tool, I just wish that it's a lot more flexible. I tried to exclude some of the directories and it keeps giving strange errors.
I mean, if you force-free the blocks locked by a ZFS snapshot, then you wouldn't be able to roll-back and it defeats the purpose of snapshots.
 

Apollo

Wizard
Joined
Jun 13, 2013
Messages
1,458
Thanks, everyone. I noticed the snapshot is the one that created all those big file backups and even after I deleted the snapshot. I wish there was a tool somewhere that gave me the option to force-free the blocks locked by ZFS. I still think a snapshot is a useful tool, I just wish that it's a lot more flexible. I tried to exclude some of the directories and it keeps giving strange errors.

Code:
Excluded dataset should be a child or other descendant of the selected dataset


Got the feeling that I may just have to skip the whole snapshot thing which is a pity. SMH.
Snapshot doesn't create file backups. They don't contain any files, just the location of the blocks (the blocks contains the fragments of the files).
You need to read up on ZFS and if you could experiment with snapshot creation, file addition and deletion as well as replication you might be able to get a better grasp of what's is happening in the background.
Snapshots are the best friends you can have when it comes to data management, resilience and reliability.
Don't avoid snapshot because you don't understand how they work.

Also read up on "zfs diff ..." as it will allow you to see what is happening with the files.

The tool that force free ZFS blocks is "zfs destroy -r name_of_napshot", assuming you did actually delete the files stored within those blocks.
Also, when you have multiple snapshots of a dataset, if a snapshot with a large expiration date was created when those large files where already present in the dataset, trying to delete newer snapshots that would have been created after (when the files were present, or after the files were deleted, you can try deleting and creating as many snapshot after the one with the large expiration date, you still will not be able to free up the space. For that you need to destroy any snapshots that points to the files in question.

If you really want to to recover the space and according to your steps, you have copied the files from /Corporate to /corp, then if you are satisfied with having the complete data under /corp, then you can do:
zfs destroy -r Data/Corporate/Media@auto-2024-01-08_00-00;

zfs destroy -r Data/Corporate/Media@auto-2024-01-09_00-00
Those 2 operations will delete the snapshot for the Data/Corporate/Media dataset and free up the 9.6TiB of space.
Give it possibly a few minutes for zfs to perform the block freeing operation.
 

ledude

Cadet
Joined
Dec 15, 2023
Messages
8
@Apollo . Thank you so much for sharing the knowledge. This works very well now. Coming from the prosumer market, I expected Truenas to be a lot easier and user-friendly. It's definitely easier than the average enterprise software but still a bit more challenging for regular home lab users. Either way, all is good now. Thank you again for all the advice, everyone.
 
Top