I considering a storage for Email. This storage system run on my own private cloud (already replicated), then i does not care about replication.
I'm thinking about 2 options:
1- I will create few "disk" (volume on cloud), and create a Btrfs filesytem on multi-disk; and when filesystem full, i'll create more "disk" and add it to btrfs file system by:
btrfs device add /dev/vdX /mnt
btrfs filesystem balance /mnt
This mount point (/mnt) will be expose over NFS, and my Dovecot server will mount this export, and store emails on it.
2- I will create few "disk" (volume on cloud), and create a GlusterFS distributed-volume accross these disks; and when filesystem full, i'll create more "disk" and add new "disk"(s) to GlusterFS distributed-volume, an re-balance it. My Dovecote will mount this volume using glusterfs-client, and store emails on it.
(Repeat: i don't need replicate, because my "disk", volume on private cloud, replicated underhood)
Do you think which option have better:
- performance? (many many small read/write I/O)
- stable?
- flexible?