From: "Nikolai K. Bochev" <n.bochev@grandstarco.com>
To: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Cc: linux-fsdevel@vger.kernel.org, qemu-devel@nongnu.org,
kvm@vger.kernel.org
Subject: [Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM
Date: Wed, 21 Oct 2009 11:28:20 +0300 (EEST) [thread overview]
Message-ID: <2092998967.2171256113700360.JavaMail.root@yellowwing> (raw)
In-Reply-To: <4ADE988B.2070303@lab.ntt.co.jp>
[-- Attachment #1: Type: text/plain, Size: 4921 bytes --]
Hello,
when i try to compile, i'm getting the following error ( Using ubuntu 9.10, x64 ) :
cd shepherd; make
make[1]: Entering directory `/home/shiny/Packages/sheepdog-2009102101/shepherd'
cc -c -g -O2 -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE shepherd.c -o shepherd.o
shepherd.c: In function ‘main’:
shepherd.c:300: warning: dereferencing pointer ‘hdr.55’ does break strict-aliasing rules
shepherd.c:300: note: initialized from here
cc -c -g -O2 -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE treeview.c -o treeview.o
cc -c -g -O2 -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE ../lib/event.c -o ../lib/event.o
cc -c -g -O2 -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE ../lib/net.c -o ../lib/net.o
../lib/net.c: In function ‘write_object’:
../lib/net.c:358: warning: ‘vosts’ may be used uninitialized in this function
cc -c -g -O2 -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE ../lib/logger.c -o ../lib/logger.o
cc shepherd.o treeview.o ../lib/event.o ../lib/net.o ../lib/logger.o -o shepherd -lncurses -lcrypto
make[1]: Leaving directory `/home/shiny/Packages/sheepdog-2009102101/shepherd'
cd sheep; make
make[1]: Entering directory `/home/shiny/Packages/sheepdog-2009102101/sheep'
cc -c -g -O2 -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE sheep.c -o sheep.o
cc -c -g -O2 -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE store.c -o store.o
cc -c -g -O2 -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE net.c -o net.o
cc -c -g -O2 -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE work.c -o work.o
In file included from /usr/include/asm/fcntl.h:1,
from /usr/include/linux/fcntl.h:4,
from /usr/include/linux/signalfd.h:13,
from work.c:31:
/usr/include/asm-generic/fcntl.h:117: error: redefinition of ‘struct flock’
/usr/include/asm-generic/fcntl.h:140: error: redefinition of ‘struct flock64’
make[1]: *** [work.o] Error 1
make[1]: Leaving directory `/home/shiny/Packages/sheepdog-2009102101/sheep'
make: *** [all] Error 2
The qemu-kvm source with patched support for sheepdog compiles fine.
----- Original Message -----
From: "MORITA Kazutaka" <morita.kazutaka@lab.ntt.co.jp>
To: kvm@vger.kernel.org, qemu-devel@nongnu.org, linux-fsdevel@vger.kernel.org
Sent: Wednesday, October 21, 2009 8:13:47 AM
Subject: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM
Hi everyone,
Sheepdog is a distributed storage system for KVM/QEMU. It provides
highly available block level storage volumes to VMs like Amazon EBS.
Sheepdog supports advanced volume management features such as snapshot,
cloning, and thin provisioning. Sheepdog runs on several tens or hundreds
of nodes, and the architecture is fully symmetric; there is no central
node such as a meta-data server.
The following list describes the features of Sheepdog.
* Linear scalability in performance and capacity
* No single point of failure
* Redundant architecture (data is written to multiple nodes)
- Tolerance against network failure
* Zero configuration (newly added machines will join the cluster automatically)
- Autonomous load balancing
* Snapshot
- Online snapshot from qemu-monitor
* Clone from a snapshot volume
* Thin provisioning
- Amazon EBS API support (to use from a Eucalyptus instance)
(* = current features, - = on our todo list)
More details and download links are here:
http://www.osrg.net/sheepdog/
Note that the code is still in an early stage.
There are some critical TODO items:
- VM image deletion support
- Support architectures other than X86_64
- Data recoverys
- Free space management
- Guarantee reliability and availability under heavy load
- Performance improvement
- Reclaim unused blocks
- More documentation
We hope finding people interested in working together.
Enjoy!
Here are examples:
- create images
$ kvm-img create -f sheepdog "Alice's Disk" 256G
$ kvm-img create -f sheepdog "Bob's Disk" 256G
- list images
$ shepherd info -t vdi
40000 : Alice's Disk 256 GB (allocated: 0 MB, shared: 0 MB), 2009-10-15
16:17:18, tag: 0, current
80000 : Bob's Disk 256 GB (allocated: 0 MB, shared: 0 MB), 2009-10-15
16:29:20, tag: 0, current
- start up a virtual machine
$ kvm --drive format=sheepdog,file="Alice's Disk"
- create a snapshot
$ kvm-img snapshot -c name sheepdog:"Alice's Disk"
- clone from a snapshot
$ kvm-img create -b sheepdog:"Alice's Disk":0 -f sheepdog "Charlie's Disk"
Thanks.
--
MORITA, Kazutaka
NTT Cyber Space Labs
OSS Computing Project
Kernel Group
E-mail: morita.kazutaka@lab.ntt.co.jp
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[-- Attachment #2: Type: text/html, Size: 6050 bytes --]
next prev parent reply other threads:[~2009-10-21 9:05 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-21 5:13 [Qemu-devel] [ANNOUNCE] Sheepdog: Distributed Storage System for KVM MORITA Kazutaka
2009-10-21 8:28 ` Nikolai K. Bochev [this message]
2009-10-21 8:45 ` [Qemu-devel] " Nikolai K. Bochev
2009-10-23 9:59 ` MORITA Kazutaka
2009-10-21 9:08 ` [Qemu-devel] " Dietmar Maurer
2009-10-23 10:06 ` [Qemu-devel] " MORITA Kazutaka
2009-10-23 10:17 ` Chris Webb
2009-10-23 10:26 ` Chris Webb
2009-10-23 11:10 ` [Qemu-devel] " Dietmar Maurer
2009-10-23 11:45 ` Dietmar Maurer
2009-10-22 15:30 ` [Qemu-devel] " Avi Kivity
2009-10-22 16:28 ` Anthony Liguori
2009-10-22 22:09 ` Alexander Graf
2009-10-23 10:41 ` MORITA Kazutaka
2009-10-23 11:10 ` Alexander Graf
2009-10-23 16:17 ` MORITA Kazutaka
2009-10-23 14:14 ` Javier Guerra
2009-10-23 14:58 ` Chris Webb
2009-10-23 15:10 ` Javier Guerra
2009-10-23 17:05 ` Tomasz Chmielewski
2009-10-25 8:44 ` Dietmar Maurer
2009-10-25 10:55 ` Tomasz Chmielewski
2009-10-23 15:40 ` FUJITA Tomonori
2009-10-25 5:36 ` Avi Kivity
2009-10-25 8:51 ` [Qemu-devel] " Dietmar Maurer
2009-10-26 6:53 ` [Qemu-devel] " MORITA Kazutaka
2009-10-22 18:46 ` Avishay Traeger
2009-10-23 11:22 ` [Qemu-devel] " Dietmar Maurer
2009-10-23 19:39 ` [Qemu-devel] " MORITA Kazutaka
2009-10-23 19:45 ` Javier Guerra
2009-10-24 2:49 ` MORITA Kazutaka
2009-10-28 3:53 ` [Qemu-devel] " MORITA Kazutaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2092998967.2171256113700360.JavaMail.root@yellowwing \
--to=n.bochev@grandstarco.com \
--cc=kvm@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=morita.kazutaka@lab.ntt.co.jp \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).