The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Recover data from old hard drive

Discussion in 'Data Protection' started by 7Com, Aug 23, 2010.

  1. 7Com

    7Com Registered

    Joined:
    Sep 9, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi All,

    Need help from everyone...

    One of hard drive crash.


    fdisk -l /dev/sdc

    Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdc1 * 1 13 104391 83 Linux
    /dev/sdc2 14 13067 104856255 83 Linux
    /dev/sdc3 13068 15164 16844152+ 82 Linux swap / Solaris
    /dev/sdc4 15165 121601 854955202+ 5 Extended
    /dev/sdc5 15165 16439 10241406 83 Linux
    /dev/sdc6 16440 16961 4192933+ 83 Linux
    /dev/sdc7 16962 17222 2096451 83 Linux
    /dev/sdc8 17223 121601 838424286 83 Linux

    mount /dev/sdc5 oldHD/
    mount: wrong fs type, bad option, bad superblock on /dev/sdc5,
    missing codepage or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so


    tune2fs -l /dev/sdc8
    tune2fs 1.39 (29-May-2006)
    Filesystem volume name: /home
    Last mounted on: <not available>
    Filesystem UUID: 3a102909-f4d7-4cae-ae45-03a7549cbb55
    Filesystem magic number: 0xEF53
    Filesystem revision #: 1 (dynamic)
    Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
    Default mount options: user_xattr acl
    Filesystem state: clean
    Errors behavior: Continue
    Filesystem OS type: Linux
    Inode count: 209616896
    Block count: 209606071
    Reserved block count: 10480303
    Free blocks: 132859680
    Free inodes: 204186837
    First block: 0
    Block size: 4096
    Fragment size: 4096
    Reserved GDT blocks: 974
    Blocks per group: 32768
    Fragments per group: 32768
    Inodes per group: 32768
    Inode blocks per group: 1024
    Filesystem created: Fri Nov 21 23:18:13 2008
    Last mount time: Tue Jun 8 09:54:32 2010
    Last write time: Tue Jun 8 09:54:32 2010
    Mount count: 22
    Maximum mount count: -1
    Last checked: Fri Nov 21 23:18:13 2008
    Check interval: 0 (<none>)
    Reserved blocks uid: 0 (user root)
    Reserved blocks gid: 0 (group root)
    First inode: 11
    Inode size: 128
    Journal inode: 8
    Default directory hash: tea
    Directory Hash Seed: ccdf88d5-7806-42c6-abcb-b8eb574d601f
    Journal backup: inode blocks

    dmesg

    ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
    ata2.01: BMDMA stat 0x4
    ata2.01: cmd c8/00:08:fb:63:85/00:00:00:00:00/fe tag 0 dma 4096 in
    res 51/40:00:fb:63:85/00:00:00:00:00/fe Emask 0x9 (media error)
    ata2.01: status: { DRDY ERR }
    ata2.01: error: { UNC }
    ata2.00: configured for UDMA/133
    ata2.01: configured for UDMA/133
    ata2: EH complete


    Need to mount and rsync, but still fail to mount.

    Please help, i'll reward for solve answer.

    Thanks,
     
    #1 7Com, Aug 23, 2010
    Last edited: Aug 23, 2010
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    might just be a typo but it should be
    mount /dev/sdc5 /oldHD

    or
    run a fsck on the bad hd

    fsck -y /dev/sdc5
    or force it
    fsck -f /dev/sdc5
     
    #2 dalem, Aug 23, 2010
    Last edited: Aug 23, 2010
Loading...

Share This Page