Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 16th, 2008, 11:07 AM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 5,091 hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 3 Months 2 Weeks 6 Days 21 h 52 m 20 sec
Reputation Power: 5048
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.

Reply With Quote
  #2  
Old November 17th, 2008, 12:38 AM
Ronix Ronix is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Location: Ukraine
Posts: 10 Ronix New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 4 h 7 m 15 sec
Reputation Power: 0
Send a message via ICQ to Ronix
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.

Reply With Quote
  #3  
Old November 17th, 2008, 02:14 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,235 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 14 h 27 m 16 sec
Reputation Power: 4445
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

Reply With Quote
  #4  
Old November 17th, 2008, 10:33 AM
albunix albunix is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Location: http://dedicatedhosting.navisite.com/
Posts: 18 albunix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #5  
Old November 17th, 2008, 11:16 AM
Lagniappe Lagniappe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Posts: 39 Lagniappe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 32 m 28 sec
Reputation Power: 5
Agreed, fsck is for the filesystem itself...

But if you think your hard disk is failing I'd also take a look at smartd (aka smartmontools), see :http://www.cyberciti.biz/tips/monit...ng-systems.html

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Equivalent to chkdsk for Windows..?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap