GEOM stripe + concat

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Jan 24 14:28:28 PST 2006


On Sun, Jan 22, 2006 at 07:22:57PM +0300, Sergey Lungu wrote:
+> Hello,
+> 
+> I have FreeBSD 6.0-RELEASE running on my FTP server. There are three
+> disks on that box: two identical 120GB and one 300GB. I am using gvinum
+> for stripping between first two disks. I am going to give gstripe a
+> try, sine gvinum is too unstable.
+> 
+> So, the questin is:
+> Am I able to concatenate created stripe with 300GB disk? And is it wise
+> at all?

I'd do something like this:

da0 - 120GB disk
da1 - 120GB disk
da2 - 300GB disk

da2a - 240GB partition
da2d - 60GB partition

concat( stripe( concat(da0, da1), da2a ), da2d)

In other words:

	# gconcat C0 da0 da1
	# gstripe S0 concat/C0 da2a
	# gconcat C1 stripe/S0 da2d
	# newfs -U /dev/concat/C1

This way you have 240GB in stripe and only 60GB without stripe (so
slower).

Yes, you can do this with GEOM:)

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20060124/bb0b1060/attachment.bin


More information about the freebsd-geom mailing list