LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-13-2008, 07:23 PM   #1
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Rep: Reputation: 15
Frequent fsck? Impending hard drive failure or is my install procedure flawed.


Almost everytime I boot Asus g2k-a1 with a well used (maybe previously abused?) HTS5410809SA00 drive, fsck fails exit status 4 normally.
Is my HD getting toasted or could it still have a virus from the banished M$ XPro days?

Have run MHDD {Full Erase; from sector 0 to 156037621} numerous times to wipe the SATA drive, btw dban fails to run!
I set-up all the partition for multi-boot with Gparted, then reformat / [again as ext3] & swap each time just to make sure the distro loads & installer is happy.
Am sharing /home, each distro user is name of the distro so I can see All distros I have already installed on the particular sda#. I use webmail.

Get problem even with normal restarts; Kubuntu 8.1, Mandriva, Mepis 8 b6, Mint, Fedora10, most of time have to run a manual fsck on / partition!
NOT experiencing fsck on oSuSE boots that I recall (??)

All messages on booting & shutdown appear normal to me; OK, or done. Any failures or skipped=As expected for my hardware configuration!

Last edited by digital8doug; 12-16-2008 at 01:20 PM. Reason: LIST DISTRO AM EXPERIENCING PROBLEMS WITH ON NORMAL BOOTING
 
Old 12-13-2008, 08:15 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
1. Filesystem type?
2. Use smartctl with different options to test your drive (use live CD for that). Post output

3. Check Bios settings

SATA ?

Sharing /home will cause all types of problems
 
Old 12-13-2008, 08:23 PM   #3
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,548

Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by digital8doug View Post

Almost everytime I boot Asus g2k-a1 with a well used (maybe previously abused?) HTS5410809SA00 drive ,fsck fails exit status 4 normally.
Why is fsck running every time you boot? Watch your shutdowns closely. Are your partitions being closed down cleanly? If not what is happening in shutdown where they are not shutting down cleanly?

Another thing to check is how often you have told fsck to run. Use the tune2fs command (as root) to display how often fsck is supposed to be run during normal usage. The command is:

tune2fs -l /dev/hda1

or whatever partition you are having problems with. Check these parameters:

mount count:
maximum mount count:
last checked:
check interval:

See:
man tune2fs

---------------------
Steve Stites
 
Old 12-14-2008, 01:44 AM   #4
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Question ext3, Hitachi Travelstar 5K100 series SATA 5400 rpm, no BIOS that appears to apply

For practice I ran smartctl [No errors] on different machine, but unable to Ctrl copy &/or paste the output
Quote:
Originally Posted by amani View Post
1. Filesystem type? 2. Use smartctl with different options to test your drive (use live CD for that). Post output
3. Check Bios settings?
short condensed version smartctl

SMART over=all health assessment test result=PASSED

Error # occurred at disk power-on lifetime: 831 hours 34 days + 15 hours.
#'s 181, 182, 183, 184, 185
ER 40 ST 51, SC Od, SN c2, CL d9, CH 2b, DH e1
UNC @ LBA =0x012bd9c2 = 19651010

All BIOS appears OK to me, HD set as 1st boot, is only SATA HD on my Laptop
Quote:
Sharing /home will cause all types of problems
Would explain, but main / partitions are checked more often than I can screw up /home. Each distro is in effect a separate folder on that partition

As far as I can tell shutdowns are normal, what exactly should i look for??
Will run tune2fs, but my counts seemed off as /home was indicated to have been mounted 40 times, but was really only maybe 10 total boots on the laptop at that point since erasing HD [mhdd] & re-installing 3 distros.

Last edited by digital8doug; 12-14-2008 at 06:19 PM. Reason: POST A short condensed version of smartctl OUTPUT
 
Old 12-14-2008, 06:33 PM   #5
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Exclamation Live CD tune2fs -l /dev/sda# with count results & check interval. ? low level format

Quote:
Originally Posted by jailbait View Post
Why is fsck running every time you boot?
My question exactly as / (for Kubuntu8.1, Mepis8b5 & Fedora10} sometimes the /home partition would require fsck before I could boot {THE METHOD DURING /BEFORE BOOTING COMPLETES {automatic File System check?? disabled by tune2fs?}
Quote:
Watch your shutdowns closely. Are your partitions being closed down cleanly? If not what is happening in shutdown where they are not shutting down cleanly?
See above post (#3)

Quote:
Another thing to check is how often you have told fsck to run. Use the tune2fs command (as root) to display how often fsck is supposed to be run during normal usage. The command is:

tune2fs -l /dev/hda1
or whatever partition you are having problems with. Check these parameters:
Using LiveCD, on an unused partition (formatted w/ Gparted, nothing installed yet)
mount count: 16
maximum mount count: 25
last checked: Mon Dec 1 19:35:06 2008
check interval: 15552000 ( 6 months)
On partition I know had problems 2, 35, Mon Dec 8 18:01:06 2008
another one 5, -1 Check interval 0 (<none>)
[/quote]
NOTE: All Hitachi Drive Fitness tests (Quick, Advanced, Excerciser)= Operation completed successfully Disposition Code 0x00 {repeatedly}

* Q Should I try a low level format of the HD (vs mhdd Full erase?) ?*
and then re-install latest releases of my favorite GNU/Linux distros

Last edited by digital8doug; 12-15-2008 at 08:18 PM. Reason: CLARIFY AM USING LIVE CD (OR THE METHOD DURING /BEFORE BOOTING COMPLETES {automatic File System check???}
 
Old 12-14-2008, 09:47 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,270
Blog Entries: 3

Rep: Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445Reputation: 1445
Hi,

You are running 'fsck' as a single user? You can use a LiveCD or your install cd to run the 'fsck' on a unmounted filesystem. That way no user but you will have access to the filesystem.
 
Old 01-29-2009, 04:42 PM   #7
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Exclamation Changing Disk Label Type appears to have solved the frequent fsck

After I formatted drive as 'gpt' vs 'ms-dos' the frequent fsck seems to have quit. Drive was restored to 'ms-dos' to load public beta test of Windows 7, and GNU/Linux distros were reinstalled. Not sure why this would solve problem ?
 
  


Reply

Tags
fsck, hardware


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
Hard drive; file system error; fsck failure linubex Mandriva 16 07-24-2006 08:50 PM
Hard Drive upgrade - proper procedure for backup? cwa107 Linux - Newbie 2 06-22-2006 08:13 AM
hard drive mount procedure toadbark Suse/Novell 3 02-04-2006 01:57 PM
fsck and lost hard drive space LinuxGeek Linux - Software 1 07-19-2005 08:17 PM
Linux Hard Drive Recovery Procedure. DarkestHour Linux - Software 3 11-27-2004 09:20 PM


All times are GMT -5. The time now is 11:08 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration