From user-return-60247-archive-asf-public=cust-asf.ponee.io@cassandra.apache.org Fri Mar 9 06:19:50 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A31A818064C for ; Fri, 9 Mar 2018 06:19:49 +0100 (CET) Received: (qmail 92040 invoked by uid 500); 9 Mar 2018 05:19:47 -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 92030 invoked by uid 99); 9 Mar 2018 05:19:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2018 05:19:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 24826C0111 for ; Fri, 9 Mar 2018 05:19:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.698 X-Spam-Level: X-Spam-Status: No, score=0.698 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Mr9ytmAChHFf for ; Fri, 9 Mar 2018 05:19:43 +0000 (UTC) Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A5BEF5F195 for ; Fri, 9 Mar 2018 05:19:42 +0000 (UTC) Received: by mail-pf0-f176.google.com with SMTP id z10so883145pfh.13 for ; Thu, 08 Mar 2018 21:19:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:date:subject:message-id :references:in-reply-to:to; bh=hMurAh1jPlyTAXGBDbGg7QGm7kcv8h26ncbAAPfCwJ4=; b=ZwQXF7Jr9ckeLESgUYgLlCCuQD423iCq7X3AaSisUYmTCSz39vyforjsOV50lMYlp+ ulNailSucr2IR02D2H3P5DA+hdWtdP9H0iq7hPTWW8aQJz89kFOwb/XZ9vtBOGvc7Ov1 Ysm1oPsh6s8sOo1usrWhlnupiYBziflt1Dxm9Lg/jzl3km4bR6Hg0borGwJ2M7QWMzdf ixolkLZDIdq++v8g0o93Z34OREgBNTe9HnjFWzz/zGOQ+Y/tnz1yOp8qyFiaXt8KsWog 4qlebIDwituCR7LUiWe6VKn50H7xdKqGndAieRzAEsOZCOzN5FKlZh1ZqqmQHAw4HJ73 3j9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version:date :subject:message-id:references:in-reply-to:to; bh=hMurAh1jPlyTAXGBDbGg7QGm7kcv8h26ncbAAPfCwJ4=; b=tv7X1IUrY3rvCscdmZeO3ZpGCvjvdws2rdbHMhdjj9GkNGaHl9sX+HbUnTuY0BUp8i n+ao9BVtbnYqsCqBjxavVxrBOfyayBh31jQ2MgkB40Q6ec90CcXbSn3cKQyOL6omob30 xLCtJGhGxppjERhtf0cVEaxwatiKJew2QfOIG/xVLehC9CGQ58G8MPS+apgkVSwpVjjp RZ5s240EVfL/aeKRlsrG8yUjpCKwhR3uh+ASJsbV7fnxJedURgh0dOMqalmsJTxBBYtv eZVZJmZJG9wI3JR6y4bXUb6xrAimpEwItVaGrWCBPonrsflrv3J4b7983rfghRBGEOop k5zg== X-Gm-Message-State: APf1xPAa07Dxi+xgDoLfKpTUEYNUGHdCe8xJnsmKxhOirqS7v0qoMKns pXWWAAebhXck85C9vZkdEvBVkLv1 X-Google-Smtp-Source: AG47ELt3DDEegNPmGabkYnHKadcEJqtAHXRfwMVqcSAwqPbiUPAEjzEsZRoiekNHg9EBE0ScjGxlPw== X-Received: by 10.101.83.194 with SMTP id z2mr23181851pgr.133.1520572780932; Thu, 08 Mar 2018 21:19:40 -0800 (PST) Received: from [192.168.0.49] (97-113-99-36.tukw.qwest.net. [97.113.99.36]) by smtp.gmail.com with ESMTPSA id l19sm577309pgn.31.2018.03.08.21.19.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Mar 2018 21:19:39 -0800 (PST) From: Jeff Jirsa Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Thu, 8 Mar 2018 21:19:33 -0800 Subject: Re: Adding disk to operating C* Message-Id: <3893DCB1-7502-411A-81E6-BA0D5F0C9F2D@gmail.com> References: <749e6d88-df5f-44ab-854c-1baeedbed1ed@Spark> <7C962F21-34E1-4374-9E94-2BDBE9B5D2B3@gmail.com> In-Reply-To: <7C962F21-34E1-4374-9E94-2BDBE9B5D2B3@gmail.com> To: user@cassandra.apache.org X-Mailer: iPhone Mail (15D60) I see no reason to believe you=E2=80=99d lose data doing this - why do you s= uspect you may?=20 --=20 Jeff Jirsa > On Mar 8, 2018, at 8:36 PM, Eunsu Kim wrote: >=20 > The auto_snapshot setting is disabled. And the directory architecture on t= he five nodes will match exactly. >=20 > (Cassandra/Server shutdown -> Mount disk -> Add directory to data_file_dir= ectories -> Start Cassandra) * 5 rolling >=20 > Is it possible to add disks without losing data by doing the above procedu= re? >=20 >=20 >=20 >> On 7 Mar 2018, at 7:59 PM, Rahul Singh wro= te: >>=20 >> Are you putting both the commitlogs and the Sstables on the adds? Conside= r moving your snapshots often if that=E2=80=99s also taking up space. Maybe a= ble to save some space before you add drives. >>=20 >> You should be able to add these new drives and mount them without an issu= e. Try to avoid different number of data dirs across nodes. It makes automat= ion of operational processes a little harder. >>=20 >> As an aside, Depending on your usecase you may not want to have a data de= nsity over 1.5 TB per node. >>=20 >> -- >> Rahul Singh >> rahul.singh@anant.us >>=20 >> Anant Corporation >>=20 >>> On Mar 7, 2018, 1:26 AM -0500, Eunsu Kim , wrote= : >>> Hello, >>>=20 >>> I use 5 nodes to create a cluster of Cassandra. (SSD 1TB) >>>=20 >>> I'm trying to mount an additional disk(SSD 1TB) on each node because eac= h disk usage growth rate is higher than I expected. Then I will add the the d= irectory to data_file_directories in cassanra.yaml >>>=20 >>> Can I get advice from who have experienced this situation? >>> If we go through the above steps one by one, will we be able to complete= the upgrade without losing data? >>> The replication strategy is SimpleStrategy, RF 2. >>>=20 >>> Thank you in advance >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org >>> For additional commands, e-mail: user-help@cassandra.apache.org >>>=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org > For additional commands, e-mail: user-help@cassandra.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org For additional commands, e-mail: user-help@cassandra.apache.org