LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2011, 11:40 PM   #1
linuxpandi
LQ Newbie
 
Registered: Dec 2011
Posts: 2
Blog Entries: 1

Rep: Reputation: Disabled
Thumbs up how to perform checkdisk(chkdsk) function in Redhat Linux


How to perform CheckDisk(chkdsk) function in RedHat Linux as we do in windows to check any bad sectors present in hard disk and if present how to fix it automatically?
Thanks in advance

Regards,

linuxpandi
 
Old 12-22-2011, 01:04 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Here you go http://linux.die.net/man/8/fsck. Note that Linux will fsck on boot (after x num of reboots or always).
You can manually fsck an fs after booting up, but NOT a mounted fs (which also means root partition '/' can only be fsck'd during boot).
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dosfsck vs. chkdsk: any need for chkdsk in a dual boot scenario? shadowsnipes Linux - General 1 01-10-2008 02:19 AM
How do you perform this function.... tribeone Linux - Newbie 3 11-30-2006 11:15 AM
WinXP checkdisk FAT32 on boot when Linux writes to it towsonu2003 Linux - Newbie 5 09-05-2005 07:12 PM
checkdisk in linux linorg Linux - Software 2 12-28-2003 05:33 AM


All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration