LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2016, 11:36 PM   #1
sneddy1984
LQ Newbie
 
Registered: Apr 2016
Posts: 1

Rep: Reputation: Disabled
Partition reporting incorrect size (I think)


I know just enough about Linux to mess things up, so apologies in advance. I have tried looking at some of the other threads similar to this, but none of the answers seem to help. I have a 4TB Seagate Central drive that I need to get data off, but I am unable to, hoping you can help.

Here is what I have tried so far
pc1@PC1:/$ sudo parted -l
Code:
    Model: ATA Hitachi HDS72101 (scsi)
    Disk /dev/sda: 1000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start   End     Size    Type      File system  Flags
     1      1049kB  256MB   255MB   primary   ext2         boot
     2      257MB   1000GB  1000GB  extended
     5      257MB   1000GB  1000GB  logical                lvm
    
    
    Error: Both the primary and backup GPT tables are corrupt.  Try making a fresh
    table, and using Parted's rescue feature to recover partitions.
    
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/ubuntu--vg-swap_1: 4249MB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    
    Number  Start  End     Size    File system     Flags
     1      0.00B  4249MB  4249MB  linux-swap(v1)
    
    
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/ubuntu--vg-root: 996GB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    
    Number  Start  End    Size   File system  Flags
     1      0.00B  996GB  996GB  ext4

pc1@PC1:/$ sudo gdisk /dev/sdb
Code:
    GPT fdisk (gdisk) version 0.8.8
    
    Caution: invalid backup GPT header, but valid main header; regenerating
    backup header from main header.
    
    Caution! After loading partitions, the CRC doesn't check out!
    Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
    on the recovery & transformation menu to examine the two tables.
    
    Warning! One or more CRCs don't match. You should repair the disk!
    
    Partition table scan:
      MBR: protective
      BSD: not present
      APM: not present
      GPT: damaged
    
    ****************************************************************************
    Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
    verification and recovery are STRONGLY recommended.
    ****************************************************************************
    
    Warning! Secondary partition table overlaps the last partition by
    3472328288413643170 blocks!
    You will need to delete this partition or resize it in another utility.
Command (? for help): i
Partition number (1-128): 8
Code:
Partition GUID code: E6D6D379-F507-44C2-A23C-238F2A3DF928 (Linux LVM)
    Partition unique GUID: B05189FC-488F-4DED-97F7-0C5E644CF129
    First sector: 10569728 (at 5.0 GiB)
    Last sector: 7814037134 (at 3.6 TiB)
    Partition size: 7803467407 sectors (3.6 TiB)
    Attribute flags: 0000000000000000
    Partition name: 'Data'
Command (? for help): v
Code:
Problem: partition 119 is too big for the disk.
    
    Problem: partition 120 is too big for the disk.
    
    Problem: partition 121 is too big for the disk.
    
    Problem: partition 122 is too big for the disk.
    
    Problem: partition 123 is too big for the disk.
    
    Problem: partition 124 is too big for the disk.
    
    Problem: partition 125 is too big for the disk.
    
    Problem: partition 126 is too big for the disk.
    
    Problem: partition 127 is too big for the disk.
    
    Problem: partition 128 is too big for the disk.
    
    Warning! Secondary partition table overlaps the last partition by
    3472328288413643170 blocks!
    You will need to delete this partition or resize it in another utility.
    
    Identified 4281 problems!
sudo fixparts /dev/sdb
Code:
    (parted) check 8
    
    Error: Both the primary and backup GPT tables are corrupt.  Try making a fresh
    table, and using Parted's rescue feature to recover partitions.
(parted) rescue start
Code:
                                                    
    Error: Both the primary and backup GPT tables are corrupt.  Try making a fresh
    table, and using Parted's rescue feature to recover partitions.
So this is as far as I can get...which is just far enough for it to keep telling me what is wrong and what to do to fix it, I just don't know how to go about that - it actually seems like it isn't that hard, but I don't want to mess around with it any more at this point b/c I don't know what I am doing. I've checked out the info here -->http://www.rodsbooks.com/gdisk/repairing.html but don't understand it enough to proceed with confidence - HELP! :-)
 
Old 04-09-2016, 06:23 PM   #2
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Rep: Reputation: 29
is it just a drive in your computer or connected via usb? has it got linux installed on it?
 
Old 04-10-2016, 06:48 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
I think you have an old SCSI controller that has a limit of 1TB.

I have a slightly newer one, but it reports 3TB drives as 2TB.

This is what to expect when you partition a disk on the newer ones and then plug them in on an older one with a smaller size limit.

If you have an available SATA port, try it on that instead. I've migrated all my larger disks to SATA controllers, and only have small disks (in my case, two 500GB disks) on the SAS controller.

Last edited by jpollard; 04-10-2016 at 06:51 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] repquota reporting incorrect values? Griever92 Linux - Server 1 11-14-2012 03:48 AM
kcore reporting incorrect size magiconexxx Linux - Software 3 04-04-2007 10:47 PM
Hard Drive Size incorrect/Wont partition kitek Linux - Newbie 16 03-24-2007 02:22 PM
Restored backup, now new root partition reporting wrong size. wackman Linux - Software 6 05-28-2005 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration