This message was deleted.
# longhorn-storage
a
This message was deleted.
l
The
strict-local
configuration shouldn't be involved in this issue ... If you copy another file and then delete it, what happen? Same behavior?
n
@little-kangaroo-65735 I am unable to read the actual files from the worker node's mount path. I understood from the size of the file present inside the mount path. I have copied a 1Gb file first and then deleted it and later copied it again and deleted it but I see 2 1Gb files inside the worker node's mount path
l
I am unable to read the actual files from the worker node's mount path
What error do you get?
n
I did not get any error. It should automatically delete the files from the worker node's longhorn mount path after deleting the files from the pod using longhorn volume, otherwise the mount path size grows indefinitely
As I mentioned in the earlier example, the size of the files inside pod is 0 but the size inside the mount path is 2GB
l
Ok, now I understand, Try open a github issue or discussion
n
ok Thanks for your help
Hi @little-kangaroo-65735, I have gone through the documentation about trim filesystem, https://longhorn.io/docs/1.6.1/nodes-and-volumes/volumes/trim-filesystem/ But I don't find any share-manager pods under longhorn-system namespace. Can you please help me?
l
Do you have a RWX volume?
n
No it is RWO volume only
l
So, if you don't have RWX volume, share-manager pod is not running. The documentation is a bit confusing, you have to execute
fstrim <the mount point>
where
The mount point is either a pod of the workload or the node to which the volume was manually attached
n
can you please let me know if this is not automatically deleted? And we need to delete it manually using fstrim command?
l
Trimming will reclaim space wasted by the removed files of the filesystem
, and this operation is not automatic, you have to execute it manually
n
can you please let me know if this will be automated in the future releases?
l
I don't think so