[ubuntu] sshfs filling up disk space

Hi all,

Apologies if this is a noob question, but I’m running into trouble using sshfs to mount a remote folder (ubuntu 12.04 LTS; x64). The basic problem is that the remote folder is quite large, and although there isn’t a problem initially, over a medium to long time I start getting errors indicating that root is running out of disk space. I assume that the OS is incorrectly counting remote files as local ones (that’s what it looks like from the Disk usage analyzer), but I’m not sure how to prevent that from happening. The commands I’m using to mount the remote folder are:

ssh hostname -l uname -Nf -L 20400:homemount:22

sshfs -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 20400 \
uname@localhost: ~/Desktop/PPS_Cluster/

Is the problem that I am mounting to the desktop? Intuitively it seems like this shouldn’t be an issue, but perhaps someone clever can tell me what I am doing wrong.

Ubuntu Forums

Ubuntu Whole Disk Encryption

About 25 minutes of breathtaking progress bar action was cut. Ubuntu Linux 12.04 LTS Precise Pangolin Encryption LUKS dm-crypt LVM Tutorial. www.ubuntu.com
Video Rating: 5 / 5

Check out my new Linux channel: bit.ly Just installed Ubuntu and can’t see videos? This is a quick tutorial to help you install multimedia codecs and non-open source components, such as flash player and more. Bonus CONTEST with PRIZES is as follows: If you had the source code to the entire world, how would you change it? www.twitter.com Follow and send me an @ reply with your answer. My favorite answer will be announced next Monday and the winner will get some free technology! (Who doesn’t love that!) What is Ubuntu? en.wikipedia.org Medibuntu – This popular third-party repository is not affiliated with Linux Ubuntu in any way, but provides many popular software packages (or as they put it, Multimedia, Entertainment & Distractions in Ubuntu) including Acrobat Reader, Real Player, Google Earth, and Skype. Medibuntu has two components to its repository, free and non-free. The free component includes software which, although it is distributed with an open-source license, it is not distributed with Ubuntu because of legal issues in certain countries that prevent it from being freely available worldwide. – Easierbuntu For this and more videos check out www.linuxhaxor.net If you want more of my silly non-linux ramblings please check out my blog at http Thanks for watching! 8-)
Video Rating: 4 / 5

[ubuntu] No disk space left, deleting files doesn’t free space

A process filled the HDD while performing a kernel upgrade. I then couldn’t graphically log in although there was a gui login (but not the normal one, the theme was different)
I attempted to delete files but whenever I rm’ed a file it didn’t seem to show up as freeing up space when I checked with df.
I even logged in as root on tty1 as well as using the failsafe kernel.
Each time my attempt to free space by deleting files didn’t seem to work.
Why couldn’t I rm files? Is there a solution?

I "solved" the problem by changing the reserved space for root (tune2fs) to give myself some space to work. I then was able to graphically log into Gnome and delete some files and free up some space. I then put my reserve space for root back so I have a way out in the future.
However I’m a little concerned as to how I’d have solved this problem had I not had the reserve space trick up my sleeve.
Thoughts & suggestions appreciated.

-Nick

Ubuntu Forums