Date: Mon, 9 Apr 2007 17:24:01 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Gergely CZUCZY <phoemix@harmless.hu> Cc: freebsd-geom@freebsd.org Subject: Re: volume management Message-ID: <20070409152401.GG76673@garage.freebsd.pl> In-Reply-To: <20070409143818.GA86722@harmless.hu> References: <20070408140215.GA54201@harmless.hu> <86k5wmu420.fsf@dwp.des.no> <20070408181916.GA59715@harmless.hu> <86bqhyu225.fsf@dwp.des.no> <461A4D93.3010200@freebsd.org> <20070409143818.GA86722@harmless.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
--+1TulI7fc0PCHNy3 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 09, 2007 at 04:38:18PM +0200, Gergely CZUCZY wrote: > On Mon, Apr 09, 2007 at 09:28:35AM -0500, Eric Anderson wrote: > > On 04/08/07 13:57, Dag-Erling Sm??rgrav wrote: > > >Gergely CZUCZY <phoemix@harmless.hu> writes: > > >>yeap, i know about ZFS, as i assume, it will need around 1.5-2 years > > >>from now, when 7.0-RELEASE will be ready. > > >No, it's expected this fall. > > >>and i'm looking for a solution for a production environment within > > >>a year. > > >There is no other solution. > >=20 > > How about gconcat? You could create a mirror, then gconcat another mir= ror, etc, extending the GEOM.=20 > > Then run growfs on that extended volume. Wouldn't that work? > why gmirror? gconcat somehow could be used for this, > but > 1) i see no attach operation for gconcat to add > providers on the fly. > 2) this would require to always create subpartitions/bsdlabels > on the disk, and add a bit more on need. Slow down:) Implementing off-line 'attach' operation is trivial and on-line 'attach' operation is also easy, but because you need to unmount file system anyway, off-line attach is ok. Let's assume you have currently two disks: da0 and da1. # gconcat label foo da0 da1 # newfs /dev/concat/foo # mount /dev/concat/foo /foo and you want to extend your storage by adding two disks: da2 and da3: # umount /foo # gconcat stop foo # gconcat label foo da0 da1 da2 da3 # growfs /dev/concat/foo # mount /dev/concat/foo /foo That's all. You can operate on mirrors too: # gmirror label foo0 da0 da1 # gconcat label foo mirror/foo0 # newfs /dev/concat/foo # mount /dev/concat/foo /foo And extending: # gmirror label foo1 da2 da3 # umount /foo # gconcat stop foo # gconcat label foo mirror/foo0 mirror/foo1 # growfs /dev/concat/foo # mount /dev/concat/foo /foo --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --+1TulI7fc0PCHNy3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGGlqRForvXbEpPzQRAgn3AKCYGjzzSwHQ3YQoM4MfcFidOPuGRACeL59S LgWMgtl4DMxHTPGNMyQEpdg= =+6u+ -----END PGP SIGNATURE----- --+1TulI7fc0PCHNy3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070409152401.GG76673>