How can I find out the maximum disk space of my hard drive?

DA31387

Verified User
Joined
Sep 21, 2011
Messages
56
Hi,
I just realized that DA panel tells you how much disk space is used but not how much is left for Admin to allocate. How can I figure that out?
Please help.
Thanks
 
I find this a reasonable question; I had to look it up yesterday for one of my systems and I discovered it's not as straightforward as you might expect. CMD_ADMIN_STATS is suitable for partition information, as is df -h from the command line, but for several reasons they won't tell you the size of the entire drive.

This will:
Code:
# fdisk -l | grep <diskid>
where <diskid> is replaced by the disk identifier, for example, sda, sdb, hda, hdb, etc.

You may also get some error messages; generally the last line to be output is the one you're looking for.

Jeff
 
Disk space information

I got an error:
-bash: syntax error near unexpected token `newline'
I do not know what to do at this point! But, I appreciate your help.
 
Why are you running a server if you dont know how to check free disk space.
 
I got an error:
-bash: syntax error near unexpected token `newline'
I do not know what to do at this point! But, I appreciate your help.
Exactly what did you type into your command line to give you this error?

Jeff
 
Back
Top