Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Hard Drive Problem / Parted [ debian 7 ]
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Hard Drive Problem / Parted [ debian 7 ]

dnwkdnwk Member
edited August 2014 in Help

When I reboot my server, one of my fakeraid RAID 1 cannot be loaded.
So I dig in:
I was not able to mount /dev/mapper/isw_chcgejcdfg_Volume0p1 because it says device missing. But here are some information. How do I recover my partition ?

fdisk -l

Disk /dev/mapper/isw_chcgejcdfg_Volume0: 1000.2 GB, 1000202178560 bytes
255 heads, 63 sectors/track, 121600 cylinders, total 1953519880 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/mapper/isw_chcgejcdfg_Volume0p1 1 1953519879 976759939+ ee GPT
Partition 1 does not start on physical sector boundary.

parted /dev/mapper/isw_chcgejcdfg_Volume0 print

Model: Linux device-mapper (mirror) (dm)
Disk /dev/mapper/isw_chcgejcdfg_Volume0: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number Start End Size File system Name Flags
1 17.4kB 1000GB 1000GB ext4

fsck /dev/mapper/isw_chcgejcdfg_Volume0
fsck from util-linux 2.20.1
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/mapper/isw
chcgejcdfg_Volume0

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193

TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER grenier@cgsecurity.org
http://www.cgsecurity.org
Please wait...

Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512

Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512

Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512

Disk /dev/mapper/isw_chcgejcdfg_Volume0 - 1000 GB / 931 GiB - CHS 1953519880 1 1
, sector size=512

Disk /dev/mapper/pve-data - 863 GB / 804 GiB - CHS 1686142976 1 1, sector size=5
12

Disk /dev/mapper/pve-root - 103 GB / 96 GiB - CHS 201326592 1 1, sector size=512

Disk /dev/mapper/pve-swap - 16 GB / 15 GiB - CHS 31457280 1 1, sector size=512

Disk /dev/dm-0 - 103 GB / 96 GiB - CHS 201326592 1 1, sector size=512

Disk /dev/dm-1 - 1000 GB / 931 GiB - CHS 1953519880 1 1, sector size=512

Disk /dev/dm-2 - 16 GB / 15 GiB - CHS 31457280 1 1, sector size=512

Disk /dev/dm-3 - 863 GB / 804 GiB - CHS 1686142976 1 1, sector size=512

Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63

 Partition                  Start        End    Size in sectors

1 P Unknown 2048 4095 2048 [primary]

2 P EFI System 4096 1048575 1044480 [primary]

3 P Linux LVM 1048576 1953523711 1952475136 [primary]

Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63

 Partition                  Start        End    Size in sectors

1 P MS Data 34 1953519846 1953519813

Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63

 Partition                  Start        End    Size in sectors

1 P MS Data 34 1953519846 1953519813

Disk /dev/mapper/isw_chcgejcdfg_Volume0 - 1000 GB / 931 GiB - CHS 1953519880 1 1

 Partition                  Start        End    Size in sectors

1 P MS Data 34 1953519846 1953519813

Disk /dev/mapper/pve-data - 863 GB / 804 GiB - CHS 1686142976 1 1

 Partition                  Start        End    Size in sectors

P ext3 0 1686142975 1686142976

Disk /dev/mapper/pve-root - 103 GB / 96 GiB - CHS 201326592 1 1

 Partition                  Start        End    Size in sectors

P ext3 0 201326591 201326592

Disk /dev/mapper/pve-swap - 16 GB / 15 GiB - CHS 31457280 1 1

 Partition                  Start        End    Size in sectors

P Linux SWAP 2 0 31457279 31457280

Disk /dev/dm-0 - 103 GB / 96 GiB - CHS 201326592 1 1

 Partition                  Start        End    Size in sectors

P ext3 0 201326591 201326592

Disk /dev/dm-1 - 1000 GB / 931 GiB - CHS 1953519880 1 1

 Partition                  Start        End    Size in sectors

1 P MS Data 34 1953519846 1953519813

Disk /dev/dm-2 - 16 GB / 15 GiB - CHS 31457280 1 1

 Partition                  Start        End    Size in sectors

P Linux SWAP 2 0 31457279 31457280

Disk /dev/dm-3 - 863 GB / 804 GiB - CHS 1686142976 1 1

 Partition                  Start        End    Size in sectors

P ext3 0 1686142975 1686142976

Comments

  • netomxnetomx Moderator, Veteran

    testdisk ?

  • dnwkdnwk Member

    @netomx said:
    testdisk ?

    what's testdisk

  • dnwkdnwk Member

    TestDisk 6.13, Data Recovery Utility, November 2011
    Christophe GRENIER grenier@cgsecurity.org
    http://www.cgsecurity.org
    Please wait...
    Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
    Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
    Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
    Disk /dev/mapper/isw_chcgejcdfg_Volume0 - 1000 GB / 931 GiB - CHS 1953519880 1 1
    , sector size=512
    Disk /dev/mapper/pve-data - 863 GB / 804 GiB - CHS 1686142976 1 1, sector size=5
    12
    Disk /dev/mapper/pve-root - 103 GB / 96 GiB - CHS 201326592 1 1, sector size=512
    Disk /dev/mapper/pve-swap - 16 GB / 15 GiB - CHS 31457280 1 1, sector size=512
    Disk /dev/dm-0 - 103 GB / 96 GiB - CHS 201326592 1 1, sector size=512
    Disk /dev/dm-1 - 1000 GB / 931 GiB - CHS 1953519880 1 1, sector size=512
    Disk /dev/dm-2 - 16 GB / 15 GiB - CHS 31457280 1 1, sector size=512
    Disk /dev/dm-3 - 863 GB / 804 GiB - CHS 1686142976 1 1, sector size=512

    Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63
    Partition Start End Size in sectors
    1 P Unknown 2048 4095 2048 [primary]
    2 P EFI System 4096 1048575 1044480 [primary]
    3 P Linux LVM 1048576 1953523711 1952475136 [primary]
    Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
    Partition Start End Size in sectors
    1 P MS Data 34 1953519846 1953519813
    Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63
    Partition Start End Size in sectors
    1 P MS Data 34 1953519846 1953519813
    Disk /dev/mapper/isw_chcgejcdfg_Volume0 - 1000 GB / 931 GiB - CHS 1953519880 1 1
    Partition Start End Size in sectors
    1 P MS Data 34 1953519846 1953519813
    Disk /dev/mapper/pve-data - 863 GB / 804 GiB - CHS 1686142976 1 1
    Partition Start End Size in sectors
    P ext3 0 1686142975 1686142976
    Disk /dev/mapper/pve-root - 103 GB / 96 GiB - CHS 201326592 1 1
    Partition Start End Size in sectors
    P ext3 0 201326591 201326592
    Disk /dev/mapper/pve-swap - 16 GB / 15 GiB - CHS 31457280 1 1
    Partition Start End Size in sectors
    P Linux SWAP 2 0 31457279 31457280
    Disk /dev/dm-0 - 103 GB / 96 GiB - CHS 201326592 1 1
    Partition Start End Size in sectors
    P ext3 0 201326591 201326592
    Disk /dev/dm-1 - 1000 GB / 931 GiB - CHS 1953519880 1 1
    Partition Start End Size in sectors
    1 P MS Data 34 1953519846 1953519813
    Disk /dev/dm-2 - 16 GB / 15 GiB - CHS 31457280 1 1
    Partition Start End Size in sectors
    P Linux SWAP 2 0 31457279 31457280
    Disk /dev/dm-3 - 863 GB / 804 GiB - CHS 1686142976 1 1
    Partition Start End Size in sectors
    P ext3 0 1686142975 1686142976
    root@kvm:~#

  • dnwkdnwk Member

    TestDisk 6.13, Data Recovery Utility, November 2011
    Christophe GRENIER grenier@cgsecurity.org
    http://www.cgsecurity.org
    Please wait...
    Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
    Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
    Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
    Disk /dev/mapper/isw_chcgejcdfg_Volume0 - 1000 GB / 931 GiB - CHS 1953519880 1 1
    , sector size=512
    Disk /dev/mapper/pve-data - 863 GB / 804 GiB - CHS 1686142976 1 1, sector size=5
    12
    Disk /dev/mapper/pve-root - 103 GB / 96 GiB - CHS 201326592 1 1, sector size=512
    Disk /dev/mapper/pve-swap - 16 GB / 15 GiB - CHS 31457280 1 1, sector size=512
    Disk /dev/dm-0 - 103 GB / 96 GiB - CHS 201326592 1 1, sector size=512
    Disk /dev/dm-1 - 1000 GB / 931 GiB - CHS 1953519880 1 1, sector size=512
    Disk /dev/dm-2 - 16 GB / 15 GiB - CHS 31457280 1 1, sector size=512
    Disk /dev/dm-3 - 863 GB / 804 GiB - CHS 1686142976 1 1, sector size=512

    Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63
    Partition Start End Size in sectors
    1 P Unknown 2048 4095 2048 [primary]
    2 P EFI System 4096 1048575 1044480 [primary]
    3 P Linux LVM 1048576 1953523711 1952475136 [primary]
    Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
    Partition Start End Size in sectors
    1 P MS Data 34 1953519846 1953519813
    Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63
    Partition Start End Size in sectors
    1 P MS Data 34 1953519846 1953519813
    Disk /dev/mapper/isw_chcgejcdfg_Volume0 - 1000 GB / 931 GiB - CHS 1953519880 1 1
    Partition Start End Size in sectors
    1 P MS Data 34 1953519846 1953519813
    Disk /dev/mapper/pve-data - 863 GB / 804 GiB - CHS 1686142976 1 1
    Partition Start End Size in sectors
    P ext3 0 1686142975 1686142976
    Disk /dev/mapper/pve-root - 103 GB / 96 GiB - CHS 201326592 1 1
    Partition Start End Size in sectors
    P ext3 0 201326591 201326592
    Disk /dev/mapper/pve-swap - 16 GB / 15 GiB - CHS 31457280 1 1
    Partition Start End Size in sectors
    P Linux SWAP 2 0 31457279 31457280
    Disk /dev/dm-0 - 103 GB / 96 GiB - CHS 201326592 1 1
    Partition Start End Size in sectors
    P ext3 0 201326591 201326592
    Disk /dev/dm-1 - 1000 GB / 931 GiB - CHS 1953519880 1 1
    Partition Start End Size in sectors
    1 P MS Data 34 1953519846 1953519813
    Disk /dev/dm-2 - 16 GB / 15 GiB - CHS 31457280 1 1
    Partition Start End Size in sectors
    P Linux SWAP 2 0 31457279 31457280
    Disk /dev/dm-3 - 863 GB / 804 GiB - CHS 1686142976 1 1
    Partition Start End Size in sectors
    P ext3 0 1686142975 1686142976
    root@kvm:~#

  • < PRE >

  • dnwkdnwk Member

    I updated original post

  • dnwkdnwk Member

    I ran a testdisk to scan the disk. I did not finished it. But suddenly, I can mount the partition. Not sure what happened.

  • dnwkdnwk Member

    how to properly configure fstab for gpt?

Sign In or Register to comment.