On Fri, Aug 12, 2011 at 04:42:50PM +0200, Bram Luyten wrote:
> Hello Gregory,
> 
> this can be done by configuring certain parameters in your dspace.cfg
> 
> from:
> 
> https://wiki.duraspace.org/display/DSDOC/Storage+Layer
> "Configuring traditional storage".
> 
> assetstore.dir =  [dspace]/assetstore_0
> assetstore.dir.1 = /mnt/other_filesystem/assetstore_1
> 
> The above example specifies two asset stores. assetstore.dir specifies the
> asset store number 0 (zero); after that use assetstore.dir.1,
> assetstore.dir.2 and so on. The particular asset store a bitstream is stored
> in is held in the database, so don't move bitstreams between asset stores,
> and don't renumber them.

All correct, but there's a bit more.

DSpace will only fill one assetstore at a time.  If you don't specify
which one, it will continue to fill assetstore.dir.  Configure
"assetstore.incoming" (by number, as above) to specify which
assetstore should receive new submissions' bitstreams.

If you were looking to spread new material automatically across two
volumes, there is as yet no code to do that.  If you expect to store
more than will fit on a single physical volume, you might wish to
consider using your OS' logical volume facilities to combine physical
volumes.

Adding an assetstore director with pluggable policy modules would be a
nice little project.  The first policy module would be the one that
looks at assetstore.incoming, to preserve the current behavior.  I can
see sites wanting policies based on file size, content type,
containment path, and the like.

-- 
Mark H. Wood, Lead System Programmer   [email protected]
Asking whether markets are efficient is like asking whether people are smart.

Attachment: pgp7PDdl3YPMJ.pgp
Description: PGP signature

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to