Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EB5EA200BA1 for ; Mon, 17 Oct 2016 20:11:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E9F12160AEC; Mon, 17 Oct 2016 18:11:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 133A3160AE2 for ; Mon, 17 Oct 2016 20:11:12 +0200 (CEST) Received: (qmail 73108 invoked by uid 500); 17 Oct 2016 18:11:11 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 73098 invoked by uid 99); 17 Oct 2016 18:11:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2016 18:11:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 00070C072A for ; Mon, 17 Oct 2016 18:11:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pubnub-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id UtBRWMYaudbA for ; Mon, 17 Oct 2016 18:11:08 +0000 (UTC) Received: from mail-qt0-f174.google.com (mail-qt0-f174.google.com [209.85.216.174]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 5169C5F1BE for ; Mon, 17 Oct 2016 18:11:08 +0000 (UTC) Received: by mail-qt0-f174.google.com with SMTP id s49so129755294qta.0 for ; Mon, 17 Oct 2016 11:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pubnub-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=gWAENAriR/JuR8/EttEFCMSCXbOrwOtss4+yHnRDyBM=; b=06S8b0KW9ZUJqjyPRs/auBrdaLxsVgZSzf3iMbmX+BTRSz7Inq4JeY6Yx7iL9E+zq0 nmILOMXdWr7PSXiKPnOIiYCzVWF1EVRPo6LWRNDv6ZCj925x2rW2cWf4rZV8tu8Fh3Tz xgZ1LBmEbRFacHEYRVYMe3y/zs87Mm3cvDToAr5KwRYG2FKKqPI/MltdZdqW2dzGqPGm EUWvC+fODMAOw3KEW6bJ0hcvO2YkleLhaUnQq8HWxr7z7c/YSnJdhjjuW2YmuZf7j0kB T05tMjgVn4nkScgLMYWiUo8AI/vNUairNYlly2j2+wfYTSdZJdGqTU7EzZq3QL2lDRs+ IXlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=gWAENAriR/JuR8/EttEFCMSCXbOrwOtss4+yHnRDyBM=; b=Bbgjiy3ysq6hC5kkUPQB/8K8ZC6wwkbNxkh7QlIDBMR/L8wqm5tt3CjBSgL6hIDQcH N/mvjA/xu91t07kAm6Wa+blRpsz/Ho2QB5fEWSbezjq6FZMl0ApEi+mHVJ1wmEGqVBO1 7gt//Ekoiyh3i1zp0khgytaFWibxC9UQlBHZwnxTW3AVkJqg40MbzVJcEeaYEIomdyay K4AegRgrPN1Vr+ABYriDX1oyVoBGcwy9Kchkxc1dA01C27s4uLiYyH1QkupPLsopIZEc CSXFIvPNjoAkCSjnKMSOR7Bo3O96Pdf/XE4b0r7BoHQmjGyTHkE3c9DxpAS83d3SAV6C El1g== X-Gm-Message-State: AA6/9RmYCEfcLkYh7oTB0VcqOuINQoCCC8VexW9Vq8pFuDi7MeD0GCQLJttrLiJyn4JDadwcs1q7EPEz5WCXQg== X-Received: by 10.194.90.239 with SMTP id bz15mr12176473wjb.146.1476727867686; Mon, 17 Oct 2016 11:11:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.54.87 with HTTP; Mon, 17 Oct 2016 11:11:07 -0700 (PDT) In-Reply-To: References: <157d35a4996.111bf0c3c419737.893769067162731191@winguzone.com> From: Seth Edwards Date: Mon, 17 Oct 2016 11:11:07 -0700 Message-ID: Subject: Re: Adding disk capacity to a running node To: user Content-Type: multipart/alternative; boundary=047d7bfcf36efbdd15053f137f46 archived-at: Mon, 17 Oct 2016 18:11:14 -0000 --047d7bfcf36efbdd15053f137f46 Content-Type: text/plain; charset=UTF-8 We're running 2.0.16. We're migrating to a new data model but we've had an unexpected increase in write traffic that has caused us some capacity issues when we encounter compactions. Our old data model is on STCS. We'd like to add another ebs volume (we're on aws) to our JBOD config and hopefully avoid any situation where we run out of disk space during a large compaction. It appears that the behavior we are hoping to get is actually undesirable and removed in 3.2. It still might be an option for us until we can finish the migration. I'm not familiar with LVM so it may be a bit risky to try at this point. On Mon, Oct 17, 2016 at 9:42 AM, Yabin Meng wrote: > I assume you're talking about Cassandra JBOD (just a bunch of disk) setup > because you do mention it as adding it to the list of data directories. If > this is the case, you may run into issues, depending on your C* version. > Check this out: http://www.datastax.com/dev/blog/improving-jbod. > > Or another approach is to use LVM to manage multiple devices into a single > mount point. If you do so, from what Cassandra can see is just simply > increased disk storage space and there should should have no problem. > > Hope this helps, > > Yabin > > On Mon, Oct 17, 2016 at 11:54 AM, Vladimir Yudovin > wrote: > >> Yes, Cassandra should keep percent of disk usage equal for all disk. >> Compaction process and SSTable flushes will use new disk to distribute both >> new and existing data. >> >> Best regards, Vladimir Yudovin, >> >> >> *Winguzone - Hosted Cloud Cassandra on >> Azure and SoftLayer.Launch your cluster in minutes.* >> >> >> ---- On Mon, 17 Oct 2016 11:43:27 -0400*Seth Edwards > >* wrote ---- >> >> We have a few nodes that are running out of disk capacity at the moment >> and instead of adding more nodes to the cluster, we would like to add >> another disk to the server and add it to the list of data directories. My >> question, is, will Cassandra use the new disk for compactions on sstables >> that already exist in the primary directory? >> >> >> >> Thanks! >> >> >> > --047d7bfcf36efbdd15053f137f46 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
We're running 2.0.16. We're migrating to a new dat= a model but we've had an unexpected increase in write traffic that has = caused us some capacity issues when we encounter compactions. Our old data = model is on STCS. We'd like to add another ebs volume (we're on aws= ) to our JBOD config and hopefully avoid any situation where we run out of = disk space during a large compaction. It appears that the behavior we are h= oping to get is actually undesirable and removed in 3.2. It still might be = an option for us until we can finish the migration.=C2=A0

I'm not familiar with LVM so it may be a bit risky to try at this poi= nt.=C2=A0

On Mon, Oct 17, 2016 at 9:42 AM, Yabin Meng <yabinmeng@gmail.com= > wrote:
I ass= ume you're talking about Cassandra JBOD (just a bunch of disk) setup be= cause you do mention it as adding it to the list of data directories. If th= is is the case, you may run into issues, depending on your C* version. Chec= k this out:=C2=A0http://www.datastax.com/dev/blog/improving-jbod.

Or another approach is to use LVM to manage multiple = devices into a single mount point. If you do so, from what Cassandra can se= e is just simply increased disk storage space and there should should have = no problem.

Hope this helps,

<= div>Yabin

On Mon, Oct 17, 2016 at 11:54 A= M, Vladimir Yudovin <vladyu@winguzone.com> wrote:
Yes, Cassandra should keep pe= rcent of disk usage equal for all disk. Compaction process and SSTable flus= hes will use new disk to distribute both new and existing data.

= Best regards, Vladimir Yudovin,
Winguzone - Hosted Cloud Cassand= ra on Azure and SoftLayer.
Launch your cluster in minutes.
=

=


--047d7bfcf36efbdd15053f137f46--