xfs
[Top] [All Lists]

Re: mounting raid5 with different unit values

To: Raz <raziebe@xxxxxxxxx>
Subject: Re: mounting raid5 with different unit values
From: David Chinner <dgc@xxxxxxx>
Date: Mon, 8 Oct 2007 08:19:03 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <5d96567b0710070015j723810aag20dc3e2866868684@xxxxxxxxxxxxxx>
References: <5d96567b0710070015j723810aag20dc3e2866868684@xxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Sun, Oct 07, 2007 at 09:15:23AM +0200, Raz wrote:
> Hello
> I am trying to mount xfs over raid5. I am trying to mount it with
> different values than
> the true ones. the mount fails with a general error of :
> mount -osunit=6144,swidth=18432 /dev/md1 /d1/
> mount: wrong fs type, bad option, bad superblock on /dev/md1,
>        or too many mounted file systems

Try looking in your syslog or dmesg for the error that occurred
during mount. THere's the possibility that it won't give you
an error because of a bug that was fixed more recently than
2.6.17 that suppressd errors incorrectly. You shoul dreally
try a more recent kernel ;)

Most likely, the new sunit/swidth are being rejected because
of alignent reasons (e.g. the AG size is not a multiple of
the new sunit you are setting).

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


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