Shared storage

106 views
Skip to first unread message

candlerb

unread,
Jun 1, 2012, 12:35:06 PM6/1/12
to gan...@googlegroups.com
I believe that shared storage got implemented in 2.5, according to

However http://docs.ganeti.org/ganeti/2.5/html/install.html#configuring-lvm still says that LVM is still mandatory. Is that still true?

Reason: I am looking at trying out ganeti with glusterfs 3.3 as the backend for VM images, so I'd like to know if this is likely to work (and hence whether it's worth building 2.5.1 from source instead of using 2.4.5 from Ubuntu 12.04 packages)

"A new cluster initialization option is added to specify the mountpoint of the shared filesystem."
but I haven't found what that option is.

Thanks,

Brian.

tschend

unread,
Jun 2, 2012, 7:37:16 AM6/2/12
to gan...@googlegroups.com
Hi,

Shared storage works. I tested it with 2.5.1 on debian squeeze. You need to disable lvm storage at configure time when you want to run shared only.
I think the docs are not up-to-date at this point.

Hope that Helms.

Regards
Thomas

Jake Anderson

unread,
Jun 2, 2012, 8:03:18 AM6/2/12
to gan...@googlegroups.com, tschend
I'm really rather curious how performance with drbd compares to
gluster/ceph etc.

candlerb

unread,
Jun 2, 2012, 5:25:16 PM6/2/12
to gan...@googlegroups.com
On Saturday, June 2, 2012 12:37:16 PM UTC+1, tschend wrote:

Shared storage works. I tested it with 2.5.1 on debian squeeze. You need to disable lvm storage at configure time when you want to run shared only.

How do you disable lvm storage? The only configure option I can see is to set the stripecount.

$ grep -i lvm configure.ac 
# --with-lvm-stripecount=...
AC_ARG_WITH([lvm-stripecount],
  [AS_HELP_STRING([--with-lvm-stripecount=NUM],
    [the default number of stripes to use for LVM volumes]
  [lvm_stripecount="$withval"],
  [lvm_stripecount="1"])
AC_SUBST(LVM_STRIPECOUNT, $lvm_stripecount)

(so if unset the default is '1')

I notice you can set --with-shared-file-storage-dir=xxx, which sets enable_shared_file_storage=True. But I can't see if or how that disables lvm.

Guido Trotter

unread,
Jun 2, 2012, 5:36:18 PM6/2/12
to gan...@googlegroups.com
On Sat, Jun 2, 2012 at 10:25 PM, candlerb <b.ca...@pobox.com> wrote:
> On Saturday, June 2, 2012 12:37:16 PM UTC+1, tschend wrote:
>>
>> Shared storage works. I tested it with 2.5.1 on debian squeeze. You need
>> to disable lvm storage at configure time when you want to run shared only.
>
> How do you disable lvm storage? The only configure option I can see is to
> set the stripecount.
>

I think lvm can simply be disabled at gnt-cluster init time. Use the
--no-lvm-storage option.

Thanks,

Guido
Reply all
Reply to author
Forward
0 new messages