All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jay Ashworth <jra@baylink.com>
To: xfs@oss.sgi.com
Subject: Re: XFS errors on 3TB HDD that is identified of size 2TB only
Date: Mon, 15 Jul 2013 19:59:37 -0400 (EDT)	[thread overview]
Message-ID: <11399340.1426.1373932777053.JavaMail.root@benjamin.baylink.com> (raw)
In-Reply-To: <20130715231145.GA5738@citd.de>

----- Original Message -----
> From: "Matthias Schniedermeyer" <ms@citd.de>

> > Stop! Wait a minute! Stop it, boy!
> >
> > (Sorry; Meat Loaf flashback. :-)
> >
> > You're looking at that partition table with fdisk, *which doesn't
> > understand
> > GPT partition tables*; it's amazing it didn't complain louder.
> 
> It does. At least the version i got does:
> 
> ...
> WARNING: The size of this disk is 3.0 TB (3000592982016 bytes).
> DOS partition table format can not be used on drives for volumes
> larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1)
> and GUID partition table format (GPT).
> ...

You're reading it wrong.  That's the fdisk which you tell me understands
GPT tables *telling you it does not*.

> And that's not even the most recent version:
> fdisk -v
> fdisk (util-linux 2.20.1)
> 
> But in the OP-Case the kernel appeared to reported the disc as 2TB,
> which could be seen in the fdisk output.

fdisk is not guaranteed to be using a long enough variable there to be
able to report the drive size correctly.

TTBOMK, *nothing* other than parted presently knows how to create
and modify GPT partition tables.

Except, apparently, for a program with the *singularly* poorly chosen 
name of "GPT Fdisk":

  http://sourceforge.net/projects/gptfdisk/

I know, that sounds like a *really good* name.  I've been doing tech 
support for 30 years; trust me, it's about the worst imaginable name. :-}

Cheers,
-- jra
-- 
Jay R. Ashworth                  Baylink                       jra@baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com         2000 Land Rover DII
St Petersburg FL USA               #natog                      +1 727 647 1274

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2013-07-15 23:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-14  8:05 XFS errors on 3TB HDD that is identified of size 2TB only Thomas Schneider
2013-07-14 15:51 ` Jay Ashworth
2013-07-15 23:11   ` Matthias Schniedermeyer
2013-07-15 23:59     ` Jay Ashworth [this message]
2013-07-16  5:10       ` Arkadiusz Miśkiewicz
2013-07-17  1:36         ` Jay Ashworth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11399340.1426.1373932777053.JavaMail.root@benjamin.baylink.com \
    --to=jra@baylink.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.