xfs
[Top] [All Lists]

Re: problem creating log

To: James Rich <james@xxxxxxxxxxxxx>
Subject: Re: problem creating log
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 21 Feb 2003 13:44:21 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.50.0302201929470.8008-100000@universe.chowhouse.com>
References: <Pine.LNX.4.50.0302201929470.8008-100000@universe.chowhouse.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
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


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