Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bad sector woes :S

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
kevingpo



Joined: Sun Jun 26, 2005 11:25 pm
Posts: 8

PostPosted: Tue Jul 05, 2005 3:49 pm    Post subject: Bad sector woes :S Reply with quote

Dear all

I recently dropped my laptop from about chair/seat height. It hit the floor on it's side. Worried I quickly did scandisk and left it. When I came back it had already booted into linux and I forgot about the issue.

Q. How does one look back at previous or recent scandisk logs?

Today when I booted my laptop I noticed the performance very sluggish and not normal. I began to worry about my harddrive issue.

The results of scandisk partition was:

44765122 KB total disk space.
26495516 KB in 3332 files.
1788 KB in 518 indexes.
4 KB in bad sectors.
94818 KB in use by the system.
65536 KB occupied by the log file.
18172996 KB available on disk.

4096 bytes in each allocation unit.
11191280 total allocation units on disk.
4543249 allocation units available on disk.
Windows has finished checking the disk.

-------------------

Woah! 4KB in bad sectors. I guess the 4KB is unrecoverable. I wonder what files were sitting on top of those bad sectors.
Back to top
View user's profile Send private message
kevingpo



Joined: Sun Jun 26, 2005 11:25 pm
Posts: 8

PostPosted: Tue Jul 05, 2005 4:02 pm    Post subject: RE: Bad sector woes :S Reply with quote

How can one upgrade his e2fsck easily? Is there a RPM?
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8449
Location: Warrington, UK

PostPosted: Tue Jul 05, 2005 4:41 pm    Post subject: RE: Bad sector woes :S Reply with quote

Use your distro's package manager, they all have options to check for and install updates.

You should also install and run smartmontools to perform a lower level diagnostic on the drive itself.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
kevingpo



Joined: Sun Jun 26, 2005 11:25 pm
Posts: 8

PostPosted: Tue Jul 05, 2005 10:53 pm    Post subject: Re: RE: Bad sector woes :S Reply with quote

nelz wrote:
Use your distro's package manager, they all have options to check for and install updates.

You should also install and run smartmontools to perform a lower level diagnostic on the drive itself.


I did a

yum update e2fsprogs e2fsprogs-devel file gnutils nfs-utils

(I think one of these packages has the e2fsck update).

I don't see smartmontools in my distro list of applications. But please do point me to a RPM or something...
Back to top
View user's profile Send private message
A-Wing
LXF regular


Joined: Tue Jul 05, 2005 8:25 pm
Posts: 460
Location: Wellingborough

PostPosted: Tue Jul 05, 2005 11:09 pm    Post subject: RE: Re: RE: Bad sector woes :S Reply with quote

I am assuming a version of RedHat or Fedora, please state distro version and I can point you to an rpm. Alternatively use the advanced search in the following site to search for one:

http://rpm.pbone.net/
_________________
Andrew Hutchings, Linux Jedi
www.a-wing.co.uk
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
kevingpo



Joined: Sun Jun 26, 2005 11:25 pm
Posts: 8

PostPosted: Tue Jul 05, 2005 11:09 pm    Post subject: RE: Re: RE: Bad sector woes :S Reply with quote

Also, is there any of these powerful unix utilities for scanning FAT32 or NTFS partitions?
Back to top
View user's profile Send private message
A-Wing
LXF regular


Joined: Tue Jul 05, 2005 8:25 pm
Posts: 460
Location: Wellingborough

PostPosted: Tue Jul 05, 2005 11:17 pm    Post subject: RE: Re: RE: Bad sector woes :S Reply with quote

fsck.vfat (just running fsck should call this) should work for your fat32 partitions. I'm not sure about NTFS, maybe ntfsprogs has a tool. If there is one it certainly won't be able to repair NTFS due to NTFS writing not being stable in Linux (mainly due to Microshaft not releasing full specs)
_________________
Andrew Hutchings, Linux Jedi
www.a-wing.co.uk
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast