jcifs.smb.SmbException: The file system is full

0 users found this article helpful

Symptoms

Users are unable to browse published drives.

In the awingu-api.service.log file, this error is visible:

 

2023-08-10 12:06:07.881584+00:00 awingu-acc awingu-api.service[/opt/awingu/awingu-core/virtualenv/bin/gunicorn:1199]: Connecting to CIFS backend
2023-08-10 12:06:07.909238+00:00 awingu-acc awingu-api.service[/opt/awingu/awingu-core/virtualenv/bin/gunicorn:1199]: Received error output: auth_method=kerberos
jcifs.smb.SmbException: The file system is full.
        at jcifs.smb.SmbTransportImpl.checkStatus2(SmbTransportImpl.java:1467)
        at jcifs.smb.SmbTransportImpl.checkStatus(SmbTransportImpl.java:1578)
        at jcifs.smb.SmbTransportImpl.sendrecv(SmbTransportImpl.java:1027)
        at jcifs.smb.SmbTransportImpl.send(SmbTransportImpl.java:1549)
        at jcifs.smb.SmbSessionImpl.send(SmbSessionImpl.java:409)
        at jcifs.smb.SmbTreeImpl.send(SmbTreeImpl.java:472)
        at jcifs.smb.SmbTreeConnection.send0(SmbTreeConnection.java:404)
        at jcifs.smb.SmbTreeConnection.send(SmbTreeConnection.java:318)
        at jcifs.smb.SmbTreeConnection.send(SmbTreeConnection.java:298)
        at jcifs.smb.SmbTreeHandleImpl.send(SmbTreeHandleImpl.java:130)
        at jcifs.smb.SmbTreeHandleImpl.send(SmbTreeHandleImpl.java:117)
        at jcifs.smb.SmbFile.mkdir(SmbFile.java:1669)
        at com.awingu.ClientHandler.run(CifsBackend.java:336)

2023-08-10 12:06:08.020721+00:00 awingu-acc awingu-api.service[awingu-drivebackends:1199]: [2728797-7-1691669167.783] [ERROR] - Failed to create destination "/some/dir/on/remote/fileserver"
Traceback (most recent call last):
  File "/opt/awingu/awingu-core/virtualenv/lib/python3.10/site-packages/awingucore/drives/backends/cifsbackend.py", line 196, in create_folder
    self._connection.mkdir(path)
  File "/opt/awingu/awingu-core/virtualenv/lib/python3.10/site-packages/awingufileproxy/awingu_cifs_backend.py", line 125, in mkdir
    self._execute_action('mkdir', path)
  File "/opt/awingu/awingu-core/virtualenv/lib/python3.10/site-packages/awingufileproxy/awingu_cifs_backend.py", line 114, in _execute_action
    raise OSError(err)
OSError: jcifs.smb.SmbException: The file system is full.
        at jcifs.smb.SmbTransportImpl.checkStatus2(SmbTransportImpl.java:1467)
        at jcifs.smb.SmbTransportImpl.checkStatus(SmbTransportImpl.java:1578)
        at jcifs.smb.SmbTransportImpl.sendrecv(SmbTransportImpl.java:1027)
        at jcifs.smb.SmbTransportImpl.send(SmbTransportImpl.java:1549)
        at jcifs.smb.SmbSessionImpl.send(SmbSessionImpl.java:409)
        at jcifs.smb.SmbTreeImpl.send(SmbTreeImpl.java:472)
        at jcifs.smb.SmbTreeConnection.send0(SmbTreeConnection.java:404)
        at jcifs.smb.SmbTreeConnection.send(SmbTreeConnection.java:318)
        at jcifs.smb.SmbTreeConnection.send(SmbTreeConnection.java:298)
        at jcifs.smb.SmbTreeHandleImpl.send(SmbTreeHandleImpl.java:130)
        at jcifs.smb.SmbTreeHandleImpl.send(SmbTreeHandleImpl.java:117)
        at jcifs.smb.SmbFile.mkdir(SmbFile.java:1669)
        at com.awingu.ClientHandler.run(CifsBackend.java:336)

2023-08-10 12:06:08.021051+00:00 awingu-acc awingu-api.service[/opt/awingu/awingu-core/virtualenv/bin/gunicorn:1199]: Unable to create folder /to_won/Reports/ttt: Cannot create folder "/some/dir/on/remote/fileserver", error: jcifs.smb.SmbException: The file system is full.
        at jcifs.smb.SmbTransportImpl.checkStatus2(SmbTransportImpl.java:1467)
        at jcifs.smb.SmbTransportImpl.checkStatus(SmbTransportImpl.java:1578)
        at jcifs.smb.SmbTransportImpl.sendrecv(SmbTransportImpl.java:1027)
        at jcifs.smb.SmbTransportImpl.send(SmbTransportImpl.java:1549)
        at jcifs.smb.SmbSessionImpl.send(SmbSessionImpl.java:409)
        at jcifs.smb.SmbTreeImpl.send(SmbTreeImpl.java:472)
        at jcifs.smb.SmbTreeConnection.send0(SmbTreeConnection.java:404)
        at jcifs.smb.SmbTreeConnection.send(SmbTreeConnection.java:318)
        at jcifs.smb.SmbTreeConnection.send(SmbTreeConnection.java:298)
        at jcifs.smb.SmbTreeHandleImpl.send(SmbTreeHandleImpl.java:130)
        at jcifs.smb.SmbTreeHandleImpl.send(SmbTreeHandleImpl.java:117)
        at jcifs.smb.SmbFile.mkdir(SmbFile.java:1669)
        at com.awingu.ClientHandler.run(CifsBackend.java:336)
