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 16:57:43 -0700 (MST)
In-reply-to: <200302211737.40492.joebacom@volstate.net>
References: <200302211737.40492.joebacom@volstate.net>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Fri, 21 Feb 2003, Joe Bacom wrote:

> What size did you make /dev/sdb6?

fdisk /dev/sdb reports for sdb6:

/dev/sdb6       354     355     16033  83  Linux

which to me says around 16 MB.  The trouble I have is that is 10,000
blocks for mkfs.xfs the same type of blocks as for fdisk?  If so, then I
have 16,033 - more than the 10,000 blocks I was trying to specify on the
mkfs.xfs command.

> Log size of 10,000 blocks it would need to be 40M
>
> Here is the formula that I use:
>
> 10000 blocks * 4 (4k blocks) / 1024 = size in meg.

According to this my log partition is too small (if I want a log size of
10,000b).

> Example:
> for a log size of 128M you need to specify 32768b
>
> 32768 * 4 / 1024 = 128M

Is there some advantage to a 128 MB log size versus a 10,000b log size?

On another note - I created my / partition with an external log.  How do I
pass the logdev parameter to the kernel so it can be mounted?  The
lilo.conf man page didn't have anything to indicate how to pass mount
parameters to the kernel.  If I use a different partition for / that
doesn't have an external log all is well.

James Rich


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