Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support Disk quota exceeded (difference btw. du and df, again!) Post 302675093 by toro95037 on Saturday 21st of July 2012 02:44:19 PM
Old 07-21-2012
Create an alias called "du."

Code:
alias du.='du -k | grep -v "/.*/" | sort -n'

Then using a combination of du.'s ... cd's ... & ls -la's you should be able to determine where and which file(s) are using the most disk space.

example: (cd /home/myuser)

Code:
ls -la (look for files that are large)
du. (this will show you the relative size of your sub-directories)
cd (to the largest sub-directory)

repeat until you find large file that you do not want and delete them.
 

10 More Discussions You Might Find Interesting

1. Linux

Disk Quota software for Linux

Hi all, Does anyone knows any good disk quota software for Linux? I am trying to assign different disk quota allocation for different users and directories. At moment I am using an FTP solution (Crush FTP, very good), I am able to specify quotas based on directories for each individual user, but... (3 Replies)
Discussion started by: KDE Man
3 Replies

2. UNIX for Advanced & Expert Users

How can I increase the disk quota for a directory?

I know very basic Unix commands s I would really appreciate the assistance of a Unix guru. I am installing an application on a Sun server, when attempting to install I get an error that says I do not have enough space allocated for my install directory (/ACEMS). Error says it has 7235m but needs... (1 Reply)
Discussion started by: rhack
1 Replies

3. Solaris

difference btw lofi and _lofi

Hi all, can you pls tell me the difference btw, LOFI_FAILED and _LOFI_FAILED these 2 are just variables in the script its used...it just stores values... However i have this vague idea that _LOFI_FAILED is something different .. in the sense that it starts from a _... so could that... (0 Replies)
Discussion started by: wrapster
0 Replies

4. UNIX for Dummies Questions & Answers

Increasing Disk Quota

I keep getting an error on my site that says: The server is a 250gb dedicated server so I would have thought I had more than enough space. What does this actually mean and can I increase the disk quota? Thanks (0 Replies)
Discussion started by: thehaapyappy
0 Replies

5. UNIX for Dummies Questions & Answers

Disk quota exceeded......

I keep on getting an error on my site saying I've got a 250GB dedicated server, and have used less than 200mb of that. The site has only been on the server for just over a month. What does this mean and how can I sort it? (8 Replies)
Discussion started by: thehaapyappy
8 Replies

6. UNIX for Dummies Questions & Answers

Disk Quota

Hi all, I am new to Unix admin. Can anyone tell me how to set disk quota for the users in /export/home directory? Pls specify the exact command. Thanks (1 Reply)
Discussion started by: solaris5.10
1 Replies

7. Shell Programming and Scripting

disk quota problem

Hi, I am executing following in the script file cat rampIdent.CARE*.txt | rsort.exe -T $BULK_TMP_DIR > rampIdent.ALL.tmp.txt The txt files are around 20 and each are of average size 60 MB. rsort.exe is a program that combines and sorts the input given to it and writes output onto... (2 Replies)
Discussion started by: vadi
2 Replies

8. Red Hat

Implememting disk quota on Red Hat

Hi , what are all the files will be edited when we are\ implememting disk quota for a user. Thanks in advance (2 Replies)
Discussion started by: krish4linux
2 Replies

9. Shell Programming and Scripting

Disk Quota Exception while deleting the files

This is the full file name I get when I do ls -lt from my current directory. EXPORT_v1x0_20120811_11_T_065800_070000.dat.gz File names also consist of date as well. In the above file date is 20120811. So I am trying to delete all the files which starts with EXPORT_v1x0 and whose... (7 Replies)
Discussion started by: raihan26
7 Replies

10. Linux

Disk quota exceed

There is a special problem for my unix. Disk quota exceed. I use quota -v to check that I almost run out of my quota(I use 45M, limit for me is 50M). However, I try to use du -sh * to locate my file, it shows me that I only use 9M. I'm wandering if there is something wrong. (3 Replies)
Discussion started by: yayayouknow
3 Replies
VFS_DEFAULT_QUOTA(8)					    System Administration tools 				      VFS_DEFAULT_QUOTA(8)

NAME
vfs_default_quota - store default quota records for Windows clients SYNOPSIS
vfs objects = default_quota DESCRIPTION
This VFS module is part of the samba(7) suite. Many common quota implementations only store quotas for users and groups, but do not store a default quota. The vfs_default_quota module allows Samba to store default quota values which can be examined using the Windows Explorer interface. By default, Samba returns NO_LIMIT the default quota and refuses to update them. vfs_default_quota maps the default quota to the quota record of a user. By default the root user is taken because quota limits for root are typically not enforced. This module is stackable. OPTIONS
default_quota:uid = UID UID specifies the user ID of the quota record where the default user quota values are stored. default_quota:gid = GID GID specifies the group ID of the quota record where the default group quota values are stored. default_quota:uid nolimit = BOOL If this parameter is True, then the user whose quota record is storing the default user quota will be reported as having a quota of NO_LIMIT. Otherwise, the stored values will be reported. default_quota:gid nolimit = BOOL If this parameter is True, then the group whose quota record is storing the default group quota will be reported as having a quota of NO_LIMIT. Otherwise, the stored values will be reported. EXAMPLES
Store the default quota record in the quota record for the user with ID 65535 and report that user as having no quota limits: [global] vfs objects = default_quota default_quota:uid = 65535 default_quota:uid nolimit = yes VERSION
This man page is correct for version 3.0.25 of the Samba suite. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. Samba 3.5 06/18/2010 VFS_DEFAULT_QUOTA(8)
All times are GMT -4. The time now is 09:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy