<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error when mounting ONTAP CIFS/SMB shares under Linux in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Error-when-mounting-ONTAP-CIFS-SMB-shares-under-Linux/m-p/164248#M37584</link>
    <description>&lt;P&gt;It could be upgrade related bug, but it could also be external (different DC it started using, time/NTP disparity between the client/storage/DC etc...) you can of course open a case to help you troubleshooting and to confirm if there's a known issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the troubleshooting - any information on the NetApp log at the time of the mount? (event log show).&lt;BR /&gt;I'd also try the full workflow for permission troubleshot including sectrace (form 9.6 available also in the GUI): &lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_Troubleshoot_Client_Permission_Issues_in_ONTAP_9" target="_blank"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_Troubleshoot_Client_Permission_Issues_in_ONTAP_9&lt;/A&gt;&lt;BR /&gt;and packet trace&lt;BR /&gt;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_capture_packet_traces_(tcpdump)_on_ONTAP_9.2__systems" target="_blank"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_capture_packet_traces_(tcpdump)_on_ONTAP_9.2__systems&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 22:46:58 GMT</pubDate>
    <dc:creator>GidonMarcus</dc:creator>
    <dc:date>2021-02-22T22:46:58Z</dc:date>
    <item>
      <title>Error when mounting ONTAP CIFS/SMB shares under Linux</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Error-when-mounting-ONTAP-CIFS-SMB-shares-under-Linux/m-p/164212#M37579</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;after the ONTAP update from 9.7P5 to 9.7P11 on 19.02.2021, it happens with us on a Linux FTP server that Windows mounts can no longer be created or break again after a short time - then they can not be remounted. There are always different shares.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Volumes/shares are definitely present and could also be mapped under Windows. -&amp;nbsp;Errors on the NetApp cluster are not present in the event log.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Before the ONTAP update everything worked fine.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The affected Linux-Server&amp;nbsp; - a virtual machine - uses SLES 12 SP 5 (SUSE Linux Enterprise Server 12 (x86_64)).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Here's an example:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ftpserv1:~ # mount -t cifs -o vers=3.0,username=HERE_WAS_THE_USERNAME_WRITTEN,password=HERE_WAS_THE_PWD_WRITTEN //FSDXXXXX/Produktion/XFirm/XFirmV/Program_Data/FBXX-FBYY-Kontoauszuege/sic /ftptrans/StAYY/XFIRM-KONTOAUSZUEGE&lt;/P&gt;&lt;P&gt;mount error(2): No such file or directory&lt;/P&gt;&lt;P&gt;Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dmesg-Message&lt;/P&gt;&lt;P&gt;[11472.498939] CIFS: Attempting to mount //FSDEXXXXX/Produktion/XFirm/XFirmV/Program_Data/FBXX-FBYY-Kontoauszuege/sic&lt;/P&gt;&lt;P&gt;[11472.518538] CIFS VFS: cifs_mount failed w/return code = -2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/var/log/messages&lt;/P&gt;&lt;P&gt;2021-02-22T13:52:27.182532+01:00 ftpserv1 kernel: [11472.498939] CIFS: Attempting to mount //FSDXXXXX/Produktion/XFirm/XFirmV/Program_Data/FBXX-FBYY-Kontoauszuege/sic&lt;/P&gt;&lt;P&gt;2021-02-22T13:52:27.202512+01:00 ftpserv1 kernel: [11472.518538] CIFS VFS: cifs_mount failed w/return code = -2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;However, it is possible that the above mount will be successful an hour later.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Any idea?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thank You. Best Regards&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Michael&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:34:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Error-when-mounting-ONTAP-CIFS-SMB-shares-under-Linux/m-p/164212#M37579</guid>
      <dc:creator>sanadmin_stadtdo</dc:creator>
      <dc:date>2025-06-04T10:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error when mounting ONTAP CIFS/SMB shares under Linux</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Error-when-mounting-ONTAP-CIFS-SMB-shares-under-Linux/m-p/164248#M37584</link>
      <description>&lt;P&gt;It could be upgrade related bug, but it could also be external (different DC it started using, time/NTP disparity between the client/storage/DC etc...) you can of course open a case to help you troubleshooting and to confirm if there's a known issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the troubleshooting - any information on the NetApp log at the time of the mount? (event log show).&lt;BR /&gt;I'd also try the full workflow for permission troubleshot including sectrace (form 9.6 available also in the GUI): &lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_Troubleshoot_Client_Permission_Issues_in_ONTAP_9" target="_blank"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_Troubleshoot_Client_Permission_Issues_in_ONTAP_9&lt;/A&gt;&lt;BR /&gt;and packet trace&lt;BR /&gt;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_capture_packet_traces_(tcpdump)_on_ONTAP_9.2__systems" target="_blank"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_capture_packet_traces_(tcpdump)_on_ONTAP_9.2__systems&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 22:46:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Error-when-mounting-ONTAP-CIFS-SMB-shares-under-Linux/m-p/164248#M37584</guid>
      <dc:creator>GidonMarcus</dc:creator>
      <dc:date>2021-02-22T22:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error when mounting ONTAP CIFS/SMB shares under Linux</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Error-when-mounting-ONTAP-CIFS-SMB-shares-under-Linux/m-p/164278#M37592</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;thank you very much for the information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also opened a case and also already received an answer:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino"&gt;The error is on the Linux side where the OS does not close the expired CIFS session and continues to use it.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino"&gt;This used to work because ONTAP had a bug prior to 9.7P8 and did not enforce rejecting expired sessions. NetApp fixed this in 9.7P8 and now the Linux bug becomes obvious.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mt-quick-search-container mt-toggle-form-container"&gt;&lt;P&gt;Link to Knowledge Base Article:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/CIFS_sessions_close_due_to_idle_timeout_for_Linux_clients_in_ONTAP_9.7P8_onwards" target="_blank" rel="noopener"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/CIFS_sessions_close_due_to_idle_timeout_for_Linux_clients_in_ONTAP_9.7P8_onwards&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our Linux admin has now applied a recent patch and we hope that the problem is fixed (a recent SLES 15 cannot be used on the system for various reasons e.g. reiserFS).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 09:35:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Error-when-mounting-ONTAP-CIFS-SMB-shares-under-Linux/m-p/164278#M37592</guid>
      <dc:creator>sanadmin_stadtdo</dc:creator>
      <dc:date>2021-02-23T09:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error when mounting ONTAP CIFS/SMB shares under Linux</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Error-when-mounting-ONTAP-CIFS-SMB-shares-under-Linux/m-p/168679#M38682</link>
      <description>&lt;P&gt;Thanks for this. Helped me too &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 09:27:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Error-when-mounting-ONTAP-CIFS-SMB-shares-under-Linux/m-p/168679#M38682</guid>
      <dc:creator>Christian007</dc:creator>
      <dc:date>2021-07-23T09:27:12Z</dc:date>
    </item>
  </channel>
</rss>

