On Thu, Feb 20, 2003 at 07:32:56PM -0700, James Rich wrote:
> When I create a log like this:
>
> mkfs.xfs -l logdev=/dev/sdb6,size=10000b /dev/sda2
> I get an error that says the size 10000b specified for log subvolume is
> too large, maximum is 7 blocks. If I leave off the size=10000b then I get
> an error saying that 7 blocks is too small, minimum is 512. I get this
> error whether I use an external log or internal log. mkfs.xfs -V shows:
>
> mkfs.xfs version 2.0.3
>
What does /proc/partitions say for these devices?
Possibly your device driver is incorrectly handling
the BLKGETSIZE64 ioctl... put a printf in the libxfs
code which calls this ioctl to see the returned size
and see if that matches your perception of reality.
cheers.
--
Nathan
|