LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to check the HDA size? (https://www.linuxquestions.org/questions/linux-general-1/how-to-check-the-hda-size-25553/)

gogo 07-11-2002 09:51 AM

How to check the HDA size?
 
Hi,

I want to know how to check the size of the hda5 and to see how many partitions?

What command should I use on console mode?

Thanks

gogo

chamkila 07-11-2002 10:33 AM

Try the command df it may be what you are looking for.


chamkila

gogo 07-11-2002 10:52 AM

Thanks a lot for your help.

I have 1GB disk space which had not been formatted. I cannot read it under redhat, but I can read it under window2k server which installed partition magic 7.

How can I format that space and allocate to /usr as I want to install oracle9i db.

gogo

chamkila 07-11-2002 11:23 AM

This is what I done

used fdisk to make the patition
then formated the partition (Sorry I forgot the command if any one know please tell me thanks)
then Mount /usr to the new partition and test in.
If its ok then make the new changes in /etc/fstab.


but double check every thing

chamkila

NetScripter 07-11-2002 11:57 AM

command to format is mkfs

gogo 07-13-2002 04:50 AM

Sorry, may I ask you how to know the size of a particular folder?

e.g. I want to know the size of /var/tomcat4/lib/

What is the command?

Thanks for help

gogo

acid_kewpie 07-13-2002 04:52 AM

du

gogo 07-14-2002 11:06 AM

Thanks for help.

gogo


All times are GMT -5. The time now is 01:06 PM.