xfs
[Top] [All Lists]

Re: How to create a separate log

To: pac@xxxxxxxxxxxxxx
Subject: Re: How to create a separate log
From: Stephen Lord <lord@xxxxxxx>
Date: Sat, 26 Jan 2002 13:43:29 -0600
Cc: linux-xfs@xxxxxxxxxxx
References: <20020126111331.A5571@bistro.marx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226
pac@xxxxxxxxxxxxxx wrote:

 What do i need to do to create a separate log file?

Does the log live in a partition unto itself or can I make a log file
on another filesystem that has other data in it? Is there a document
that describes in detail how this goes?

-Phil Carinhas
--
.--------------------------------------------------------.
| Dr. Philip A. Carinhas       | pac@xxxxxxxxxxxxxx      |
| Fortuitous Technologies Inc. | http://fortuitous.com   |
| Linux Consulting & Training  | Tel : 1-512-467-2154    |
`--------------------------------------------------------'

Default log location is in the middle of the partition/volume you run mkfs on.
If you want an external log then you need to dedicate a partition to it, it cannot
be in a file.


These are the options for an external log:

mkfs -t xfs -l logdev=/dev/xxx,size=XXXb /dev/yyy
mount -t xfs -o logdev=/dev/xxx /dev/yyy /mnt

Steve





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