Site Tools


linux:general:mount

This is an old revision of the document!


Mount networkshares

Temp. mount

mount -t cifs //<SRV>/<SHARE>/ /mnt/<POINT>/
or with connection parameters
mount -t cifs //<SRV>/<SHARE>/ /mnt/<POINT>/ -o username=user,password=pass,domain=dom

Make sure you can access it and that you can see files. If you already have files at “//<SRV>/<SHARE>/” you can use

ls -al /mnt/<POINT>/
Also create a file with
touch /mnt/<POINT>/test
and check if it has been created.

Perm. mount

Insert in “/etc/fstab”

//<SRV>/<SHARE> /<MNTPOINT> cifs credentials=</root/.smbcreds>,iocharset=utf8,sec=ntlm 0 0

Insert in </root/.smbcreds>

username=<username>
password=<password>

Execute

mount -a


linux/general/mount.1536593212.txt.gz · Last modified: 2018/09/10 17:26 by lunetikk