From owner-freebsd-stable@FreeBSD.ORG Mon Oct 24 12:32:20 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC0F8106566C for ; Mon, 24 Oct 2011 12:32:20 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 408AA8FC19 for ; Mon, 24 Oct 2011 12:32:20 +0000 (UTC) Received: by wyi40 with SMTP id 40so7872059wyi.13 for ; Mon, 24 Oct 2011 05:32:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=bbv1qmpQ+mnAkBKEV9GmrN3D6IxEZTrtm3CjVIeIMM0=; b=wBgMKY1O5qK6UBL0NbkqmBWvMQ86fIGW5H72qWVBto90unZQCUP9QE9qqMhi3XKkk0 Owh1h0BP1oFwSIN7VvyrCosV+qh+7hGi1cD+GVPkJtBHtMs0xLgNiAcdbnGoFmP615Cr UOSBU0Uice2hMO7uHK4WupXgbnXXlfhBLAXN0= Received: by 10.227.7.141 with SMTP id d13mr9109609wbd.78.1319459539304; Mon, 24 Oct 2011 05:32:19 -0700 (PDT) Received: from silmaril.hpulabs.org (71.Red-88-11-134.dynamicIP.rima-tde.net. [88.11.134.71]) by mx.google.com with ESMTPS id y10sm38732422wbm.14.2011.10.24.05.32.15 (version=SSLv3 cipher=OTHER); Mon, 24 Oct 2011 05:32:16 -0700 (PDT) Message-ID: <4EA55ACD.1080608@gmail.com> Date: Mon, 24 Oct 2011 14:32:13 +0200 From: carlopmart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110929 Red Hat/3.1.15-1.el6_1 Lightning/1.0b2 Thunderbird/3.1.15 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4EA52E30.4010704@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Questions about using gvirstor as a RAID0 solution X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2011 12:32:20 -0000 On 10/24/2011 12:12 PM, Ivan Voras wrote: > On 24/10/2011 11:21, carlopmart wrote: >> Hi all, >> >> 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=YES"" 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. > >> b) Does gvirstor supports UFS journaling?? For example: >> >> 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 important. > > 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). > Solved. Many thanks Ivan. -- CL Martinez carlopmart {at} gmail {d0t} com