Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I work for an organization where we employees are alloted separate space on a remote server.

I SSH to that server, and the using du I get to know that free space shown is around 2 GB. But not all can be written by me.

Is there any way by which I can know the writeable free space ?

I am a linux newbie. Appreciate you guys help.

share|improve this question
3  
Is your system using quotas? In that case quota -v or some variation usually works. Also, did you mean df instead of du? –  jw013 Apr 14 '12 at 3:37
    
@jw013 You should post this as an answer, it's likely the right answer, and even if it isn't it'll be helpful to future visitors in a similar situation. –  Gilles Apr 14 '12 at 22:23
add comment

3 Answers 3

Is your remote server using quotas? In that case quota -v or some variation usually works. Also, did you mean df instead of du? df reports free disk space, while du reports file space usage.

share|improve this answer
    
I'm not able to run the quota -v command, says command not found. I meant to say df , but its not giving proper results for me. Thanks for your answer. –  Novice User Apr 15 '12 at 12:46
add comment

du is for showing the used space. Try df, e.g.

$ df -h 
Filesystem      Size  Used Avail Use% Mounted on
rootfs           60G   40G   18G  70% /
/dev/sda6        20G  9.2G   11G  46% /home
[...]
share|improve this answer
    
Thanks for your answer.I've tried df, but it doesnt give proper results for my workspace computer, somewhere the infosec group has done some settings, which I am not able to detect. –  Novice User Apr 15 '12 at 12:45
add comment

Other than quotas (which it seems are not in use here), the only other reservation of space (which would limit how much you can write) is the space reserved for the root user by the filesystem. I think that this can only be discovered using tune2fs (which only root can use), but the default is 5%.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.