nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Linux check disk error

This is a discussion on Linux check disk error within the Linux hardware forums, part of the Linux Getting Started category; How do I check disk error under Linux just like scandisk or chkdisk used under Windows operating system? TIA...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux hardware

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 11-21-2007, 10:59 PM
raj raj is offline
Contributors
User
 
Join Date: Jun 2005
Location: Hyderabad
Posts: 146
Rep Power: 4
raj is on a distinguished road
Default Linux check disk error

How do I check disk error under Linux just like scandisk or chkdisk used under Windows operating system?

TIA
__________________
Raj
Linux rulz.
I have never turned back in my life ; I shall not do so today.. haha
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-24-2007, 11:00 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 481
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

How do I test if my Linux server SCSI / SATA hard disk going bad?
__________________
May the force with you!
Reply With Quote
  #3 (permalink)  
Old 12-04-2007, 08:15 PM
Junior Member
User
 
Join Date: Dec 2007
My distro: Debian
Posts: 2
Rep Power: 0
malan_in is on a distinguished road
Default disk check

Try fschk command.
Reply With Quote
  #4 (permalink)  
Old 12-07-2007, 10:00 AM
Junior Member
User
 
Join Date: Dec 2007
My distro: Debian
Posts: 12
Rep Power: 0
virendra is on a distinguished road
Default

try using the following command

#/sbin/fsck

#/sbin/e2fsck


u should be able to check the disk for errors

*****************IMP*****************

u cannot run these command when the file system is mounted

umount all the partitions and bring it to single user mode

#init s
or
#init 1

and then run any of these commands
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How to check CPU Numbers in Linux raj Linux hardware 1 06-17-2008 02:29 PM
Shell script to check the disk space on remote systems vijayscripts Shell scripting 5 10-21-2007 06:29 PM
Command to Check Linux File System lacloai Getting started tutorials 3 05-14-2007 05:45 PM
Configuring disk quotas on Fedora Linux chimu Linux software 2 12-26-2006 10:18 AM
Linux command to check size of hard drive disk gbdood Linux software 2 08-27-2006 09:44 AM


All times are GMT +5.5. The time now is 04:45 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36