Results 1 to 10 of 21
I have a doubt with how to find the size of the hard disk of my server with RHEL 4.0(linux) which is hosting our 10g database. I tried, I feel ...
- 03-04-2009 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 33
Size of hard disk
I have a doubt with how to find the size of the hard disk of my server with RHEL 4.0(linux) which is hosting our 10g database. I tried, I feel the commands like 'du -kh' give only the space used but not the total size of the hard disk. I have a doubt that there is some space on the hard drive which is not used, it is like un-used. As per my estimate, the hard disk estimate should be around 550 MB but the df -kh command only shows around 475 MB, so the other space may be un-mounted.
I hope, my question is clear.
Please, help in solving the doubt.
regards
- 03-04-2009 #2Just Joined!
- Join Date
- Feb 2009
- Posts
- 25
you need to use the fdisk command
- 03-05-2009 #3Just Joined!
- Join Date
- Nov 2008
- Posts
- 33
thanks, for your answer. But, fdisk command is not helpful. It will be appreciated if you can help me with the complete details as per my question.
- 03-05-2009 #4Just Joined!
- Join Date
- Feb 2009
- Posts
- 25
try this - fdisk (device name)
fdisk command line: type "p" to print the partition table
at the top of the result, you will see the actual hard disk size but it will be in bytes, you need to do your math to arrive at MB or GB
- 03-05-2009 #5
As pointed by sed_addictive using -l option
Code:fdisk -l /dev/device
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 03-05-2009 #6Just Joined!
- Join Date
- Nov 2008
- Posts
- 33
thanks, for your answer. In my scenario, I want to utilize the space which may not be shown by the 'df' command which is like un-mounted as I am running short on space.
- 03-05-2009 #7
Have you clean cache of Package Manager?
Lets check if your disk has unpartitioned/free space. Post the output fdisk -l command here.Code:yum clean all
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-05-2009 #8Just Joined!
- Join Date
- Feb 2009
- Posts
- 25
- 03-05-2009 #9Just Joined!
- Join Date
- Nov 2008
- Posts
- 33
thanks, for your answer. In my scenario, I want to utilize the space which may not be shown by the 'df' command which is like un-mounted as I am running
short on space.
- 03-05-2009 #10Thats why I suggested you to post the output of fdisk -l command.I want to utilize the space which may not be shown by the 'df' command which is like un-mounted as I am runningIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
