08-13-2004
Hmm.... Could there be disk quotas in place on your system? Try repquota -v filesystem where filesystem should be replaced (obviously) with something like /tmp. repquota -av will report on all filesystems. To check your own quota, run "quota -v".
I doubt if it's this, but I know that there is a "minfree" value associated with certain UNIX filesystems (which OS are you using?).
This value is normally set to 10% (at least it is under HP-UX), and this space will not be available for use by users. It can be adjusted with tunefs. Lowering the value can reclaim space, but at the con of lowering throughput on the device.
You can check the current setting with "tunefs -v /dev/vg01/lvol1" where /dev/vg01/lvol1 should be replaced with whatever device you're checking.
On our system, we sometimes reduce minfree to 5% when we are backing up our databases, and then increase back to it 10% once the data has been archived off the disk.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to display the amount space avalible on a unix server in an html webpage, which will automatically update every hour. I am able to do so using a javascript in a windows based server. How would i go about doing this in a unix server. Any help, suggestions, anything would be great. thanks. (3 Replies)
Discussion started by: davwel
3 Replies
2. UNIX for Dummies Questions & Answers
How to find the free space & usage of the particular directory in Hp-Unix?
I want to see the usage in % (2 Replies)
Discussion started by: bobprabhu
2 Replies
3. Solaris
Hi,
How do I determine the free space below?
# vxdg -g msb_db_dg free
DISK DEVICE TAG OFFSET LENGTH FLAGS
msb_db_dg01 sdb sdb 312475648 316571392 n
Thanks! (1 Reply)
Discussion started by: itik
1 Replies
4. Solaris
Hi all,
Could please let me know how to get the more memory free space (not added the RAM) in local zone.
-bash-3.00# vmstat 2 5
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s1 s1 s1 in sy cs us sy... (3 Replies)
Discussion started by: murthy76
3 Replies
5. UNIX for Dummies Questions & Answers
Is possible to see how much available space there is on a ftp server and how much is used through ftp ? how ?
free space:
used space:
thanks (1 Reply)
Discussion started by: aneuryzma
1 Replies
6. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
7. Red Hat
Hello, I wanted to calculate free space in my unix file system. Here is my direction. I can use df -h command to get the below output.
Filesystem Size Used Avail Use% Mounted on
===================================================
/dev/vx/dsk/edcdg/data01vol
... (9 Replies)
Discussion started by: govindts
9 Replies
8. Solaris
hi guys, me again ;)
i recently opened a thread about physical to zone migration.
My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone.
We are talking about 22mio of files.
i used rsync to do that and every time at... (8 Replies)
Discussion started by: beta17
8 Replies
9. Fedora
Hi,
I run Fedora 17.
I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Discussion started by: mojoman
1 Replies
LEARN ABOUT OPENDARWIN
repquota
REPQUOTA(8) BSD System Manager's Manual REPQUOTA(8)
NAME
repquota -- summarize quotas for a file system
SYNOPSIS
repquota [-g] [-u] [-v] filesystem ...
repquota [-g] [-u] [-v] -a
DESCRIPTION
Repquota prints a summary of the disk usage and quotas for the specified file systems.
Available options:
-a Print the quotas of all the filesystems configured with a quota mount option file at its root.
-g Print only group quotas (the default is to print both group and user quotas if they exist).
-u Print only user quotas (the default is to print both group and user quotas if they exist).
-v Print a header line before printing each filesystem quotas.
For each user or group, the current number of files and amount of space (in kilobytes) is printed, along with any quotas created with
edquota(8).
Only members of the operator group or the super-user may use this command.
FILES
Each of the following quota files is located at the root of the mounted filesystem. The mount option files are empty files whose existence
indicates that quotas are to be enabled for that filesystem.
.quota.user data file containing user quotas
.quota.group data file containing group quotas
.quota.ops.user mount option file used to enable user quotas
.quota.ops.group mount option file used to enable group quotas
SEE ALSO
quota(1), quotactl(2), edquota(8), quotacheck(8), quotaon(8)
DIAGNOSTICS
Various messages about inaccessible files; self-explanatory.
HISTORY
The repquota command appeared in 4.2BSD.
4.2 Berkeley Distribution March 28, 2002 4.2 Berkeley Distribution