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

Eric Sandeen
2008-01-29T15:42:46Z

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
>