<?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: CIFS 1.1 + mount.cifs (Linux) uncompleted operations in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/cifs-1-1-mount-cifs-linux-uncompleted-operations/m-p/4391365#M57852</link>
    <description>Hi Ben,&lt;BR /&gt;&lt;BR /&gt;Try adding:&lt;BR /&gt;&lt;BR /&gt;vms path names = no&lt;BR /&gt;&lt;BR /&gt;in the [s] share stanza of smb.conf and see if it behaves any better.&lt;BR /&gt;&lt;BR /&gt;As for the Variable length file issue, add:&lt;BR /&gt;&lt;BR /&gt;vfs objects = varvfc&lt;BR /&gt;&lt;BR /&gt;to any share stanza (or the [global] section, to affect all shares which don't have an explicit "vfs objects" setting) if the share may be used to store files with Variable length or VFC record formats.&lt;BR /&gt;&lt;BR /&gt;If you want to test with oplocks disabled, add the following lines to the share stanza:&lt;BR /&gt;&lt;BR /&gt;oplocks = no&lt;BR /&gt;level2 oplocks = no&lt;BR /&gt;&lt;BR /&gt;BTW, v1.1 ECO1 is now available, as well as a set of patches (PS002) for eco1. I strongly recommend all customers upgrade.  Kits are available from:&lt;BR /&gt;&lt;BR /&gt;ftp hprc.external.hp.com&lt;BR /&gt;Username: pathwork&lt;BR /&gt;Password: support  &lt;BR /&gt;&lt;BR /&gt;cd cifs-v11-eco1&lt;BR /&gt;ls&lt;BR /&gt;200 PORT command successful&lt;BR /&gt;150 Opening BINARY mode data connection for file list&lt;BR /&gt;cifs_v11_eco1_documentation_txt.sfx_axpexe&lt;BR /&gt;cifs_v11_eco1_documentation_pdf.zip&lt;BR /&gt;cifs_v11_eco1_documentation_txt.sfx_i64exe&lt;BR /&gt;cifsv11_eco1-migration.zip&lt;BR /&gt;hp-i64vms-samba-v0101-1-1.sfx_i64exe&lt;BR /&gt;hp-axpvms-samba-v0101-1-1.sfx_axpexe&lt;BR /&gt;pcsi_axp_v82.zip&lt;BR /&gt;pcsi_axp_v83.zip&lt;BR /&gt;pcsi_ia64_v83.zip&lt;BR /&gt;pcsi_ia64_v831h1.zip&lt;BR /&gt;pcsi_ia64_v821.zip&lt;BR /&gt;cifsv11eco1-ia64-v83-ps001.zip&lt;BR /&gt;cifsv11eco1-alpha-ps002.zip&lt;BR /&gt;cifsv11eco1-ia64-ps002.zip&lt;BR /&gt;&lt;BR /&gt;The pcsi zip files contain patched pcsi images to resolve a PCSI problem that occurs only when CIFS is NOT installed on the system disk. In such environments, install the pcsi patch prior to upgrading CIFS.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Paul</description>
    <pubDate>Wed, 01 Apr 2009 10:32:26 GMT</pubDate>
    <dc:creator>Paul Nunez</dc:creator>
    <dc:date>2009-04-01T10:32:26Z</dc:date>
    <item>
      <title>CIFS 1.1 + mount.cifs (Linux) uncompleted operations</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cifs-1-1-mount-cifs-linux-uncompleted-operations/m-p/4391364#M57851</link>
      <description>&lt;!--!*#--&gt;My colleague, Rod Regier and I have been testing CIFS 1.1.  He has mentioned the version particulars in a prior thread.&lt;BR /&gt;&lt;BR /&gt;Although we have been successful so far using Windows XP SP3 and Win2k3 clients, I have some issues using mount.cifs (both from smbfs 3.2.5 and 3.3.2) with Linux kernels 2.6.26 and 2.6.29.&lt;BR /&gt;&lt;BR /&gt;I can mount a share using 'domain' authentication as follows:&lt;BR /&gt;&lt;BR /&gt;mount -t cifs //dymc/s /dymc/s -o user=bg,pass=xxxxxxx,netbiosname=bgpc,uid=ben,gid=dv,file_mode=0755,dir_mode=0755&lt;BR /&gt;&lt;BR /&gt;These same parameters work fine with JYC's Samba 2.2.8.  However, with CIFS 1.1 using these parameters, I have observed two problems:&lt;BR /&gt;&lt;BR /&gt;1. when I 'cd /dymc/s/bg/ &amp;amp;&amp;amp; ls -la', no directory contents are shown except for '.' and '..'.&lt;BR /&gt;&lt;BR /&gt;2. when I 'cd /dymc/s/bg/ &amp;amp;&amp;amp; cat test.txt', this works if the text file is Stream or StreamLF, but if it is Variable, the cat command hangs forever and the Linux kernel then logs these messages every 6 seconds:&lt;BR /&gt;&lt;BR /&gt;No response for cmd 50 mid 35&lt;BR /&gt;No response for cmd 50 mid 41&lt;BR /&gt;No response for cmd 50 mid 47&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;The only way I have found so far to recover from this situation is to reboot the system.&lt;BR /&gt;&lt;BR /&gt;What is this? Googling the error has suggested these possibly related things:&lt;BR /&gt;&lt;BR /&gt;SMBTrans2 - maybe CIFS 1.1 doesn't implement (fully) these commands (or at least not in a way compatible with my client)?&lt;BR /&gt;&lt;BR /&gt;Oplocks - enabled by default, I believe ... if I specify 'noopl' it doesn't help / possibly makes the problem worse.&lt;BR /&gt;&lt;BR /&gt;All files with problems seem to go through something called 'unix_convert' (from log.smbd ... which is filled with vast quantities of materials, too large to include the whole thing here):&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[2009/03/31 13:21:00, 3] SAMBA$SRC:[SOURCE.SMBD]PROCESS.C;1:(926)&lt;BR /&gt;&lt;BR /&gt;  switch message SMBtrans2 (pid 31044) conn 0xd6b438&lt;BR /&gt;&lt;BR /&gt;[2009/03/31 13:21:00, 4] SAMBA$SRC:[SOURCE.SMBD]UID.C;1:(187)&lt;BR /&gt;&lt;BR /&gt;  change_to_user: Skipping user change - already user          &lt;BR /&gt;&lt;BR /&gt;[2009/03/31 13:21:00, 4] SAMBA$SRC:[SOURCE.SMBD]VFS.C;1:(734)      &lt;BR /&gt;  &lt;BR /&gt;  vfs_ChDir to dym$disk:[000000] &lt;BR /&gt;&lt;BR /&gt;[2009/03/31 13:21:00, 3] SAMBA$SRC:[SOURCE.SMBD]TRANS2.C;1:(3431)  &lt;BR /&gt;&lt;BR /&gt;  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512     &lt;BR /&gt;&lt;BR /&gt;[2009/03/31 13:21:00, 5] SAMBA$SRC:[SOURCE.SMBD]FILENAME.C;1:(147)&lt;BR /&gt;&lt;BR /&gt;  unix_convert called on file "bg/test3.txt"                            &lt;BR /&gt;&lt;BR /&gt;[2009/03/31 13:21:00, 5] SAMBA$SRC:[SOURCE.VMS]VMS_HACKS.C;1:(2155)    &lt;BR /&gt;&lt;BR /&gt;  vms_convert called on file "bg/test3.txt"                  &lt;BR /&gt;&lt;BR /&gt;[2009/03/31 13:21:00, 5] SAMBA$SRC:[SOURCE.VMS]VMS_HACKS.C;1:(2233)&lt;BR /&gt;&lt;BR /&gt;  vms_convert: conversion finished bg/test3.txt                  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any ideas what is going on / what I should be looking for in the logs?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ben&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Mar 2009 15:22:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cifs-1-1-mount-cifs-linux-uncompleted-operations/m-p/4391364#M57851</guid>
      <dc:creator>Ben Armstrong</dc:creator>
      <dc:date>2009-03-31T15:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS 1.1 + mount.cifs (Linux) uncompleted operations</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cifs-1-1-mount-cifs-linux-uncompleted-operations/m-p/4391365#M57852</link>
      <description>Hi Ben,&lt;BR /&gt;&lt;BR /&gt;Try adding:&lt;BR /&gt;&lt;BR /&gt;vms path names = no&lt;BR /&gt;&lt;BR /&gt;in the [s] share stanza of smb.conf and see if it behaves any better.&lt;BR /&gt;&lt;BR /&gt;As for the Variable length file issue, add:&lt;BR /&gt;&lt;BR /&gt;vfs objects = varvfc&lt;BR /&gt;&lt;BR /&gt;to any share stanza (or the [global] section, to affect all shares which don't have an explicit "vfs objects" setting) if the share may be used to store files with Variable length or VFC record formats.&lt;BR /&gt;&lt;BR /&gt;If you want to test with oplocks disabled, add the following lines to the share stanza:&lt;BR /&gt;&lt;BR /&gt;oplocks = no&lt;BR /&gt;level2 oplocks = no&lt;BR /&gt;&lt;BR /&gt;BTW, v1.1 ECO1 is now available, as well as a set of patches (PS002) for eco1. I strongly recommend all customers upgrade.  Kits are available from:&lt;BR /&gt;&lt;BR /&gt;ftp hprc.external.hp.com&lt;BR /&gt;Username: pathwork&lt;BR /&gt;Password: support  &lt;BR /&gt;&lt;BR /&gt;cd cifs-v11-eco1&lt;BR /&gt;ls&lt;BR /&gt;200 PORT command successful&lt;BR /&gt;150 Opening BINARY mode data connection for file list&lt;BR /&gt;cifs_v11_eco1_documentation_txt.sfx_axpexe&lt;BR /&gt;cifs_v11_eco1_documentation_pdf.zip&lt;BR /&gt;cifs_v11_eco1_documentation_txt.sfx_i64exe&lt;BR /&gt;cifsv11_eco1-migration.zip&lt;BR /&gt;hp-i64vms-samba-v0101-1-1.sfx_i64exe&lt;BR /&gt;hp-axpvms-samba-v0101-1-1.sfx_axpexe&lt;BR /&gt;pcsi_axp_v82.zip&lt;BR /&gt;pcsi_axp_v83.zip&lt;BR /&gt;pcsi_ia64_v83.zip&lt;BR /&gt;pcsi_ia64_v831h1.zip&lt;BR /&gt;pcsi_ia64_v821.zip&lt;BR /&gt;cifsv11eco1-ia64-v83-ps001.zip&lt;BR /&gt;cifsv11eco1-alpha-ps002.zip&lt;BR /&gt;cifsv11eco1-ia64-ps002.zip&lt;BR /&gt;&lt;BR /&gt;The pcsi zip files contain patched pcsi images to resolve a PCSI problem that occurs only when CIFS is NOT installed on the system disk. In such environments, install the pcsi patch prior to upgrading CIFS.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Paul</description>
      <pubDate>Wed, 01 Apr 2009 10:32:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cifs-1-1-mount-cifs-linux-uncompleted-operations/m-p/4391365#M57852</guid>
      <dc:creator>Paul Nunez</dc:creator>
      <dc:date>2009-04-01T10:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS 1.1 + mount.cifs (Linux) uncompleted operations</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cifs-1-1-mount-cifs-linux-uncompleted-operations/m-p/4391366#M57853</link>
      <description>Yes, we already set "vfs objects = varvfc".  That doesn't help.  It works fine with a Windows client, but not on Linux.&lt;BR /&gt;&lt;BR /&gt;How might "vms path names = no" help?  I don't want to adversely affect Windows clients as they seem to be working, and my system is the sole Linux system on the network.&lt;BR /&gt;&lt;BR /&gt;As for oplocks, that's just a guess based on a hazy understanding of some posts I found via Google.  This has more the feel of something buggy than a configuration problem.&lt;BR /&gt;&lt;BR /&gt;So, with that in mind, we have ECO1, but not PS002 -- I'll have Rod apply that patch next to see if it helps.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ben&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Apr 2009 10:56:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cifs-1-1-mount-cifs-linux-uncompleted-operations/m-p/4391366#M57853</guid>
      <dc:creator>Ben Armstrong</dc:creator>
      <dc:date>2009-04-01T10:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS 1.1 + mount.cifs (Linux) uncompleted operations</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cifs-1-1-mount-cifs-linux-uncompleted-operations/m-p/4391367#M57854</link>
      <description>You could use the smb.conf INCLUDE and variable substitution functionality to force CIFS to use a different smb.conf file designed specifically for the linux box.  See the smb.conf man page for more info, but it would involve doing something like:&lt;BR /&gt;&lt;BR /&gt;1. Copy samba$root:[lib]smb.conf to samba$root:[lib]smb.conf_bgpc&lt;BR /&gt;&lt;BR /&gt;2.  Add the following lines to smb.conf:&lt;BR /&gt;&lt;BR /&gt;smb ports = 139&lt;BR /&gt;include = /samba$root/lib/smb.conf_%m&lt;BR /&gt;&lt;BR /&gt;3. edit samba$root:[lib]smb.conf_bgpc as desired.&lt;BR /&gt;&lt;BR /&gt;Paul</description>
      <pubDate>Wed, 01 Apr 2009 11:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cifs-1-1-mount-cifs-linux-uncompleted-operations/m-p/4391367#M57854</guid>
      <dc:creator>Paul Nunez</dc:creator>
      <dc:date>2009-04-01T11:18:17Z</dc:date>
    </item>
  </channel>
</rss>

