A striping policy in XtreemFS described how a file's content (the objects) are distributed onto one or more storage servers (OSDs). A policy contains of the pattern, e.g. RAID0, the width which is the number of storage servers to use and the stripe size which is the size of the objects in kB.
Each volume has a default striping policy that is used for all newly created files. Similarly, users can set a default striping policy for a directory which will be used for all new files in that directory.
To make striping work, you need a setup with at least two OSDs. For testing, you can run two OSDs on the same machine, just make sure that they use differen ports (http_port and listen.port in osdconfig.properties).
file: /home/user/xtreemfs policy: STRIPING_POLICY_RAID0 stripe-size (kB): 128 width: 1
file: /home/user/xtreemfs/test.txt policy: STRIPING_POLICY_RAID0 stripe-size (kB): 64 width: 2
XtreemOS is an Integrated Project funded by the European Commission's IST program under contract #FP6-033576.© 2006-2009. Logo and box image © explonauten.net. legal/Datenschutz. |
![]() |