Traceback (most recent call last):
  File "/opt/awingu/awingu-core/virtualenv/lib/python3.10/site-packages/awingucore/drives/backends/cifsbackend.py", line 196, in create_folder
    self._connection.mkdir(path)
  File "/opt/awingu/awingu-core/virtualenv/lib/python3.10/site-packages/awingufileproxy/awingu_cifs_backend.py", line 125, in mkdir
    self._execute_action('mkdir', path)
  File "/opt/awingu/awingu-core/virtualenv/lib/python3.10/site-packages/awingufileproxy/awingu_cifs_backend.py", line 114, in _execute_action
    raise OSError(err)
OSError: jcifs.smb.SmbException: The file system is full.
        at jcifs.smb.SmbTransportImpl.checkStatus2(SmbTransportImpl.java:1467)
        at jcifs.smb.SmbTransportImpl.checkStatus(SmbTransportImpl.java:1578)
        at jcifs.smb.SmbTransportImpl.sendrecv(SmbTransportImpl.java:1027)
        at jcifs.smb.SmbTransportImpl.send(SmbTransportImpl.java:1549)
        at jcifs.smb.SmbSessionImpl.send(SmbSessionImpl.java:409)
        at jcifs.smb.SmbTreeImpl.send(SmbTreeImpl.java:472)
        at jcifs.smb.SmbTreeConnection.send0(SmbTreeConnection.java:404)
        at jcifs.smb.SmbTreeConnection.send(SmbTreeConnection.java:318)
        at jcifs.smb.SmbTreeConnection.send(SmbTreeConnection.java:298)
        at jcifs.smb.SmbTreeHandleImpl.send(SmbTreeHandleImpl.java:130)
        at jcifs.smb.SmbTreeHandleImpl.send(SmbTreeHandleImpl.java:117)
        at jcifs.smb.SmbFile.mkdir(SmbFile.java:1669)
        at com.awingu.ClientHandler.run(CifsBackend.java:336)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/awingu/awingu-core/virtualenv/lib/python3.10/site-packages/awingucore/drives/views.py", line 705, in dirents
    backend.create_folder(path)
  File "/opt/awingu/awingu-core/virtualenv/lib/python3.10/site-packages/awingucore/drives/backends/decorators.py", line 234, in create_folder
    self._backend.create_folder(path)
  File "/opt/awingu/awingu-core/virtualenv/lib/python3.10/site-packages/awingucore/drives/backends/__init__.py", line 46, in log_function_call
    return function(self, *args, **kwargs)
  File "/opt/awingu/awingu-core/virtualenv/lib/python3.10/site-packages/awingucore/drives/backends/cifsbackend.py", line 209, in create_folder
    raise DriveBackendError(
drives.backends.errors.DriveBackendError: Cannot create folder "/some/dir/on/remote/fileserver", error: jcifs.smb.SmbException: The file system is full.
        at jcifs.smb.SmbTransportImpl.checkStatus2(SmbTransportImpl.java:1467)
        at jcifs.smb.SmbTransportImpl.checkStatus(SmbTransportImpl.java:1578)
        at jcifs.smb.SmbTransportImpl.sendrecv(SmbTransportImpl.java:1027)
        at jcifs.smb.SmbTransportImpl.send(SmbTransportImpl.java:1549)
        at jcifs.smb.SmbSessionImpl.send(SmbSessionImpl.java:409)
        at jcifs.smb.SmbTreeImpl.send(SmbTreeImpl.java:472)
        at jcifs.smb.SmbTreeConnection.send0(SmbTreeConnection.java:404)
        at jcifs.smb.SmbTreeConnection.send(SmbTreeConnection.java:318)
        at jcifs.smb.SmbTreeConnection.send(SmbTreeConnection.java:298)
        at jcifs.smb.SmbTreeHandleImpl.send(SmbTreeHandleImpl.java:130)
        at jcifs.smb.SmbTreeHandleImpl.send(SmbTreeHandleImpl.java:117)
        at jcifs.smb.SmbFile.mkdir(SmbFile.java:1669)
        at com.awingu.ClientHandler.run(CifsBackend.java:336)

2023-08-10 12:06:08.021900+00:00 awingu-acc awingu-api.service[/opt/awingu/awingu-core/virtualenv/bin/gunicorn:1199]: 127.0.0.1 POST /api/v2/drives/4/dirents/?path=%2Fto_won%2FReports%2F/ttt&limit=1000 => HTTP 403 (237 msecs)
2023-08-10 12:06:08.022254+00:00 awingu-acc awingu-api.service[/opt/awingu/awingu-core/virtualenv/bin/gunicorn:1199]: Forbidden: /api/v2/drives/4/dirents/

 

Cause

The file system (of the file server) is full.

Resolution

Make sure there's space left.

Was this article helpful?

Tell us how we can improve it.