From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 02:13:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BB6016A41A for ; Sun, 16 Dec 2007 02:13:56 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb7:ef56]) by mx1.freebsd.org (Postfix) with ESMTP id DBD4013C442 for ; Sun, 16 Dec 2007 02:13:55 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id lBG2Dl0k003323; Sun, 16 Dec 2007 03:13:47 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Sun, 16 Dec 2007 03:13:46 +0100 User-Agent: KMail/1.9.7 References: <4763C9B4.4010902@gmx.net> <47642CB5.5070906@web.de> In-Reply-To: <47642CB5.5070906@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712160313.46941.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Frank Staals , Tino Engel Subject: Re: Distributing directory over multiple discs ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 02:13:56 -0000 On Saturday 15 December 2007, Tino Engel wrote: > Frank Staals schrieb: > > Since one of my discs is filling up rather quickly (Say disc A ) while > > an other one stays quite empty (say disc B ) I would like to > > distribute the content of a directory on disc A over both A and B. I > > know I can simply move some of the files over to a sperate directory > > on disc B but is is possible to somehow merge the 2 ? So for example > > if I would do an ls in discA/dir I would also see the files that are > > stored on discB/an/other/dir ? And off-course if this is possible how > > can I acchieve something like that > > > > Regards, > > I think on debian it used to be (or it is, dunno, I use freebsd now) > possible to mount 2 filesystems on one mount point. the OS then took > care of assigning the space. Well, I do not want to try it on my system > though... On FreeBSD this is called "unionfs". Take a look at mount_unionfs(8) and mount(8)'s "union" option. HTH, Pieter de Goeje