|
|
Posted Jan 05, 2009 at 7:38:45 AM
Subject: Get the statistics of "the usage of disk " for every user
hi!
I got a problem.
Our storage pool is full.
Almost 500 IO node(s),
Every IO node have about 10TB capacity of storage.
My boss want me to get this information:
Who used how many capacity of storage.
So I need a software or script to help me,
to calculate the file space usage of every account(user).
like this:
For I/O node number 1:
user:tom,usage:1000MB
user:lee,usage:3000MB
Is there anyone can help?
(forgive my poor English,please)
|
bsulli
Joined Jan 06, 2009 Posts: 2
Other Topics
|
Posted:
Jan 06, 2009 4:32:07 PM
Subject: Get the statistics of "the usage of disk " for every user
Could use more important such as does 10TB span several filesystems? Are users restricted to only using disk space in home directories? What Linux OS and build are you using? Without knowing I'm going to assume a current OS with quota software installed by default. I would start with enabling the built in quota function on the filesystem and setup the quota very very high with a long grace period to start. Do it on a non production system until you understand it because it affects all users such as a database user like MySQL. Can bring things to a halt otherwise. Then you could get that info easily. Again it depends on how you configured the filesystem in the first place. Your English was just fine.
One article
http://www.linux.com/feature/118885
Another article
http://downloads.techrepublic.com.com/5138-10877-6070368.html
I always use quotas with my large filesystem customers.
|
jiangyou
Joined Jan 05, 2009 Posts: 2
Other Topics
|
Posted:
Jan 07, 2009 2:50:32 AM
Subject: Get the statistics of "the usage of disk " for every user
There are single filesystem,and our users are restricted to using /data directory only.We use RHEL 4.4 (2.6.9-42 kernel). Quota was installed.
Thank you,bsulli !
I will make a study on quota from now on!
|