how to avoid "file system full" error message while copying/ ftping a file?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how to avoid "file system full" error message while copying/ ftping a file?
hi,
copy command does it calculates the file size and the target available disc space?
is copy and ftp copy both same?
how to avoid "file system full" error message while copying/ ftping a file which is bigger than the target available disc space?
how to avoid "file system full" error message while copying/ ftping a file which is bigger than the target available disc space?
There are three ways to prevent this error:
A) Get a bigger filesystem (disk) on the target.
B) Compress the source file so it fits on the target filesystem
C) Copy a smaller file.
A) Get a bigger filesystem (disk) on the target.
This is a rare case, to handle that case i need some solution.
B) Compress the source file so it fits on the target filesystem
This is already compressed file (tar.gz)
How do you write a 1.2 GB DVD image to a 750Meg CD-RW disk?
You don't!
The only way to be sure you will not get the error message, is to manually check that the target has adequate space BEFORE you start the copy. There is no way to shoehorn a large file into a smaller space non-destructively.
There IS, actually, a way to avoid seeing the message (suppressing or redirecting STDERR), but the resulting target file will be truncated and probably useless. Something you would generally want to know ASAP, thus the message.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.