IBM Support

How to permanently mount CIFS filesystem mounts in PureData System for Analytics ?

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)

[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Host","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 October 2019

UID

swg22009882