1819824 Members
3422 Online
109607 Solutions
New Discussion юеВ

Raj

 
Raj_60
New Member

Raj

Hi,

I'm a beginner to UNIX. My admin gave me
user id , password to login to UNIX box.
As soon as i login i get /home/dmserv
This is my home directory.

My Question is ..

What is the total space allocated to me (only to this user id).

if i put
/home/dmserv $ df -k
it displays...

/u62 (/dev/vg24/lvol2
/u63 (/dev/vg24/lvol3
/u64 (/dev/vg24/lvol4
/u65 (/dev/vg24/lvol5
/u66 (/dev/vg24/lvol6
/usr (/dev/vg00/lvol7 etc.......

Total XXXXX
Free XXXXXX
Used XXXXXXXX

I dont know how to interpret this output.
I'm interested only in total space allocated to me , used and free space.I dont want to see other users space or details.

Thanks in Advance
Raj
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: Raj

Do a:

$ bdf .

(that is bdf .)

That will tell you the number of K-Bytes free in the /home filesystem. You have the ability to use all of the available space in /home unless your system admin has enabled quotas.

To see if you have a quota, type:

$ quota

If it does not return anything, then you do NOT have a quota and can use all possible space in /home.
Uday_S_Ankolekar
Honored Contributor

Re: Raj

use df -k . <--- dot will show size for current file system. That will be size of home directory.
Good Luck..
Geoff Wild
Honored Contributor

Re: Raj

Try:

quota -v

If nothing, then you have no quota....but that desn't mean you have all the space in the world - just means you are sharing the space on /home...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.

Re: Raj

Dear Raj
Once after u login through your user id
$quota -v :This will display the quota
assigned to your userid
if it gives "no disk quota for uid X" means no quota is set for u
regards
SK
Your imagination is the preview of your life's coming attractions
Muthukumar_5
Honored Contributor

Re: Raj

Hello Raj,

I hope you are new to ITRC forums. IF you want to post a thread then try to use appropriate thread title there.


Users can use disk, based on permission there. We can not define without allocating any user quota to that file system there. If you did not define user quota then we can not get it using quota -v / df -k . there.

We can get the user usage informations on that disk there with du. If that specific user having access to another filesystem without any quota limitation then, we have to add all file system there.

HTH.
Easy to suggest when don't know about the problem!
Govind_3
Regular Advisor

Re: Raj

quota -v

is what you need,
-Govind