xfs
[Top] [All Lists]

Re: problem creating log

To: XFS mailing list <linux-xfs@xxxxxxxxxxx>
Subject: Re: problem creating log
From: James Rich <james@xxxxxxxxxxxxx>
Date: Fri, 21 Feb 2003 15:11:24 -0700 (MST)
In-reply-to: <1045795223.1235.1.camel@Liberator>
References: <Pine.LNX.4.50.0302201929470.8008-100000@xxxxxxxxxxxxxxxxxxxxxx> <1045795223.1235.1.camel@Liberator>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Thu, 20 Feb 2003, Eric Sandeen wrote:

> On Thu, 2003-02-20 at 20:32, James Rich wrote:
>
> > what should I do?
>
> Please try a newer xfsprogs version, for starters - 2.0.3 is pretty old
> by now.  2.3.9 is on the ftp site now, or grab a slightly older version
> from the 1.2 release.

I did so and found that a problem exists when I specify the size as in:
size=10000b.  If I leave the size off it works.  Here is the failing
command:

mkfs.xfs -f -l logdev=/dev/sdb6,size=10000b /dev/sda2

If I just leave the size parameter off it works.  But how much of the
/dev/sdb6 partition is used?  /proc/partitions shows this for sdb6:

8       22      16033 sdb6

Is the partition big enough (I made it really small thinking that the log
is small)?  /proc/partitions for /dev/sda2 looks like:

8       2       208845 sda2

Does the log size depend on the partition being logged (i.e. if sda2 was
10 times bigger would the log need to be ten times bigger)?  I know I
could just use an internal log, but I have two disks and the itch to
experiment :)

Futher, by default mkfs.xfs creates logs with version 1.  Shouldn't it
default to version 2?

Now using mkfs.xfs version 2.3.9

James Rich


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