[Samba] Possible memory leak in

Andrew Bartlett abartlet at samba.org
Mon Sep 13 04:04:15 UTC 2021


That's fine.  I think there may have been a mis-assumption that the
mount.cifs invocation was the server-side configuration.

Andrew Bartlett

On Sun, 2021-09-12 at 21:00 -0700, Matt Oursbourn via samba wrote:
> If there is something I am doing wrong I am more than open to
> changing it
> and fixing the setup.  Like I said, I have been on linux for a month.
> 
> From what I have found online   "sudo mount -t cifs -o..."  seems to
> be how
> you connect to a samba share via CLI.   Is this incorrect?
> 
> -matt
> 
> On Sun, Sep 12, 2021 at 1:10 PM Rowland Penny via samba <
> samba at lists.samba.org> wrote:
> 
> > On Sun, 2021-09-12 at 12:48 -0700, Matt Oursbourn wrote:
> > > My setup comes from a complete novice approach to linux and
> > > network
> > > sharing as I have only ever used windows.
> > > 
> > > This is my process for getting the computers up and running so I
> > > can
> > > plot chia.  This is the complete process from a computer with no
> > > OS
> > > to plotting chia and getting the large samba process in memory.
> > > Install some form of linux (ubuntu, mint, pop, ect.) I have only
> > > been
> > > using linux for a month so I have been exploring.
> > > do apt update, apt upgrade
> > > install samba
> > > copy these lines into smbd.comf
> > > client min protocol = NT1
> > > server min protocol = NT1
> > > usershare owner only = false
> > > force user = moursbourn  (just because every computer I have is
> > > logged into this username, and it stopped the permission issues I
> > > was
> > > having)
> > 
> > In my opinion, you need to fix the permissions rather than sticking
> > an
> > extremely large bandage on it.
> > 
> > > if the computer is the server
> > > create /mnt/storage
> > > sudo chmod -R 777 /mnt/storage
> > > right click on the storage folder in the UI and share it from
> > > there.
> > 
> > Ah, that explains why you do not any shares in smb.conf, you also
> > may
> > not be using Samba at all.
> > 
> > > Install duf, htop, ssh, iftop
> > > Recently, I have added mergerfs onto the server as well.
> > > on the client (plotter)
> > > sudo mkdir /mnt/chiaPlots
> > > sudo chmod -R 777 /mnt/chiaPlots
> > > sudo mount -t cifs -o
> > > username=moursbourn,file_mode=0777,dir_mode=0777
> > > //192.168.1.6/storage /mnt/chaiPlots
> > 
> > Yes, it looks more and more like you are not using Samba.
> > 
> > > install mad max chia plotter and start plotting to /mnt/chiaPlots
> > > What I have noticed from looking at the Processes tab in System
> > 
> > From my understanding about crypto currency (which is very
> > limited),
> > doesn't it cost more to mine the currency than what is returned ?
> > It is, however, your computer.
> > 
> > Rowland
> > 
> > 
> > 
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> > 
-- 
Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba

Samba Development and Support, Catalyst IT - Expert Open Source
Solutions




More information about the samba mailing list