Giter Site home page Giter Site logo

cloud-gateway's People

Contributors

chbruyand avatar gdelafond avatar rgacogne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloud-gateway's Issues

MKNOD "Function not implemented" but is now used by nfs-kernel-server

Hello,

When exporting through NFS with at least nfs-kernel-server from Debian stretch (1.3.4-2.1), it uses mknod() system call to create a file.

Create a file locally (touch /cg/test):

unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 48, pid: 107156
   unique: 4, success, outsize: 144
unique: 5, opcode: LOOKUP (1), nodeid: 1932, insize: 48, pid: 107156
   unique: 5, error: -2 (No such file or directory), outsize: 16
unique: 6, opcode: CREATE (35), nodeid: 1932, insize: 64, pid: 107156
   unique: 6, success, outsize: 160
unique: 7, opcode: FLUSH (25), nodeid: 1942, insize: 64, pid: 107156
   unique: 7, error: -38 (Function not implemented), outsize: 16
unique: 8, opcode: SETATTR (4), nodeid: 1942, insize: 128, pid: 107156
   unique: 8, success, outsize: 120
unique: 9, opcode: RELEASE (18), nodeid: 1942, insize: 64, pid: 0
   unique: 9, success, outsize: 16
unique: 10, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 72040
   unique: 10, success, outsize: 96

Create a file through an NFS mount point (touch /mnt/cg/test) :

unique: 70, opcode: LOOKUP (1), nodeid: 1932, insize: 46, pid: 107327
   unique: 70, error: -2 (No such file or directory), outsize: 16
unique: 71, opcode: LOOKUP (1), nodeid: 1932, insize: 46, pid: 107327
   unique: 71, error: -2 (No such file or directory), outsize: 16
unique: 72, opcode: MKNOD (8), nodeid: 1932, insize: 62, pid: 107327
   unique: 72, error: -38 (Function not implemented), outsize: 16
unique: 73, opcode: LOOKUP (1), nodeid: 1932, insize: 46, pid: 107327
   unique: 73, error: -2 (No such file or directory), outsize: 16
unique: 74, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 72040

As far as I know, nfs was not using mknod() on Debian Wheezy (and jessie I think).

Is there a way to implement it (for S_IFREG flag only of course)?

CloudGatewayMount return code should not be 0 on errors

$ /usr/local/bin/CloudGatewayMount STAR-Antenne /usr/local//etc/CloudGatewayConfiguration.xml
fusermount: user has no write access to mountpoint /mnt/CG/STAR-antenne
/usr/local/bin/cloudFUSE_low: error while creating new chan: 0
Cloud Gateway Volume /mnt/CG/STAR-antenne is ready.
$ echo $?
0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.