From: Eric Sandeen <sandeen@sandeen.net>
To: Chris Hane <chrishane@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: XFS and 3.2TB Partition
Date: Thu, 31 Aug 2006 14:37:09 -0500 [thread overview]
Message-ID: <44F73A65.8050105@sandeen.net> (raw)
In-Reply-To: <44F714F2.7050502@gmail.com>
Chris Hane wrote:
> 2. PARTED
>
> I've tried to use parted without any success. Here is what I've tried
> and the errors I get.
>
> > parted
> parted> mklabel gpt
> parted> mkpart primary 0 3500GB
> parted> quit
>
> ok - the partition now exists. If I use ext2 everything works ok.
>
> however, when I run
>
> > mkfs.xfs /dev/sda1
>
> the file system is formated but is truncated to to 2TB.
I'd think parted should be able to handle large devices...
mkfs.xfs uses the BLKGETSIZE64 and BLKGETSIZE ioctls to determine device
size; you might either instrument xfsprogs/libxfs/linux.c and re-run, or
strace your mkfs command looking for those ioctl calls, to see what size
it's getting back from the kernel.
-Eric
next prev parent reply other threads:[~2006-08-31 19:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-31 16:57 XFS and 3.2TB Partition Chris Hane
2006-08-31 19:37 ` Eric Sandeen [this message]
2006-08-31 20:41 ` Shailendra Tripathi
2006-08-31 20:45 ` Russell Cattelan
2006-09-01 6:36 ` Rainer Krienke
2006-09-01 16:12 ` Chris Hane
2006-09-01 8:40 ` Evan Fraser
2006-09-01 17:14 ` Peter Grandi
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=44F73A65.8050105@sandeen.net \
--to=sandeen@sandeen.net \
--cc=chrishane@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox