xfs
[Top] [All Lists]

Re: XFS and 3.2TB Partition

To: Chris Hane <chrishane@xxxxxxxxx>
Subject: Re: XFS and 3.2TB Partition
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu, 31 Aug 2006 14:37:09 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <44F714F2.7050502@gmail.com>
References: <44F714F2.7050502@gmail.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5.0.5 (X11/20060808)
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


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