Code:
ubuntu@ubuntu:~$ sudo parted -l
Code:
Model: ATA HGST HTS721010A9 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 1000GB 1000GB primary ntfs boot
Error: Invalid argument during seek for read on /dev/sdb
Retry/Ignore/Cancel? Ignore
Error: The backup GPT table is corrupt, but the primary appears OK, so that will
be used.
OK/Cancel? OK
Backtrace has 8 calls on stack:
8: /lib/x86_64-linux-gnu/libparted.so.0(ped_assert+0x31) [0x7f7973ec54b1]
7: /lib/x86_64-linux-gnu/libparted.so.0(+0x3f5f6) [0x7f7973ef55f6]
6: /lib/x86_64-linux-gnu/libparted.so.0(ped_disk_new+0x49) [0x7f7973ecaf99]
5: parted() [0x406dff]
4: parted() [0x407bda]
3: parted(main+0x154b) [0x4065cb]
2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f79736a2ec5]
1: parted() [0x406617]
You found a bug in GNU Parted! Here's what you have to do:
Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:
Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:
http://ftp.gnu.org/gnu/parted/
Please check this version prior to bug reporting.
If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:
http://www.gnu.org/software/parted
for further information.
Your report should contain the version of this release (2.3)
along with the error message below, the output of
parted DEVICE unit co print unit s print
and the following history of commands you entered.
Also include any additional information about your setup you
consider important.
Assertion (last_usable <= disk->dev->length) at
../../../libparted/labels/gpt.c:994 in function _parse_header() failed.
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0x3fe97f02
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1953521663 976759808 7 HPFS/NTFS/exFAT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3fe97ee8
Device Boot Start End Blocks Id System
/dev/sdb1 1 750195455 375097727+ ee GPT
Disk /dev/sdc: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdd doesn't contain a valid partition table
WARNING: GPT (GUID Partition Table) detected on '/dev/mapper/isw_dedjjfehej_Volume1'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/mapper/isw_dedjjfehej_Volume1: 384.1 GB, 384100073472 bytes
255 heads, 63 sectors/track, 46697 cylinders, total 750195456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 49152 bytes
Disk identifier: 0x3fe97ee8
Device Boot Start End Blocks Id System
/dev/mapper/isw_dedjjfehej_Volume1p1 1 750195455 375097727+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/mapper/isw_dedjjfehej_Volume1p1: 314 MB, 314572800 bytes
255 heads, 63 sectors/track, 38 cylinders, total 614400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 49152 bytes
Disk identifier: 0x73736572
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/mapper/isw_dedjjfehej_Volume1p1p1 1920221984 3736432267 908105142 72 Unknown
/dev/mapper/isw_dedjjfehej_Volume1p1p2 ? 1936028192 3889681299 976826554 6c Unknown
/dev/mapper/isw_dedjjfehej_Volume1p1p3 ? 0 0 0 0 Empty
/dev/mapper/isw_dedjjfehej_Volume1p1p4 27722122 27722568 223+ 0 Empty
Partition 4 does not start on physical sector boundary.
Disk /dev/mapper/isw_dedjjfehej_Volume1p2: 272 MB, 272629760 bytes
255 heads, 63 sectors/track, 33 cylinders, total 532480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 49152 bytes
Disk identifier: 0x500a0dff
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/mapper/isw_dedjjfehej_Volume1p2p1 ? 1948285285 3650263507 850989111+ 6e Unknown
Partition 1 does not start on physical sector boundary.
/dev/mapper/isw_dedjjfehej_Volume1p2p2 ? 0 0 0 74 Unknown
/dev/mapper/isw_dedjjfehej_Volume1p2p4 28049408 28049848 220+ 0 Empty
Partition table entries are not in disk order
Disk /dev/mapper/isw_dedjjfehej_Volume1p3: 134 MB, 134217728 bytes
255 heads, 63 sectors/track, 16 cylinders, total 262144 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 49152 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/isw_dedjjfehej_Volume1p3 doesn't contain a valid partition table
Disk /dev/mapper/isw_dedjjfehej_Volume1p4: 184.2 GB, 184225366016 bytes
255 heads, 63 sectors/track, 22397 cylinders, total 359815168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 49152 bytes
Disk identifier: 0x73736572
This doesn't look like a partition table
well........... I'm screwed.
Bookmarks