xfs
[Top] [All Lists]

Re: Why can't I put Log File on its own drive/partition?

To: AndyLiebman@xxxxxxx
Subject: Re: Why can't I put Log File on its own drive/partition?
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 29 Oct 2003 14:53:53 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <125.26e5f7ec.2cd178ac@aol.com>
Organization:
References: <125.26e5f7ec.2cd178ac@aol.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Wed, 2003-10-29 at 14:10, AndyLiebman@xxxxxxx wrote:

> The place where I'm trying to put the journal file is a 4 GB partition on an 
> internal IDE drive. 

FWIW, that'll waste a lot of space on that partition, but ok :)

> The command  mkfs.xfs -f -l logdev=/dev/hdb3,size=10000b -b size=4096 
> /dev/md3  is accepted by the system. It looks as if I formatted the RAID with 
> XFS and 
> put the journal on in a separate place. 

This looks fine, if mkfs is happy then it's ok.

> But when I try to mount the RAID as I did above, I get the following error: 
> mount:  wrong fs type, bad option, bad superblock on /dev/md3 
>             or too many mounted file systems. 

look at system logs or dmesg to see what really went wrong.

> I believe I also tried something like   mount -t xfs logdev=dev/hdb3   
> /dev/md3.

mount won't parse that

> I think I also tried   mount -t xfs logdev=dev/hdb3,size=10000b   /dev/md3

or that, either.

What you want is

mount -t xfs -o logdev=/dev/hdb3 /dev/md3 /mnt/md3

-Eric

-- 
Eric Sandeen      [C]XFS for Linux   http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.          651-683-3102


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