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:19:43 -0600
Cc: nscott@xxxxxxxxxx, xfs@xxxxxxxxxxx
In-reply-to: <20080129122051.GA18165@xxxxxxx>
References: <20080129093201.GA16203@xxxxxxx> <43347.192.168.3.1.1201601702.squirrel@xxxxxxxxxxxxxxx> <20080129122051.GA18165@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)
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.

Although, for a simple sparse-file-backed loopback device w/o loop-aes,
that doesn't cause any problem for me:

[root@inode tmp]# ls -l loopfile
-rw-r--r-- 1 root root 750156369920 2008-01-29 08:53 loopfile

[root@inode tmp]# losetup /dev/loop0 loopfile

[root@inode tmp]# ./gds32 /dev/loop0
1465149160 512 byte blocks (BLKGETSIZE64)
[root@inode tmp]# ./gds64 /dev/loop0
1465149160 512 byte blocks (BLKGETSIZE64)

-Eric

> Bis denn
> 


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