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: Nathan Scott <nathans@xxxxxxx>
Date: Thu, 30 Oct 2003 07:17:14 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <125.26e5f7ec.2cd178ac@aol.com>
References: <125.26e5f7ec.2cd178ac@aol.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On Wed, Oct 29, 2003 at 03:10:20PM -0500, AndyLiebman@xxxxxxx wrote:
> ...
> 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. 
> 
> 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. 
> 
> I believe I also tried something like   mount -t xfs logdev=dev/hdb3   
> /dev/md3.   
> I think I also tried   mount -t xfs logdev=dev/hdb3,size=10000b   /dev/md3
> Does anybody have any ideas about what the trouble is? 

You need to use the -o option to mount(8), and use the full
device paths -- i.e.

        mount -t xfs -ologdev=/dev/hdb3 /dev/md3

There is no size= mount option to XFS (mount(8) has the list),
that information is obtained from the superblock.

cheers.

-- 
Nathan


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