[sheepdog] sheepdog vs raid 5/6

Liu Yuan namei.unix at gmail.com
Thu Jan 23 10:02:11 CET 2014


On Thu, Jan 23, 2014 at 04:59:47PM +0800, Liu Yuan wrote:
> On Thu, Jan 23, 2014 at 12:24:52PM +0400, Vasiliy Tolstov wrote:
> > Hi all. If i don't need cluster storage for vps now, but i want to
> > have hdd fail protection, what is the best to use for storage for vm?
> > I have 5 1Tb drives and can create raid 6 and use lvm for it, or
> > format each drive and use it in sheepdog (qemu connects to local
> > sheepdog daemon). in case of erasure coding - does it possible to lost
> > 2 drives and continue to work?
> > How about write/read speed of this ?
> > Does somebody try this?
> 
> This is absolutely feasible with sheepdog.
> 
> follow my instructions:
> 
> 1. git clone https://github.com/sheepdog/sheepdog.git
> 2. ./autogen.sh;./configure --disable-corosync;make install
> 3.
>   for i in `seq 1 5`; do
>   $ sheep -n -z $i -c local disk$i # disk$i is mountponit of your disks
>   done

Oops, this is wrong, please try

  $ sheep -n -z $i -p $((7000+$i) -c local disk$i # disk$i is mountponit of your disks

Thanks
Yuan



More information about the sheepdog mailing list