Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2011 12:12:56 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Questions about using gvirstor as a RAID0 solution
Message-ID:  <j83dn9$cpt$1@dough.gmane.org>
In-Reply-To: <4EA52E30.4010704@gmail.com>
References:  <4EA52E30.4010704@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigA65E34382CDDD5EBFED6FDCD
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 24/10/2011 11:21, carlopmart wrote:
> Hi all,
>=20
>  I would like to use gvirstor as a thin provisioning solution for a
> mysql server, but I have some doubts about using it:

Yes, it's kind of what it was created for...

> a) Do I need to put "geom_virstor_load=3DYES"" on loader.conf or this
> kernel module is loaded automatically at boot If I create gvirstor
> volume using the label option??

You need to load the module yourself, the same as with other GEOM modules=
=2E

> b) Does gvirstor supports UFS journaling?? For example:
>=20
>   gjournal label /dev/virstor/mydata
>   newfs -O 2 -J /dev/virstor/mydata

You can do that. It will be very inefficient (i.e. you will only avoid
fscks, there will probably be no performance gains at all) but nothing
should break. Both virstor and gjournal add their overheads
(specifically, they can be seek-intensive in different ways), so you
wouldn't want to use either if sustained random IO performance is importa=
nt.

On the other hand, since you are using 9-stable, you can also use the
journaled soft-updates instead of gjournal, for much better efficiency.

> c) Can i use growfs utility If I need to expand a virstor volume at
> filesystem level??

Not exactly; virstor will immediately create a volume with large virtual
size (whatever you specify at the volume creation) ragardless of how
many physical devices you have. If you add more physical devices to the
virstor later, you do not have to do anything with the file system
itself, it will still see the original large virtual size.

If you are talking about expanding the virtual volume size, that's not
implemented yet (and in that case you would need to use growfs).


--------------enigA65E34382CDDD5EBFED6FDCD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6lOigACgkQldnAQVacBchSCwCgyMhV+1SbKLjsQjBjB2mFpot5
In0Anj3kTUqFKCfKtoLgz4fQ9RKmStXm
=oWPK
-----END PGP SIGNATURE-----

--------------enigA65E34382CDDD5EBFED6FDCD--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?j83dn9$cpt$1>