xfs
[Top] [All Lists]

Re: XFS formatted partition is shown as 2TB but should be 3TB

To: "c.monty" <c.monty@xxxxxx>
Subject: Re: XFS formatted partition is shown as 2TB but should be 3TB
From: Matthias Schniedermeyer <ms@xxxxxxx>
Date: Sun, 14 Jul 2013 12:04:44 +0200
Cc: linux-xfs@xxxxxxxxxxx
Delivered-to: linux-xfs@xxxxxxxxxxx
In-reply-to: <1373788650050-35001.post@xxxxxxxxxxxxx>
References: <1373788650050-35001.post@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On 14.07.2013 00:57, c.monty wrote:
> Hi!
> 
> On my new HDD WD30EZRX I created a GPT partition table and formatted it with
> XFS.
> Then I put some data (approx. 2.4TB) on that new partition.
> 
> However, after restarting the system the disk is identified of size 2TB
> only.
> /knoppix@Microknoppix:~$ sudo fdisk -l
> Disk /dev/sda: 2000.4 GB, 2000421444608 bytes

Kernel reports the disc as 2TB.

...

k> 
> My understanding of the issue is:
> 1. The HDD is not identified correctly by the mainboard/Bios with 3TB. This

BIOS isn't important for Linux (in that case). It just has to boot 
Linux, after that BIOS is out of the picture (for storage).

> is confirmed by the hardware vendor of my mainboard "Gigabyte P35-DS4",
> means the limit is 2.2TB

P35 sounds too old for me. AFAIR older Intel-Hardware has a problem with 
the 2TiB Barrier.

For the 2TiB-Barrier you need a recent system, something younger than 
about 2-3 years. Most hardware older can't cope with discs bigger than 
2^32 sectors.
> 
> How can I recover the data?
> Should I simply create a new partition table either with gdisk or parted?
> Can I make a low-level copy using dd starting from sector 2048 until the end
> to another HDD WD30EZRX (that I have available) and then mount that
> partition?
> Or are there any other options?

Just plug it into a more recent system, it should "just work".




-- 

Matthias

<Prev in Thread] Current Thread [Next in Thread>