Results 1 to 4 of 4

Thread: unable to mount home partition

  1. #1
    Join Date
    Feb 2014
    Location
    Sympathy With Ukraine
    Posts
    8

    Default unable to mount home partition

    after many power cuts and restarts, i'm unable to mount home partation any more,
    i tryed to boot from the live image and mount the partation but get the following error:

    Code:
    linux:/home/linux # mount /dev/sda10 /my_home
    mount: wrong fs type, bad option, bad superblock on /dev/sda10,
           missing codepage or helper program, or other error
    
           In some cases useful info is found in syslog - try
           dmesg | tail or so.
    
    linux:/home/linux # dmesg | tail
    [  171.926732] EXT4-fs (sda9): 553 orphan inodes deleted
    [  171.926736] EXT4-fs (sda9): recovery complete
    [  172.030347] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
    [  174.173055] EXT4-fs (sda10): ext4_check_descriptors: Checksum for group 0 failed (47339!=0)
    [  174.173060] EXT4-fs (sda10): group descriptors corrupted!
    [  335.714140] EXT4-fs (sda10): ext4_check_descriptors: Checksum for group 0 failed (47339!=0)
    [  335.714146] EXT4-fs (sda10): group descriptors corrupted!
    [  366.817104] EXT4-fs (sda10): ext4_check_descriptors: Checksum for group 0 failed (47339!=0)
    [  366.817109] EXT4-fs (sda10): group descriptors corrupted!
    [  712.330072] perf samples too long (2502 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
    i tryed to use fsck to check the partation file system and i got :
    Code:
    linux:/home/linux # fsck /dev/sda10
    fsck from util-linux 2.23.2
    e2fsck 1.42.8 (20-Jun-2013)
    ext2fs_check_desc: Corrupt group descriptor: bad block for block bitmap
    fsck.ext4: Group descriptors look bad... trying backup blocks...
    fsck.ext4: e2fsck_read_bitmaps: illegal bitmap block(s) for /dev/sda10
    
    /dev/sda10: ***** FILE SYSTEM WAS MODIFIED *****
    gparted:
    GParted 0.16.2

    Libparted 2.4
    Check and repair file system (ext4) on /dev/sda10 00:00:00 ( ERROR )

    calibrate /dev/sda10 00:00:00 ( SUCCESS )

    path: /dev/sda10
    start: 206356480
    end: 266227711
    size: 59871232 (28.55 GiB)
    check file system on /dev/sda10 for errors and (if possible) fix them 00:00:00 ( ERROR )

    e2fsck -f -y -v -C 0 /dev/sda10

    ext2fs_check_desc: Corrupt group descriptor: bad block for block bitmap
    e2fsck: Group descriptors look bad... trying backup blocks...

    /dev/sda10: ***** FILE SYSTEM WAS MODIFIED *****
    e2fsck 1.42.8 (20-Jun-2013)
    e2fsck: e2fsck_read_bitmaps: illegal bitmap block(s) for /dev/sda10
    now i intended to format the partation any way but i need 3 text files stored on it so i desprite need to recover the partation

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: unable to mount home partition

    On 2014-03-19 20:36, bedo wrote:
    >
    > after many power cuts and restarts, i'm unable to mount home partation
    > any more,


    You will have to invest on an UPS.


    > now i intended to format the partation any way but i need 3 text files
    > stored on it so i desprite need to recover the partation


    photorec/testdisk

    foremost http://foremost.sourceforge.net/
    http://en.wikipedia.org/wiki/Foremost_(software)

    Foremost is a forensic data recovery program for Linux
    used to recover files using their headers, footers, and data structures
    through a process known as file carving.[3] Although written for law
    enforcement use, it is freely available and can be used as a general
    data recovery tool.[2]

    ext4magic There is also some commercial software, apparently.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,788

    Default Re: unable to mount home partition

    If fsck can not repair it, the file system is broken.

    Better create a new file system in the partition and restore your data from your backup.
    Henk van Velden

  4. #4
    Join Date
    Feb 2014
    Location
    Sympathy With Ukraine
    Posts
    8

    Default Re: unable to mount home partition

    Quote Originally Posted by hcvv View Post
    If fsck can not repair it, the file system is broken.

    Better create a new file system in the partition and restore your data from your backup.
    no up-to date backups, but i was able to recover the files using an app called PhotoRec http://www.cgsecurity.org/wiki/PhotoRec
    it was pretty light and quick..

    thats solves my problem, many thanks

Posting Permissions

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