The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Operating Systems
> Linux Help
|
Equivalent to chkdsk for Windows..?
Discuss Equivalent to chkdsk for Windows..? in the Linux Help forum on Dev Shed. Equivalent to chkdsk for Windows..? Linux Help forum discussing topics including usage, troubleshooting, modules, and distributions. Linux is an open source OS, based on UNIX.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

November 16th, 2008, 11:07 AM
|
 |
They're coming to take me away
|
|
Join Date: Jan 2005
Location: Florida
|
|
|
Equivalent to chkdsk for Windows..?
Just wanted to know if there was a command to check the HD in my linux machine similar to chkdsk. I think my HD is failing. The computer was off a month or so ago, and I assumed power supply, so I switched that out for another one I had around. Today, my computer was off again. After hitting the power button repeatedly, it came back on. I decided to back up everything, and heard a lot of clicking as it was loading. It turned on, and I was unable to zip up some archives and save it direct to that hd.. kept timing out or giving me errors.
Now I'm zipping up to my windows machine and it's working. I'm running Samba, and have the linux machine mapped as my Z Drive. Can I just run chkdsk z: from my windows machine, or do I need to run a Linux equivalent command from the linux machine?
Thanks.
|

November 17th, 2008, 12:38 AM
|
|
Registered User
|
|
Join Date: Nov 2008
Location: Ukraine
Posts: 10
Time spent in forums: 4 h 7 m 15 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by hiker Can I just run chkdsk z: from my windows machine, or do I need to run a Linux equivalent command from the linux machine?
Thanks. |
You should boot your linux station into the single mode and run the fsck command to check its filesystems.
But judging by the problem's description you might have a hardware problem.
|

November 17th, 2008, 02:14 AM
|
|
|
|
Also with Fedora anyway you can force a disk check on reboot using the cli shutdown command, but I also think you may be having hardware problems, and if so I'd just backup and replace the drive.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi
|

November 17th, 2008, 10:33 AM
|
|
Registered User
|
|
Join Date: Nov 2008
Location: http://dedicatedhosting.navisite.com/
Posts: 18
Time spent in forums: 2 h 35 m 8 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by hiker Just wanted to know if there was a command to check the HD in my linux machine similar to chkdsk. I think my HD is failing. The computer was off a month or so ago, and I assumed power supply, so I switched that out for another one I had around. Today, my computer was off again. After hitting the power button repeatedly, it came back on. I decided to back up everything, and heard a lot of clicking as it was loading. It turned on, and I was unable to zip up some archives and save it direct to that hd.. kept timing out or giving me errors.
Now I'm zipping up to my windows machine and it's working. I'm running Samba, and have the linux machine mapped as my Z Drive. Can I just run chkdsk z: from my windows machine, or do I need to run a Linux equivalent command from the linux machine?
Thanks. |
you can use fsck on anything pretty much.
be careful to first unmount the partition before using fsck
as it will damage it otherwise.
you can use fsck via
shutdown -R -F
-F --> force fsck upon reboot
if you want to automatically invoke fsck upon reboot
on any partition mounted through /etc/fstab
thanks.
|

November 17th, 2008, 11:16 AM
|
|
Contributing User
|
|
Join Date: Nov 2008
Posts: 39
Time spent in forums: 15 h 32 m 28 sec
Reputation Power: 5
|
|
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|