[Linux-cluster] GFS 2Tb limit
Stephen Willey
stephen.willey at framestore-cfc.com
Fri Sep 3 14:22:35 UTC 2004
Ken Preslan wrote:
> On Thu, Sep 02, 2004 at 01:05:50PM -0700, Joel Becker wrote:
>
>>On Thu, Sep 02, 2004 at 01:49:37PM -0500, Ken Preslan wrote:
>>
>>>The first ioctl() below is supposed to be BLKGETSIZE64, but the ioctl
>>>number is wrong and the ioctl fails. So, iddev tries BLKGETSIZE, which
>>>can't encode the device size in a long and returns EFBIG.
>>
>> Why on earth isn't it using lseek64() for this?
>>
>> uint64_t size = lseek64(disk_fd, 0ULL, SEEK_END);
>
>
> Hehe. Thanks for the pointer.
>
I've rebuild iddev and then gfs_mkfs and that's worked beautifully.
Thanks a lot.
I'm having some problems actually mounting the thing now but I'll have
to look at those on Monday.
Thanks again for all the help guys...
Stephen
More information about the Linux-cluster
mailing list