Quick Start

install & single machine setupdistributed setupstriping a filereplicate a file

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

  1. create and mount a volume (see install & setup)
  2. check the default striping policy for the volume
    > xtfs_sp --get ~/xtreemfs
    file:              /home/user/xtreemfs
    policy:            STRIPING_POLICY_RAID0
    stripe-size (kB):  128
    width:             1
  3. change the default striping policy to use two OSDs and 64k object size
    > xtfs_sp --set -p RAID0 -s 64 -w 2 ~/xtreemfs
  4. create a new file
    > echo "Hello world" > ~/xtreemfs/test.txt
  5. check the striping policy for the new file
    > xtfs_sp --get ~/xtreemfs/test.txt
    file:              /home/user/xtreemfs/test.txt
    policy:            STRIPING_POLICY_RAID0
    stripe-size (kB):  64
    width:             2



XtreemOS EU flag