Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Check Disk Space in Linux

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 09-11-2009
Member
 
Join Date: Aug 2009
Posts: 27
Check Disk Space in Linux

I am running Linux on my system and i want to know what are the commands used in linux to check hard disk. I got an error message when i was running chkdsk. Are there any special tools in linux which allow to check hard disk space and hard disk error.
Reply With Quote
  #2  
Old 09-11-2009
Macarenas's Avatar
Member
 
Join Date: May 2008
Posts: 4,810
Re: Check Disk Space in Linux

Run chkdsk /f c: but you will have to reboot first, make sure that you make a back up of your registry before you do it. fsck /dev/hda1 where /dev/hda1 is the partition to check for consistency errors.You can further check for bad blocks (on an ext2/3 filesystem) with: e2fsck -c /dev/hda1.
Reply With Quote
  #3  
Old 09-11-2009
Lillebror's Avatar
Member
 
Join Date: Apr 2008
Posts: 3,259
Re: Check Disk Space in Linux

There are plenty of tools with which you can check your disk space in linux. Also dmesg will give you the addresses of all your disks and the brand and someother useful info but not partition info cat /proc/cpuinfo will give you your cpu information. However, Linux already has a built in function to show you just what you need to know. Open a terminal window or push (ctrl+alt+F1 to go to console) and type: # df.
Reply With Quote
  #4  
Old 09-11-2009
Member
 
Join Date: Jan 2009
Posts: 320
Re: Check Disk Space in Linux

A quick way to get a summary of the available and used disk space on your Linux system is to type in the df command in a terminal window. The df is the simplest tool available to view disk usage. Simply type in df and you'll be shown disk usage for all your mounted filesystems.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Check Disk Space in Linux"
Thread Thread Starter Forum Replies Last Post
How do I determine how much disk space I have in Linux / Unix? Khemchand Operating Systems 4 27-02-2010 02:19 AM
What are the ways to check a disk in Linux Daniel23 Windows Software 5 17-01-2010 05:45 AM
Script Need to check disk space on remote servers screwuphead Windows Server Help 5 16-01-2010 12:16 AM
Clearing disk space in linux _Gentoo_Nile_ Operating Systems 4 19-08-2009 01:19 AM
Want to Clean up linux disk space. MARCIA Operating Systems 3 02-03-2009 11:56 AM


All times are GMT +5.5. The time now is 10:32 PM.