miketeo/pysmb

Using pysmb vs mounting

Closed this issue · 1 comments

I have a NAS that I mounted to ubuntu 18.04. So, I can reach the files inside NAS by using its unique directory in python just like reaching a file within my hard drive. In this situation, would there be a benefit in using pysmb to make IO operations on NAS? Data transfer seems a little bit slow and I wonder if reading/writing via pysmb would make it faster.

@ylmzkaan : I do not think pysmb will give a better performance via your current mounted setup.

For me, I use pysmb to back up files from my workstation to my NAS which is not always switched on. So a small python script is used to detect if the NAS is online and then use pysmb to transfer the files. In this way, I do not have to manually re-mount the NAS and then trigger the backup script.