xfs
[Top] [All Lists]

Re: mkfs.xfs doesn't detect size of storage correctly

To: Matthias Schniedermeyer <ms@xxxxxxx>
Subject: Re: mkfs.xfs doesn't detect size of storage correctly
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 29 Jan 2008 09:42:22 -0600
Cc: nscott@xxxxxxxxxx, xfs@xxxxxxxxxxx
In-reply-to: <20080129153337.GA20509@xxxxxxx>
References: <20080129093201.GA16203@xxxxxxx> <43347.192.168.3.1.1201601702.squirrel@xxxxxxxxxxxxxxx> <20080129122051.GA18165@xxxxxxx> <479F440F.2060506@xxxxxxxxxxx> <20080129153337.GA20509@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)
Matthias Schniedermeyer wrote:
> On 29.01.2008 09:19, Eric Sandeen wrote:
>> Matthias Schniedermeyer wrote:
>>
>>> A maybe important detail, i forgot to mention in the original mail is:
>>> The machine has 8GB of RAM, so i compiled the kernel with "64bit=yes" 
>>> (formaly x86_64), BUT(!) the userspace is 32bit or plain old i386.
>> If you think that's the issue, I'd try compiling the above as a 32-bit
>> binary and re-run.
> 
> I don't think it's an issue, i just wanted to mention it.
> 
> But as soon as i get home i will connect the HDD to an all 32bit system 
> and see if it makes a difference. (I'm still undecided if i should hope 
> that it makes a difference. ;-) )
> 

well, this can't be hard to find, with a bit of investigation.  :)

As Nathan said, mkfs.xfs just uses standard ioctls to get device size,
so something is odd... you could sprinkle some printfs into the mkfs
code, too, to further debug.

-Eric

> 
> 
> Bis denn
> 


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