Skip to content

Instantly share code, notes, and snippets.

@truatpasteurdotfr
Created December 18, 2015 14:32
Show Gist options
  • Save truatpasteurdotfr/b927a2ba4c29f7e180ee to your computer and use it in GitHub Desktop.
Save truatpasteurdotfr/b927a2ba4c29f7e180ee to your computer and use it in GitHub Desktop.
export.conf (1 volume/2 clusters/layout=1)
# rozofs export daemon configuration file
layout = 1 ;
volumes = # List of volumes
(
{
# First volume
vid = 1 ; # Volume identifier = 1
cids= # List of clusters for the volume 1
(
{
# First cluster of volume 1
cid = 1; # Cluster identifier = 1
sids = # List of storages for the cluster 1
(
{sid = 1; host = "c001.erc";},
{sid = 2; host = "c002.erc";},
{sid = 3; host = "c003.erc";},
{sid = 4; host = "c004.erc";},
{sid = 5; host = "c005.erc";},
{sid = 6; host = "c006.erc";},
{sid = 7; host = "c007.erc";},
{sid = 8; host = "c008.erc";}
);
},
{
# Second cluster of volume 1
cid = 2; # Cluster identifier = 2
sids = # List of storages for the cluster 2
(
{sid = 1; host = "c009.erc";},
{sid = 2; host = "c010.erc";},
{sid = 3; host = "c011.erc";},
{sid = 4; host = "c012.erc";},
{sid = 5; host = "c013.erc";},
{sid = 6; host = "c014.erc";},
{sid = 7; host = "c015.erc";},
{sid = 8; host = "c016.erc";}
);
}
);
}
);
exports = ( # List of exported filesystem
# First filesystem exported
{eid = 1; root = "/rozofs/one"; bsize="4K"; md5="";
squota=""; hquota="";vid=1;}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment