LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   SFTP Server error (https://www.linuxquestions.org/questions/linux-server-73/sftp-server-error-4175546019/)

HansVH 06-21-2015 03:08 PM

SFTP Server error
 
Hi,

I have a server which is running openvz containers on lvm volumes.
I am uploading files to the server using sftp.
Recently I am getting errors that the program fails to upload.

When I check the log messages on the serverside in the openvz container, I see this in auth.log:

sftp-server[2169]: error: process_write: write failed

I already checked if there is enough diskspace with "df-h":

/dev/ploop12570p1 9.8G 3.6G 5.8G 38% /

So thats not the problem. I also checked the permissions of the directory, that's also ok. It's writable for the user that uploads using sftp.

"df -i" shows:

/dev/ploop12570p1 641280 15551 625729 3% /

I can't seem to find the reason for this error. Can somebody help me?

HansVH 06-22-2015 06:40 AM

When I tried to update apt-get inside the container, I got a message that there was no space left.

I resized the LVM volume using LVEXTEND
I set the diskspace of the container using vzctl set 1 -diskspace xGB --save
And I resized the filesystem using tune2fs and the problem was gone.

I don't understand why the df -h command was showing that there was only 38 used altough the disk was full...

Does somebody know what could be the reason?


All times are GMT -5. The time now is 02:28 AM.