Results 1 to 9 of 9

Thread: harddrive bad block?

  1. #1
    winowman
    Guest

    harddrive bad block?

    Well.. I did a harddrive install everything was fine
    then one day I booted up and it said my partion is mounted read only and that it needs me to run a commanded to fix it. it wanted me to remount it read write ..

    I think I did that ok..

    then it wanted me to do a command to fix the harddive problem. it was like e2fc or something like that with -b 8139 or something like that it wanted me to try so I typed it in corectly (what ever the command was) -b the number they sujested /dev/hda1 (my device) although nothing happened .. I can access my files any othere way othere then booting from the cd and the cd is too slow...

    I wanna access my files again and boot from hd again is there anyone who can help me fix this.. maybe when I am in the cd. can I right click or run some command from a shell or something that will fix the boot block or errors on this drive ? without damaging the way it booted before.. not sure what happened although I know we had a few power outages the night before that might of done.. it.. any help appreatiated.. thanks in advance

  2. #2
    winowman
    Guest

    found out kinda what I was doing

    Well after going to http://www.icon.co.za/~psheer/book/n...00000000000000

    i learned the command I was typing was e2fsck.

  3. #3
    winowman
    Guest

    k still not sure

    Ok, heres a update...

    I read that if I am not sure I should just run this...
    fsck -a -t ext2 /dev/hda1
    So I did and well this is what it got me.. not too sure what to do now?! anyone

    --------------
    root@ttyp1[knoppix]# fsck -a -t ext2 /dev/hda1
    fsck 1.30-WIP (30-Sep-2002)
    /dev/hda1 was not cleanly unmounted, check forced.
    /dev/hda1: Entry 'log' in /dev (130305) has deleted/unused inode 132176. CLEARED.
    /dev/hda1: Optimizing directories: 130305
    /dev/hda1: Unattached inode 130307


    /dev/hda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
    (i.e., without -a or -p options)..
    root@ttyp1[knoppix]#
    ------------------------

    ok dokie it does nothing when just type in fsck

    well it gives me
    -----
    root@ttyp1[knoppix]# fsck
    fsck 1.30-WIP (30-Sep-2002)
    root@ttyp1[knoppix]#
    -------------

    Tottaly lost...

    I just want some command to fix it so I can go back to linux .. I love this thing

  4. #4
    winowman
    Guest

    update

    ok here is what i figured out
    I typed e2fsck /dev/hda1 (I gathere this is what they ment by manual type in fsck.
    it scaned files and dirs and stuff did alot of
    ---------
    Unattached inode 132139
    Connect to /lost+found<y>? yes

    Inode 132139 ref count is 2, should be 1. Fix<y>? yes

    Unattached inode 132147
    Connect to /lost+found<y>? yes

    Inode 132147 ref count is 2, should be 1. Fix<y>? yes

    Unattached inode 132148
    Connect to /lost+found<y>? yes
    -------------------------
    I just kept entering to the standard <y> (yes by pressing enter to all!)

    then I got
    ---------------------
    Pass 5: Checking group summary information





    Block bitmap differences: -262731
    Fix<y>? yes

    Free blocks count wrong for group #8 (15667, counted=1566.
    Fix<y>? yes

    Free blocks count wrong (234069, counted=234070).
    Fix<y>? yes


    /dev/hda1: ***** FILE SYSTEM WAS MODIFIED *****
    /dev/hda1: 128692/390912 files (0.1% non-contiguous), 547082/781152 blocks
    root@ttyp1[knoppix]#
    ----------------

    SO now I attempt to reboot and see if it works?!

    feel free if you seem to know what is going on here to make me feel alot better and tell me I am doing fine or point me in the right direction..

    I feel like I am talking to a wall and begging for help..

  5. #5
    winoman
    Guest

    nop no go

    Nope.. same thing..

    ok well here is what it says

    it tells me that it can load the superblock

    and it wants me to mount the device hda1 read write.. and run
    e2fsck -b 8193 <device>

    I do that and it tells me the same thing

    I typed in e2fsck -b 8193 /dev/hda1

    and it tells me it can access the super block

    is there othere numbers I can put in instead of 8193 ??

    HELP?!

    its great I can still access my work but I wanna login and run from hd not slow cd...

  6. #6
    winoman
    Guest

    please?

    Anyone know how to fix this?

    ugh...

  7. #7
    winoman
    Guest

    reloaded

    I reloaded.. but if I get anouther power outage.. is this the way linux is.. should I be running fat32 .. cause it seems to recover better then a ext2 if this is the case linux can't be this unstable..

    how do I mark the parts of my drive so it does not use the bad parts?!

  8. #8
    winowman
    Guest

    Again!! it does it!

    In my slack box it would recover from a simple power outtage.

    I reloaded .. apt-get updated .. tweeked.. was ready to go.. rebooted a few times everything was yadda yadda

    now all I did to test .. was reboot..

    and again it could not recover.. is does fsck have a bug in it.. where do I go to check this?

  9. #9
    Junior Member registered user
    Join Date
    Nov 2002
    Posts
    22

    Same Problem!!!

    I had the same problem! I thought it was something I did to my fstab file but I was locked out the same as you more than once. I used xcdroast to save important stuff(after booting in with the cd) and just did a reinstall. I love how fast knoppix goes in! But truthfully for the time being I am using Redhat 8 because I had guests for the Holidays and RH seems pretty much the most stable distro I have used of late. When they leave I'll play some more and hopefully knoppix will continue to stableize.

    Happy New Year!!!!

Similar Threads

  1. XP Block: Sys files in the way.
    By Facteur in forum Hdd Install / Debian / Apt
    Replies: 12
    Last Post: 05-11-2005, 06:09 PM
  2. fd0 not a valid block device!!
    By smeadows in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 07-23-2004, 03:15 AM
  3. block size error
    By KChris in forum General Support
    Replies: 1
    Last Post: 10-11-2003, 01:47 PM
  4. Where did my USB 2.0 Harddrive Go?
    By Isaacav2 in forum General Support
    Replies: 6
    Last Post: 06-26-2003, 10:38 PM
  5. incorrect block size
    By grungy in forum General Support
    Replies: 2
    Last Post: 04-30-2003, 06:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1599.99



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$225.00



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$375.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU picture

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU

$999.99



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$110.30



IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1) picture

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)

$150.00



IBM 02CL197 FLASH SYSTEM 840-900 LITHIUM ION SERVER BATTERY MODULE 990854 picture

IBM 02CL197 FLASH SYSTEM 840-900 LITHIUM ION SERVER BATTERY MODULE 990854

$225.00



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



Rare Vintage IBM 93ZZ PowerPC Server Board - MCM Ceramic CPU - 40N1844 - 1.1 lbs picture

Rare Vintage IBM 93ZZ PowerPC Server Board - MCM Ceramic CPU - 40N1844 - 1.1 lbs

$54.99