Re: [PATCH] 64 bit scsi read/write

From: Steve Lord (lord@sgi.com)
Date: Fri Aug 10 2001 - 19:18:07 EST


> On Fri, 10 Aug 2001, Ragnar Kjxrstad wrote:
>
> > * >1TB devices over scsi.
> > * /proc/partitions report incorrect sizes
>
> Okay, interesting, I'll have to dig through that.
>
> > * mkreiserfs fails: "mkreiserfs: can not create filesystem on that
> > small device (0 blocks)."
> > * mkfs.xfs fails: "warning - cannot set blocksize on block device
> > /dev/sdb: Invalid argument"
>
> Someone needs to patch reiserfs/xfs.

XFS should continue with the mkfs after this, this is a 'warning' not an
error. We do use the BLKGETSIZE ioctl to get the device size. The function
which needs modifying is findsize() in cmd/xfsprogs/libxfs/init.c

Steve

>
> > I assume both mkreiserfs and mkfs.xfs use ioctl to get the size
> > of the device, and that ioctl uses an unsigned int? How is
> > userspace supposed to get the devicesize of >2GB devices with
> > your code?
>
> See the e2fsprogs patch (again, below).
>
> > * mkfs.ext2 makes the machine panic after a while.
> > Unfortenately I don't have the panic message anymore, and at the
> > moment I don't have the hardware to redo the test.
>
> That would've been a useful bug report.
>
> > * fdisk bails out with 'Unable to read /dev/sdb'
>
> MS-DOS partitions do not work on huge devices, so at best we can make it
> report a more informative message.
>
> The amount of response I've received is absolutely dismal for a feature
> lots of people are clamouring on about needing. At this rate, I doubt
> we'll have any of it decently tested before we start advertising it as a
> supported feature in 2.6.
>
> -ben
>
> --
> "The world would be a better place if Larry Wall had been born in
> Iceland, or any other country where the native language actually
> has syntax" -- Peter da Silva
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:36 EST