Re: [Nfs-ganesha-devel] File create failing, after mounting from Mac OS

2018-07-13 Thread Daniel Gryniewicz

This list has been deprecated. Please subscribe to the new devel list at 
lists.nfs-ganesha.org.
It's trying to set the FATTR4_ARCHIVE attribute, which is a deprecated 
attribute that Ganesha doesn't support.  Since Ganesha doesn't advertise 
support for it, the client should not be setting it.  (Note that the 
Linux kernel NFS server also doesn't support this attribute.)


Daniel

On 07/13/2018 10:19 AM, Suresh kosuru wrote:

This list has been deprecated. Please subscribe to the new devel list at 
lists.nfs-ganesha.org.



Hi,

I mounted nfs4 file system on Mac OS. If I try to create a file after 
mounting it is failing with below error in nfs-ganesha logs. Can someone 
please help me debug the issue :


*nfs-ganesha logs:*

13/07/2018 T01:48:31.386718-0700 28560[:::172.30.9.55] [work-4] 3837 
:nfs4_Fattr_Supported_Bitmap :nfs4_Fattr_Supported  ==> 
FATTR4_ARCHIVE supported flag=1 |


13/07/2018 T01:48:31.386722-0700 28560[:::172.30.9.55] [work-4] 3837 
:nfs4_Fattr_Supported_Bitmap :nfs4_Fattr_Supported  ==> 
FATTR4_HIDDEN supported flag=1 |


13/07/2018 T01:48:31.386726-0700 28560[:::172.30.9.55] [work-4] 3837 
:nfs4_Fattr_Supported_Bitmap :nfs4_Fattr_Supported  ==> 
FATTR4_MODE supported flag=1 |


13/07/2018 T01:48:31.386731-0700 28560[:::172.30.9.55] [work-4] 4099 
:*Fattr4_To_FSAL_attr :Attr not supported 14 name=FATTR4_ARCHIVE*


13/07/2018 T01:48:31.386735-0700 28560[:::172.30.9.55] [work-4] 1342 
:nfs4_op_open :*general failure*


13/07/2018 T01:48:31.386739-0700 28560[:::172.30.9.55] [work-4] 1448 
:nfs4_op_open :*failed with status NFS4ERR_ATTRNOTSUPP*


13/07/2018 T01:48:31.386746-0700 28560[:::172.30.9.55] [work-4] 631 
:Copy_nfs4_state_req :OPEN: saving response 0x7fd8900024b0 so_seqid 0 
new seqid 21



*Errors from Mac Terminal:*


      skosurus-MacBook-Pro:tmp skosuru$

      skosurus-MacBook-Pro:tmp skosuru$ mount

      /dev/disk1 on / (hfs, local, journaled)

      devfs on /dev (devfs, local, nobrowse)

      map -hosts on /net (autofs, nosuid, automounted, nobrowse)

      map auto_home on /home (autofs, automounted, nobrowse)

      /dev/disk2s2 on /Volumes/Kyocera OS X 10.5+ Web build 2014.10.20 
(hfs,          local, nodev, nosuid, read-only, noowners, quarantine, 
mounted by skosuru)


      /dev/disk3s1 on /Volumes/Slack.app (hfs, local, nodev, nosuid, 
read-only, noowners, quarantine, mounted by skosuru)


      10.10.108.220:/mapr on /Users/skosuru/Desktop/1234 (nfs, nodev, 
nosuid, mounted by skosuru)


      skosurus-MacBook-Pro:tmp skosuru$ pwd

      /Users/skosuru/Desktop/1234/my.cluster.com/tmp 



*skosurus-MacBook-Pro:tmp skosuru$ touch 123456789*

*     touch: 123456789: Unknown error: 10032*

      skosurus-MacBook-Pro:tmp skosuru$ cd ..

      skosurus-MacBook-Pro:my.cluster.com  
skosuru$ ls -lrt


      total 2

      drwxr-xr-x  2 nobody  nobody  0 Jul 13 12:20 apps

      drwxr-xr-x  3 nobody  nobody  1 Jul 13 12:20 var

      drwxr-xr-x  2 nobody  nobody  0 Jul 13 12:21 user

      drwxr-xr-x  2 nobody  nobody  0 Jul 13 12:21 opt

      drwxrwxrwx  2 nobody  nobody  4 Jul 13 12:37 tmp

      skosurus-MacBook-Pro:my.cluster.com  
skosuru$ cd ..


      skosurus-MacBook-Pro:1234 skosuru$ ls -lrt

      total 1

      drwxrwxrwx  7 nobody  nobody  6 Jul 13 12:21 my.cluster.com 



      skosurus-MacBook-Pro:1234 skosuru$


Thanks & Regards

Suresh Kosuru



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel


Re: [Nfs-ganesha-devel] File create failing, after mounting from Mac OS

2018-07-13 Thread Frank Filz

This list has been deprecated. Please subscribe to the new devel list at 
lists.nfs-ganesha.org.
On 07/13/2018 07:19 AM, Suresh kosuru wrote:

This list has been deprecated. Please subscribe to the new devel list at 
lists.nfs-ganesha.org.


Hi,

I mounted nfs4 file system on Mac OS. If I try to create a file after 
mounting it is failing with below error in nfs-ganesha logs. Can 
someone please help me debug the issue :


*nfs-ganesha logs:*

13/07/2018 T01:48:31.386718-0700 28560[:::172.30.9.55] [work-4] 
3837 :nfs4_Fattr_Supported_Bitmap :nfs4_Fattr_Supported 
==> FATTR4_ARCHIVE supported flag=1 |


13/07/2018 T01:48:31.386722-0700 28560[:::172.30.9.55] [work-4] 
3837 :nfs4_Fattr_Supported_Bitmap :nfs4_Fattr_Supported 
==> FATTR4_HIDDEN supported flag=1 |


13/07/2018 T01:48:31.386726-0700 28560[:::172.30.9.55] [work-4] 
3837 :nfs4_Fattr_Supported_Bitmap :nfs4_Fattr_Supported 
==> FATTR4_MODE supported flag=1 |


13/07/2018 T01:48:31.386731-0700 28560[:::172.30.9.55] [work-4] 
4099 :*Fattr4_To_FSAL_attr :Attr not supported 14 name=FATTR4_ARCHIVE*


13/07/2018 T01:48:31.386735-0700 28560[:::172.30.9.55] [work-4] 
1342 :nfs4_op_open :*general failure*


13/07/2018 T01:48:31.386739-0700 28560[:::172.30.9.55] [work-4] 
1448 :nfs4_op_open :*failed with status NFS4ERR_ATTRNOTSUPP*


13/07/2018 T01:48:31.386746-0700 28560[:::172.30.9.55] [work-4] 
631 :Copy_nfs4_state_req :OPEN: saving response 0x7fd8900024b0 
so_seqid 0 new seqid 21


Hmm, the Mac client is trying to set an attribute Ganesha doesn't support (*FATTR4_ARCHIVE). As far as I can tell from the RFC, responding with 
**NFS4ERR_ATTRNOTSUPP is ok for OPEN (it must not be returned for 
GETATTR)**. Frank *



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel


[Nfs-ganesha-devel] File create failing, after mounting from Mac OS

2018-07-13 Thread Suresh kosuru
This list has been deprecated. Please subscribe to the new devel list at 
lists.nfs-ganesha.org.Hi,

I mounted nfs4 file system on Mac OS. If I try to create a file after
mounting it is failing with below error in nfs-ganesha logs. Can someone
please help me debug the issue :

*nfs-ganesha logs:*

13/07/2018 T01:48:31.386718-0700 28560[:::172.30.9.55] [work-4] 3837
:nfs4_Fattr_Supported_Bitmap :nfs4_Fattr_Supported  ==>
FATTR4_ARCHIVE supported flag=1 |

13/07/2018 T01:48:31.386722-0700 28560[:::172.30.9.55] [work-4] 3837
:nfs4_Fattr_Supported_Bitmap :nfs4_Fattr_Supported  ==>
FATTR4_HIDDEN supported flag=1 |

13/07/2018 T01:48:31.386726-0700 28560[:::172.30.9.55] [work-4] 3837
:nfs4_Fattr_Supported_Bitmap :nfs4_Fattr_Supported  ==>
FATTR4_MODE supported flag=1 |

13/07/2018 T01:48:31.386731-0700 28560[:::172.30.9.55] [work-4]
4099 :*Fattr4_To_FSAL_attr
:Attr not supported 14 name=FATTR4_ARCHIVE*

13/07/2018 T01:48:31.386735-0700 28560[:::172.30.9.55] [work-4] 1342
:nfs4_op_open :*general failure*

13/07/2018 T01:48:31.386739-0700 28560[:::172.30.9.55] [work-4] 1448
:nfs4_op_open :*failed with status NFS4ERR_ATTRNOTSUPP*

13/07/2018 T01:48:31.386746-0700 28560[:::172.30.9.55] [work-4] 631
:Copy_nfs4_state_req :OPEN: saving response 0x7fd8900024b0 so_seqid 0 new
seqid 21


*Errors from Mac Terminal:*


 skosurus-MacBook-Pro:tmp skosuru$

 skosurus-MacBook-Pro:tmp skosuru$ mount

 /dev/disk1 on / (hfs, local, journaled)

 devfs on /dev (devfs, local, nobrowse)

 map -hosts on /net (autofs, nosuid, automounted, nobrowse)

 map auto_home on /home (autofs, automounted, nobrowse)

 /dev/disk2s2 on /Volumes/Kyocera OS X 10.5+ Web build 2014.10.20 (hfs,
 local, nodev, nosuid, read-only, noowners, quarantine, mounted by
skosuru)

 /dev/disk3s1 on /Volumes/Slack.app (hfs, local, nodev, nosuid,
read-only, noowners, quarantine, mounted by skosuru)

 10.10.108.220:/mapr on /Users/skosuru/Desktop/1234 (nfs, nodev,
nosuid, mounted by skosuru)

 skosurus-MacBook-Pro:tmp skosuru$ pwd

 /Users/skosuru/Desktop/1234/my.cluster.com/tmp

 *skosurus-MacBook-Pro:tmp skosuru$ touch 123456789*

* touch: 123456789: Unknown error: 10032*

 skosurus-MacBook-Pro:tmp skosuru$ cd ..

 skosurus-MacBook-Pro:my.cluster.com skosuru$ ls -lrt

 total 2

 drwxr-xr-x  2 nobody  nobody  0 Jul 13 12:20 apps

 drwxr-xr-x  3 nobody  nobody  1 Jul 13 12:20 var

 drwxr-xr-x  2 nobody  nobody  0 Jul 13 12:21 user

 drwxr-xr-x  2 nobody  nobody  0 Jul 13 12:21 opt

 drwxrwxrwx  2 nobody  nobody  4 Jul 13 12:37 tmp

 skosurus-MacBook-Pro:my.cluster.com skosuru$ cd ..

 skosurus-MacBook-Pro:1234 skosuru$ ls -lrt

 total 1

 drwxrwxrwx  7 nobody  nobody  6 Jul 13 12:21 my.cluster.com

 skosurus-MacBook-Pro:1234 skosuru$


Thanks & Regards

Suresh Kosuru
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel