Troubleshooting
Problem
Mounting windows shares permanently in PDA appliance
Environment
PDA
Resolving The Problem
To mount CIFS files system permanently follow the below steps
On host create a file as
vi /root/.smbcrd
username=domain/username
password=PutPassword
save the file and change the permission to read-only as
chmod 400 /root/.smbcrd
copy file to same location to other host.
update /etc/fstab entry as below in each host so the settings will be permanent
//windows/share_path /mount_directory cifs credentials=/root/.smbcrd 0 0
The line in /etc/fstab consists out of 6 parts:
the remote location (//windows/share_path)
the local mountpoint (mount point)
the type of filesystem (cifs)
the options (credentials=/root/.smbcrd)
dump-option (0)
check/pass-option (0)
Was this topic helpful?
Document Information
Modified date:
17 October 2019
UID
swg22009882