From owner-freebsd-fs@FreeBSD.ORG Thu Dec 9 15:15:25 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A4151065672 for ; Thu, 9 Dec 2010 15:15:25 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 12D2E8FC18 for ; Thu, 9 Dec 2010 15:15:24 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PQiDL-0000cD-2J for freebsd-fs@freebsd.org; Thu, 09 Dec 2010 16:15:23 +0100 Received: from cpe-188-129-86-49.dynamic.amis.hr ([188.129.86.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Dec 2010 16:15:23 +0100 Received: from ivoras by cpe-188-129-86-49.dynamic.amis.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Dec 2010 16:15:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Thu, 09 Dec 2010 16:15:06 +0100 Lines: 32 Message-ID: References: <20101209141412.GA62013@relay.ibs.dn.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpe-188-129-86-49.dynamic.amis.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101102 Thunderbird/3.1.6 In-Reply-To: <20101209141412.GA62013@relay.ibs.dn.ua> Subject: Re: what is the best way to use free space on several boxes? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2010 15:15:25 -0000 On 12/09/10 15:14, Zeus V Panchenko wrote: > Hi All, > > we have several FreeBSD 8-STABLE boxes, each has 2x500GB HDD in gmirror > UFS dedicated > > but really it's used less than 30% each box ... > > so, advice please, what is the best/correct/right way to use the free > space on the boxes? nfs? zfs? iscsi? > > the aim is to have storage place ... It really depends on how reliable and flexible you need this storage space to be. From one side, you can simply create large files within the existing file systems (e.g. a 300 GB file on each) to serve as virtual disks, export them with iSCSI, import them on another box and create a ZFS raidz volume out of those drives - you get a small amount of fault tolerance here. The bad sides are: you need to have a large "fixed space" file on each of the machines (you can theoretically create sparse files but the downsides are even worse), only one box can see the consolidated space (the ZFS volume), and there are so many layers in this configuration that performance will probably be slow. On the other hand, you can simply NFS-mount a directory from each of the machines under a single tree. This way you can more flexibly share space with existing data on the machines and be faster, but you cannot automatically make use of all of the available space at the same time. Until FUSE is fixed, these are probably the only options.