UP | HOME

Mount Samba Drive from Command Line

Create mount point:

mkdir /mnt/data-write

/etc/fstab:

//datacenter617.local/max\040volume/  /mnt/data-write  cifs  uid=1000,username=josh,credentials=/home/josh/.smbcreds 0 1
# Note the \040 to represent space
# uid can be found with the `id` command

~/.smbcreds

username=josh
password=mypassword
systemctl daemon-reload
mount /mnt/data-write/

Date: 2026-03-19 Thu 00:00

Author: josh

Created: 2026-03-19 Thu 15:22

Validate