xfs
[Top] [All Lists]

Re: incorrect fs size

To: "Monton, Nick" <nikk@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: incorrect fs size
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Thu, 23 May 2002 21:21:05 -0500 (CDT)
Cc: "'linux-xfs@xxxxxxxxxxx'" <linux-xfs@xxxxxxxxxxx>
In-reply-to: <F1080044D330D211ABDA0008C74CD0D48D1033@apollo.digitalpictures.com.au>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Fri, 24 May 2002, Monton, Nick wrote:

> 
> I have installed a 70gb SEAGATE ST173404LW drive ( /dev/sda )
> created a partition ( /dev/sda1 )
> made a file system ( xfs )
> and mounted the drive.
> the partition is about 69gb however I can only see 135mb.
> 
> kernel: linux-2.4.17-xfs-smp
> platform: i386
> xfs patch: xfs-2.4.17-all-i386

And your xfsprogs is version 2.0+, right?
 
> if I create an ext2 file system however, I can see the full capacity.
> 
> any suggestions?

Yes, get the cmd_rpms from the "for-pre-2.4.18" directory on oss,
i.e. versions < 2.0.  BLKGETSIZE64 was broken in Linus' 2.4.17 (and previous)
kernels, and it would report the wrong device size.

if you need to stick with 2.4.17, it's a one-liner patch to fix
BLKGETSIZE64.

-Eric



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