AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20081008111059.0f7c888c@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<michael.baugh@onstor.com>,<dl-cstech@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	48EC9ED1.3090108@rsmas.miami.edu
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 8 Oct 2008 11:12:01 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Michael Baugh <michael.baugh@onstor.com>
Cc: dl-cstech@onstor.com
Subject: Re: mount.cifs problem with Onstor 3.3beta
Message-ID: <20081008111201.58b4ea29@ripper.onstor.net>
In-Reply-To: <48EC9ED1.3090108@rsmas.miami.edu>
References: <48EC9ED1.3090108@rsmas.miami.edu>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi Michael,

Just a couple of things.  First, I hope they aren't running anything
beta.  3.3 GA has been out for a couple of months, and 3.3.1 has been
released in the last day or so.  Probably shouldn't be using the
cougar-beta email list either.

Forwarding this to dl-cstech as many more eyes will see it and probably
have an answer.

BTW someone increment the counter of the number of customers using the
'local' NIS map "feature" ~:^)

Cheers,

a

On Wed, 08 Oct 2008 07:51:45 -0400 Grant Basham <grant@rsmas.miami.edu>
wrote:

> resending...  
> 
> Mike, I am pretty well on my way to getting our user setup together.
> The overall structure is to setup a large volume on the bobcat and
> set it up for NFS and CIFS.  I create folders with the Windows user
> names and the uid/gid associated with those users on Linux systems.
> The "localhost" NIS setup on the Bobcat has the Windows usernames and
> the associated linux uid/gid information as in passwd and group
> files.  Users use windows  domain authentication to mount their
> folders with windows and samba CIFS mounts on linux.  The CIFS stuff
> works fine on windows, but not on the Linux mount.cifs mounts.  Do
> any of you folks have insight on the linux mount.cifs problem.  I
> note in your knowledge-base that there appears to be some problem
> with MAC mounts, which I assume are done the same way, but I am not
> much of a MAC person.
> 
> I have a Bobcat 22xx server with Onstor 3.3 beta.  New setup, never
> tried before.
> 
> I have a problem writing to CIFS shares from the Bobcat with linux
> CIFS mounts v1.10 on RedHat Enterprise 5.2 (kernel 2.6.18)  and
> Fedora 9.0 (kernel 2.6.26.3-29).  The CIFS shares mount on the linux
> boxes, acess is as expected (I can list the folder I own, not folders
> owned by others), and I can read and delete files in my folder.  I
> cannot copy in files or write to files in the folder.  An empty file
> appears, there is an error about closing.  Similar share setups on a
> NetApp work ok.  NFS to Linux and CIFS mounts to WinXP/Vista of this
> share work as expected.  Only a problem with Linux CIFS mounts.
> 
> Any assistance is appreciated.
> 
> -----Error illustration-----------------------------------------
> [grant@gimfc4 grant]$ mount.cifs //rcfos1/users ~/m1 -o
> username='AMAZON\grant' Password:......
> [grant@gimfc4 grant]$ cd ~/m1/grant
> [grant@gimfc4 grant]$ time cp ~/.jedrc .
> cp: closing ./.jedrc': Bad file descriptor
> real        0m30.007s  (note NetApp takes 0.1 sec to do this copy-
> 10kbyte file) user        0m0.000s
> sys         0m0.011s
> [grant@gimfc4 grant]$ ls -l .jedrc
> -rw-r--r-- 1 grant grant 0 2008-10-03 12:04 .jedrc
> ----------------------------------------------
> 
> Details of the Bobcat and the problem on the systems are appended here
> 
> =============================================================
> I have a single virtual volume shared out as both
> NFS: rcfos1:/rcf-mm04
> CIFS: \\rcfos1\users (share name for rcf-mm04
> 
> It contains two folders and NFS mounts are ok, folder permissions and
> access work as expected.
> 
> gimley* mount rcfos1:/rcf-mm04 /mount
> gimley* ls -l /mount
> total 24
> drwx------ 2 brent  400 1024 Sep 30 16:28 brent
> drwx------ 2 grant man  8192 Oct  3 12:04 grant
> drwx------ 2 root  root 1024 Sep 30 11:50 lost+found
> 
> CIFS mounts work as expected on Windows XP & Vista.  As
> "AMAZON/grant" I can mount the share, list, read, write, and delete
> the contents of my folder.  I have no access to Brent's folder.
> 
> As described above, CIFS mounts with the Linux Samba CIFS mounter
> v1.10 fail to support writes to the folder.
> ===============================================================
> I have a VServer, rcfos1:
> OpenBSD 2.8 (BOBCAT) #0: Tue Aug  5 18:16:21 PDT 2008
> 
> krystal> vsvr show rcfos1
> Virtual Server
> ==============
> ID                : 3
> NAS Gateway name  : krystal
> Status            : Enabled
> Name              : RCFOS1
> NetBIOS name      : RCFOS1
> Pri. WinSrvr IP   : 129.171.97.50
> Sec. WinSrvr IP   : 0.0.0.0
> IP address 1      : 129.171.97.232/255.255.255.0
> IP address 2      : 10.97.0.232/255.255.255.0
> Windows domain    : AMAZON
> Unix domain       : localhost
> LDAP domain       : --Not-Set--
> AutoCreate Path   : --Not-Set--
> AutoCreate VolID  : --Not-Set--
> Volumes owned     : rcf_scratch rcf_test_5404 rcf-5404 5404-2l-2p
>                     5402-2l-2p rcf-mm04
> Volumes mounted   : rcf_scratch rcf-5404 5404-2l-2p 5402-2l-2p
>                     rcf-mm04
> Read responses fragmentation  : default
> UDP checksum enabled          : yes
> Maximum mpx count             : default
> ============================================================
> And a VVolume, rcf-mm04, with NFS and CIFS shares with a "localhost"
> NIS domain and an outside Active Domain server.
> volume Details
> --------------
>                        Name : rcf-mm04
>                          Id : 0x61d00000082
>                        Type : Standard
>                     Version : 29
>              Virtual Server : RCFOS1
>                      Status : Mounted
>           Current Size (MiB): 476871.94
>              Used Size (MiB): 780.20
>         Available Size (MiB): 476091.73
>                   Usage (%) : 0.16 %
>             Hard Quota (MiB): 102760448
>              Soft Quota (%) : N/A
>         High Water Mark (%) : N/A
> Autoremove Snapshots HWM (%): N/A
>       Min. Auto Growth (MiB): 500
>                 Shared Read : allow
>                     Oplocks : allow
>                   CharSubst : disabled
>              CharSubstTable : 0000,0000,0000,0000,0000,0000,0000,0000
>                    Language : en_us
>      Automatic Atime Updates: enabled
>                    Stability: normal
>               Security Style: normal
>                      Arrays : XYRATEX_085E
>                Vendor/model : None
>                  RAID Level : Raid-5
>          Min. Lun Size (MiB): No Min
>          Max. Lun Size (MiB): No Max
> LUN List
> Idx   Device Name                       Size (MiB)
> --------------------------------------------------
> 1     XYRATEX_085E_7                    476999.94
> -------------------------------------------------
> ==CIFS setup================================================
> krystal RCFOS1> cifs sho users
> Name          : users
> Volume        : rcf-mm04
> Path          : \
> Comment       :
> Session Limit : Unlimited
> Caching       : manual
> Options       : AccessBasedEnumerations: disabled
>               : Widelinks: disabled
>               : Invisible: disabled
> Security      :
>     ACL       :
>         Allowed ACE: AMAZON\Administrator:frc
>         Allowed ACE: AMAZON\grant:frc
>     Audit ACL : None
> ===NFS setup====================================
> krystal RCFOS1> nfs show /rcf-mm04
> State: Enabled    Share path: /rcf-mm04
> Option: rw, client list:
> 129.171.96.1/19
> Option: no_root_squash, client list:
> 129.171.97.1/24
> 
> ===Log of kernel errors on Linux 2.6.26=================
> ** This is the log for the mount and write operations.  SMB mount at
> 11:21:39 Oct  1 13:27:36 gimfc4 yum: Installed:
> kernel-2.6.26.3-29.fc9.i686 Oct  3 11:21:39 gimfc4 kernel: CIFS VFS:
> RFC1001 size 35 bigger than SMB for Mid=15
> Oct  3 11:21:57 gimfc4 kernel: CIFS VFS: server not responding
> Oct  3 11:21:57 gimfc4 kernel: CIFS VFS: No response to cmd 116 mid 15
> Oct  3 11:22:22 gimfc4 kernel: CIFS VFS: Send error in SETFSUnixInfo
> = -5 Oct  3 11:22:22 gimfc4 kernel: CIFS VFS: Negotiating Unix
> capabilities with the server failed.  Consider mounting with the Unix
> Extensions Oct  3 11:22:22 gimfc4 kernel: disabled, if problems are
> found, by specifying the nounix mount option. 
> ** (note:  specifiying "nounix"  as a mount.cifs option did not seem
> to make any difference. ** touch a file, cp files.  writes fail.
> reads, rm ok Oct  3 11:23:27 gimfc4 kernel: CIFS VFS: server not
> responding Oct  3 11:23:27 gimfc4 kernel: CIFS VFS: No response for
> cmd 50 mid 33 Oct  3 11:23:33 gimfc4 kernel: CIFS VFS: Send error in
> SETFSUnixInfo = -5 Oct  3 11:23:34 gimfc4 kernel: CIFS VFS: Send
> error in Close = -9 Oct  3 11:36:57 gimfc4 kernel: CIFS VFS: Send
> error in SETFSUnixInfo = -5 Oct  3 11:59:44 gimfc4 kernel: CIFS VFS:
> Send error in SETFSUnixInfo = -5 Oct  3 12:00:29 gimfc4 kernel: CIFS
> VFS: server not responding Oct  3 12:00:29 gimfc4 kernel: CIFS VFS:
> No response for cmd 50 mid 84 Oct  3 12:00:29 gimfc4 kernel: CIFS
> VFS: Send error in SETFSUnixInfo = -5 Oct  3 12:00:38 gimfc4 kernel:
> CIFS VFS: Send error in Close = -9 Oct  3 12:04:29 gimfc4 kernel:
> CIFS VFS: server not responding Oct  3 12:04:29 gimfc4 kernel: CIFS
> VFS: No response for cmd 50 mid 103 Oct  3 12:04:33 gimfc4 kernel:
> CIFS VFS: Send error in SETFSUnixInfo = -5 Oct  3 12:05:14 gimfc4
> kernel: CIFS VFS: server not responding Oct  3 12:05:14 gimfc4
> kernel: CIFS VFS: No response for cmd 50 mid 122 Oct  3 12:05:20
> gimfc4 kernel: CIFS VFS: Send error in SETFSUnixInfo = -5 Oct  3
> 12:05:21 gimfc4 kernel: CIFS VFS: Write2 ret -9, wrote 0 Oct  3
> 12:05:21 gimfc4 kernel: CIFS VFS: Send error in Close = -9
> 
> --
