Distributing directory over multiple discs ?

2007-12-15 Thread Frank Staals
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,

--
-Frank Staals


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Distributing directory over multiple discs ?

2007-12-15 Thread Eric Masson
Frank Staals [EMAIL PROTECTED] writes:

Hi,

 And off-course if this is possible how can I acchieve something like
 that

Take a look at the handbook, sections regarding GEOM (stripe) or VINUM.

If you plan to use 7.0 or later, zfs can help too.

-- 
 B Le jour où un bidet comprendra un tabouret,
 B l'ethnologie aura fait un grand pas.
 Et ils eurent beaucoup de petites chaises percées.
 -+-vt in: http://www.le-gnu.net - Lachaise Père  fils -+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Distributing directory over multiple discs ?

2007-12-15 Thread Tino Engel

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...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Distributing directory over multiple discs ?

2007-12-15 Thread Pieter de Goeje
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]