Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Storage CIFS/SMB 0Byte (mount SMB2) #268

Closed
habaneroman opened this issue Jun 30, 2016 · 7 comments
Closed

External Storage CIFS/SMB 0Byte (mount SMB2) #268

habaneroman opened this issue Jun 30, 2016 · 7 comments
Labels
1. to develop Accepted and waiting to be taken care of bug feature: external storage

Comments

@habaneroman
Copy link

Parent

owncloud/core#17044

Steps to reproduce

  1. Confige CIFS/SMB als external Storage.
  2. Upload files bigger than 68kByte.

Actual behaviour

The file is created but empty.

Server configuration

NAS: EMC ISILON 7.2.1.2
NextCloud: 9.0.51
Linux: Ubuntu 16.4 LTS, Ubuntu 15.10
Samba 4

Logs:

samba_tevent: EPOLL_CTL_DEL EBADF for fde[0x7f2d20011830] mpx_fde[(nil)] fd[6] - disabling
cli_push returned NT_STATUS_CONNECTION_DISCONNECTED

Posible Solution:

OC user via sms4php smbclient to access the external Storage.

Workarround 1)

If Samba 3 is used every thinks works fine. But Samba 3 can't be used under Ubuntu 14,15 and 16.

Workarround 2)

Manual copying data with smbclient using the smb2 or smb3 protocol works fine.
/etc/samba/smb.conf
[global]
client max protocol = SMB2

but subdirectorys cant't be seen in nextcloud.

Question

Ist the a way to use SMB2 or SMB3 insted of CIFS?

@MariusBluem
Copy link
Member

MariusBluem commented Jun 30, 2016

I think this is something what will be fixed in owncloud/core, because they have already assigned a milestone (9.1) on this 😉 ... I would vote for waiting, until we can make an backport 😈

...other hand is, that nothing was done since Jun 19, 2015 😅

@MorrisJobke
Copy link
Member

...other hand is, that nothing was done since Jun 19, 2015 😅

@Mar1u5 There was nothing done on this yet. There is no linked PR. :(

@MariusBluem
Copy link
Member

Then nothing will happen ... Its feature freeze time 😁 They will move the milestone :( You're right.

@MariusBluem MariusBluem added the 1. to develop Accepted and waiting to be taken care of label Jul 1, 2016
@habaneroman
Copy link
Author

What can I do to advance the solution?

@icewind1991
Copy link
Member

Ist the a way to use SMB2 or SMB3 insted of CIFS?

configuring it in smb.conf is the only way atm

@habaneroman
Copy link
Author

I already changed the smb.conf to use SMB2.
/etc/samba/smb.conf
[global]
client max protocol = SMB2

but there was no way to open any subdirectory of the mounted device.

@habaneroman
Copy link
Author

Server Configuration

  • Nextcloud 11
  • Ubuntu 16.04.2 LTS
  • php-smbclient
  • ISILON OneFS Version: 7.2.1.2

Result

  • Everything works fine.

Comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug feature: external storage
Projects
None yet
Development

No branches or pull requests

4 participants