Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2004 11:20:33 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Markus Hoenicka <markus.hoenicka@mhoenicka.de>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: vinum raid5: newfs throws an error
Message-ID:  <20041207005033.GX92212@wantadilla.lemis.com>
In-Reply-To: <16820.57579.721193.800699@tipi.mininet>
References:  <16819.48747.223694.368063@tipi.mininet> <20041206023125.GU92212@wantadilla.lemis.com> <16820.57579.721193.800699@tipi.mininet>

next in thread | previous in thread | raw e-mail | index | archive | help

--UV7UemgNCuG1jdza
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Monday,  6 December 2004 at 23:44:59 +0100, Markus Hoenicka wrote:
> Greg 'groggy' Lehey writes:
>> There was once an error in the stripe size calculations that meant
>> that there were holes in the plexes.  Maybe it's still there (old
>> Vinum is not being maintained).  But you should have seen that in the
>> console messages at create time.
>>
>>> Vinum reports the disk sizes as 17500MB (da1) and 17359MB (da2,
>>> da3). The raid5 volume and plex have a size of 33GB.
>>
>> This looks like the kind of scenario where that could happen.  Try
>> this:
>>
>> 1.  First, find a better stripe size.  It shouldn't be a power of 2,
>>     but it should be a multiple of 16 kB.  I'd recommend 496 kB.  This
>>     won't fix the problem, but it's something you should do anyway
>>
>> 2.  Calculate the length of an exact number of stripes, and create the
>>     subdisks in that length.  Try again and see what happens.
>>
>> 3.  Use gvinum instead of vinum and try both ways.
>>
>
> Ok, I decreased the stripe size to 496, regardless of whether it has
> anything to do with my problem. Next I set the subdisk length to
> 17359m on all disks, and things started to work ok. No more newfs
> errors here.

OK, looks like this was the "hole in the plex" issue.  I thought that
was gone.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.

--UV7UemgNCuG1jdza
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBtP5ZIubykFB6QiMRAh64AJ0RBW+g1jqY7+07r2zbJhXcZpZpUgCfQOZM
aGbWyl761WxQMN4C2kJfCDU=
=TciY
-----END PGP SIGNATURE-----

--UV7UemgNCuG1jdza--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041207005033.GX92212>