LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-21-2015, 03:08 PM   #1
HansVH
LQ Newbie
 
Registered: Jan 2015
Posts: 4

Rep: Reputation: Disabled
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?
 
Old 06-22-2015, 06:40 AM   #2
HansVH
LQ Newbie
 
Registered: Jan 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: subsystem: cannot stat /usr/libexec/openssh/sftp-server earwaxntoast Red Hat 6 10-25-2013 05:15 AM
Error dowloading with lftp from sftp server: get: Access failed: No such file dgerber Linux - Newbie 0 02-10-2013 04:47 AM
Sftp connection between Windows server and linux server vikash.thbs Linux - Server 2 01-02-2012 10:25 AM
cannot login into SFTP server using Net::SFTP cccc Programming 1 10-31-2007 06:23 AM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration