This question was originally posted on DCIM Support by AKSHAY PATIL on 2019-07-15
Hi Team,
I am unable to mount the external CISF backup on DCO 8.3.2
The backup mount getting ended with Input/Output error, please suggest a solution for it.
Please find the Log files BOX Link:- https://schneider-electric.box.com/s/m26eulkd1kmf5ptw4ixyluuzq3yuwve0https://schneider-electric.box.com/s/m26eulkd1kmf5ptw4ixyluuzq3yuwve0
(CID:147195264)
This answer was originally posted on DCIM Support by Mate Fekete on 2019-07-18
Hi,
I just have a guess: wouldn't be surprised if cifs_utils linux package is missing from the image. Almost 3 years before I reported a similar problem with NFS mount: https://community.ecostruxureit.com/questions/108828730/dco-8.0.1-unable-to-mount-nfs-share
The solution was pretty simple: from the official CentOS repo you can download the cifs_utils and install it.
(CID:147196391)
This comment was originally posted on DCIM Support by Greg Sterling on 2019-07-22
Akshay, have you tried additional testing?
I checked my DCO 8.3 server and the cifs_utils module is installed on my server.
To confirm its installed on your server, ssh to your DCO server, logon and run this command:
yum list installed | grep -i cifs
Do you see an entry which looks like this?
cifs-utils.x86_64 6.2-10.el7 @base
If not, then this module needs to be added to your host as Mate speculated in the previous post.
The cifs-utils module was installed on my DCO server, and I was able to mount the cifs filesystem in webmin using the following format pasted below.
In your case I see you placed a value in the workgroup field. In that field I assume you placed your windows domain?
You should not need to fill in the "server address" field, so I'd leave that as "automatic".
Regards
Greg Sterling
(CID:147197319)
This comment was originally posted on DCIM Support by AKSHAY PATIL on 2019-08-09
Hi Greg,
I have checked the same through console in DCO by performing the command as per provided by you.
The cifs_utils module is present in it as per the screenshot attached
cifs-utils.x86_64 6.2-10.el7 @thirdpary-swdco-local-rpms
Also I have tried to keep the "server address" field as "automatic", but still not able to mount the backup.
(CID:147203360)
This comment was originally posted on DCIM Support by Balaraman Jagadeesan on 2019-08-16
Greg Sterling Hi Greg,
Akshay has verified that the cifs_utils module is present, and he also tried to keep the "server address" field as "automatic", but still not able to mount the backup. I understand from the team that they could mount the backup successfully in previous DCO version. this issue has started after they upgraded to DCO 8.3.2 by using CIFS.
Do you have any other suggestions to mount the backup?
Is there any change in version in DCO 8.3.2 that has been changed in CIFS mounting related stuffs?
Is there a way to verify if the port 445 is not blocked through telnet command? ie., telnet IP address 445
I believe that this requires for us to download the telnet and install it in DCO as I assume that it is not included by default. Is it advisable to install telnet in DCO? Is there any other we can find the root cause for the mounting error?
(CID:147785265)
This comment was originally posted on DCIM Support by Greg Sterling on 2019-08-16
I gave this a try on my DCO 8.3.2 and had no problems making the mount work with the same syntax.
When executed through webmin the errors would appear in this file: /var/webmin/miniserv.error
Are you able to manually mount the cifs filesystem from a SSH session on the DCO server? The mount command must be run with root privileges so if not running as root place the word "sudo " in front of this command.
mount.cifs //<servername-or-ip>/<path-to-share> /mountpoint -o username=<username>,domain=<domain>
So an example might look like:
mount.cifs //192.168.1.10/backups/DCObackups /cifsshare -o username=myuser,domain=mydomain
When you hit enter to run the command you'll be asked for the credentials for the user account.
In my above example, in webmin 192.168.1.10 is the server name "backups/DCObackups" is the share name, myuser is the username
Regards
Greg Sterling
(CID:148340741)
This comment was originally posted on DCIM Support by Karthik Muruganantham on 2019-08-20
Greg Sterling Balaraman Jagadeesan- Hi Greg/Bala- Just to update that we have solved the issue and CIFS mounted successfully.
we have used the below command
Example:
[root@dco ~]# mount.cifs //xx.xx.xx.xx/DCE /data/backup -o username=SESA286857,domain=<mydomain>,sec=ntlmssp,vers=1.0
Password for SESA286857@//xx.xx.xx.xx/DCE: **************
Thanks for your support.
(CID:148341361)
This comment was originally posted on DCIM Support by Greg Sterling on 2019-08-20
Glad this worked for you.
Regards
Greg Sterling
(CID:148341370)
This comment was originally posted on DCIM Support by Greg Sterling on 2019-08-20
Do not forget to add the mount information to the /etc/fstab file on your DCO server so the mount occurs when the dco server is rebooted.
Regards
Greg Sterling
(CID:148341371)
This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!