Results 1 to 4 of 4

Thread: Check Disk Space in Linux

  1. #1
    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.

  2. #2
    Join Date
    May 2008
    Posts
    4,831

    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.

  3. #3
    Join Date
    Apr 2008
    Posts
    3,295

    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.

  4. #4
    Join Date
    Jan 2009
    Posts
    318

    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.

Similar Threads

  1. LINUX MINT: Disk Check Fails on Boot up
    By Ansari Bros in forum Operating Systems
    Replies: 5
    Last Post: 16-01-2011, 10:26 PM
  2. What are the ways to check a disk in Linux
    By Daniel23 in forum Windows Software
    Replies: 5
    Last Post: 17-01-2010, 05:45 AM
  3. Script Need to check disk space on remote servers
    By screwuphead in forum Windows Server Help
    Replies: 5
    Last Post: 16-01-2010, 12:16 AM
  4. Clearing disk space in linux
    By _Gentoo_Nile_ in forum Operating Systems
    Replies: 4
    Last Post: 19-08-2009, 12:19 AM
  5. Want to Clean up linux disk space.
    By MARCIA in forum Operating Systems
    Replies: 3
    Last Post: 02-03-2009, 11:56 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,576,028.08891 seconds with 16 queries