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

Getting this error (os error 28) while uploading a file even though I have lot of free space on my Computer #136

Open
kalyan860 opened this issue Jun 5, 2022 · 5 comments

Comments

@kalyan860
Copy link

error: failed to upload the specified file
caused by: failed to archive file to upload
caused by: failed to add file to the archive
caused by: No space left on device (os error 28)

@timvisee
Copy link
Owner

timvisee commented Jun 5, 2022

When archiving a file to upload, ffsend creates a temporary archive file in your systems /tmp directory.

Could this directory have limited space? I know some systems mount /tmp to a RAM disk.

@kalyan860
Copy link
Author

I have a lot of space on my computer which is running linux. So /tmp is not running out of space. So what else it could be? Thanks

@timvisee
Copy link
Owner

timvisee commented Jun 5, 2022

Does the lsblk or mount command list /tmp as mount?

@kalyan860
Copy link
Author

kalyan860 commented Jun 6, 2022

Thanks for the reply. Here is output of lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 931.5G  0 disk 
|-sda1   8:1    0 923.1G  0 part /run/timeshift/backup
|                                /
`-sda2   8:2    0   8.4G  0 part [SWAP]
sr0     11:0    1  1024M  0 rom 

Here is output of mount

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=1990252k,nr_inodes=497563,mode=755,inode64)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
/dev/sda1 on / type ext4 (rw,noatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13515)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
none on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=1998164k,nr_inodes=1048576,inode64)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=399632k,nr_inodes=99908,mode=700,uid=1000,gid=1001,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1001)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1001)
/dev/sda1 on /run/timeshift/backup type ext4 (rw,relatime)

@timvisee
Copy link
Owner

timvisee commented Jun 6, 2022

The line

tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=1998164k,nr_inodes=1048576,inode64)

specifies that your /tmp is a RAM-disk limited to 2GB. Since you're likely trying to archive files with a total size larger than 2GB, the operation fails.

A feature could be added to build this archive in a different directory, but that isn't currently supported yet. In the mean time you may archive the files yourself in any desired directory, to send that instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants