Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82BAF10568 for ; Mon, 7 Apr 2014 11:15:10 +0000 (UTC) Received: (qmail 89483 invoked by uid 500); 7 Apr 2014 11:15:07 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 89455 invoked by uid 500); 7 Apr 2014 11:15:03 -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 89410 invoked by uid 99); 7 Apr 2014 11:15:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2014 11:15:00 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ipremyadav@gmail.com designates 209.85.216.51 as permitted sender) Received: from [209.85.216.51] (HELO mail-qa0-f51.google.com) (209.85.216.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2014 11:14:56 +0000 Received: by mail-qa0-f51.google.com with SMTP id j7so5713653qaq.38 for ; Mon, 07 Apr 2014 04:14:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=MjK9pTm0HL9HpenIaslUqhSs7PxpfXB+6shOUb7I43k=; b=rSciHGns8BcUyhpfGT/AqnwPasZH+LIdecM/tfKZF4rLde8afhEaPV4TRLDEAFcI19 doozgUdzYvMW9sWxNxA9TuiYfGLbitQGJhbfhROzD7UBpg+eLZMJe0dOgeWcf1ZiA7PO 60aLOQv+iEFYse2T3kkjJFKWTmIhKBSXxfUOUOsTamHRCArQniYOHJszZzaMs1BU338N 1t0vgMk5THCVzJ5Yfrl3PG6fhs9FTZRwKrUqZG7k2dJLWtVWKY+fF4eOthsdW2XrSZsu z+z147C+UoeR50Htyod9iZqI6tyg1WHirsPVVwW/bW8OciRt9h6DNX6Cqd04uk4FfXut WsRw== MIME-Version: 1.0 X-Received: by 10.140.34.168 with SMTP id l37mr7748746qgl.85.1396869274049; Mon, 07 Apr 2014 04:14:34 -0700 (PDT) Received: by 10.224.142.19 with HTTP; Mon, 7 Apr 2014 04:14:34 -0700 (PDT) In-Reply-To: <534287B1.50008@enercast.de> References: <534287B1.50008@enercast.de> Date: Mon, 7 Apr 2014 12:14:34 +0100 Message-ID: Subject: Re: Cassandra Disk storage capacity From: Prem Yadav To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a11c1092ee0b9d704f671f8e2 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1092ee0b9d704f671f8e2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable you can specify multiple data directories in cassandra.yaml. ex: data_file_directories: - /var/lib.cass1 - /var/lib/cass2 -/ On Mon, Apr 7, 2014 at 12:10 PM, Jan Kesten wrote: > Hi Hari, > > C* will use your entire space - that is something one should monitor. > Depending on your choose on compaction strategy your data_dir should not = be > filled up entirely - in the worst case compaction will need space as larg= e > as the sstables on disk, therefore 50% should be free space. > > The parameters used for on disk storage are commitlog_directory and > data_file_directories and saved_caches_directory. The paramter > data_file_directories is in plural, you can easily put more than one > directory here (and you should do this instead of using RAID). > > Cheers, > Jan > > Am 07.04.2014 12:56, schrieb Hari Rajendhran: > > Hi Team, > > We have a 3 node Apache cassandra 2.0.4 setup installed in our lab > setup.We have set data directory to /var/lib/cassandra/data.What would be > the maximum > disk storage that will be used for cassandra data storage. > > Note : /var partition has a storage capacity of 40GB. > > My question is whether cassandra will the entire / directory for data > storage ? > If no, how to specify multiple directories for data storage ?? > > > > > > Best Regards > Hari Krishnan Rajendhran > Hadoop Admin > DESS-ABIM ,Chennai BIGDATA Galaxy > Tata Consultancy Services > Cell:- 9677985515 > Mailto: hari.rajendhran@tcs.com > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Consulting > ____________________________________________ > > =3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > > -- > Jan Kesten, mailto:j.kesten@enercast.de > Tel.: +49 561/4739664-0 FAX: -9 > enercast GmbH Friedrich-Ebert-Str. 104 D-34119 Kassel HRB15471http:= //www.enercast.de Online-Prognosen f=FCr erneuerbare Energien > Gesch=E4ftsf=FChrung: Dipl. Ing. Thomas Landgraf, Bernd Kratz > > Diese E-Mail und etwaige Anh=E4nge k=F6nnen vertrauliche und/oder rechtli= ch gesch=FCtzte Informationen enthalten. Falls Sie nicht der angegebene Emp= f=E4nger sind oder falls diese E-Mail irrt=FCmlich an Sie adressiert wurde,= benachrichtigen Sie uns bitte sofort durch Antwort-E-Mail und l=F6schen Si= e diese E-Mail nebst etwaigen Anlagen von Ihrem System. Ebenso d=FCrfen Sie= diese E-Mail oder ihre Anlagen nicht kopieren oder an Dritte weitergeben. = Vielen Dank. > > This e-mail and any attachment may contain confidential and/or privileged= information. If you are not the named addressee or if this transmission ha= s been addressed to you in error, please notify us immediately by reply e-m= ail and then delete this e-mail and any attachment from your system. Please= understand that you must not copy this e-mail or any attachment or disclos= e the contents to any other person. Thank you for your cooperation. > > --001a11c1092ee0b9d704f671f8e2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
you can specify multiple data directories in cassandra.yam= l.
ex:
data_file_directories:
=A0 - /var/lib.cass1<= /div>
=A0 - /var/lib/cass2
=A0 -/<some_other_mountpoint>= ;


On Mon,= Apr 7, 2014 at 12:10 PM, Jan Kesten <j.kesten@enercast.de> wrote:
=20 =20 =20
Hi Hari,

C* will use your entire space - that is something one should monitor. Depending on your choose on compaction strategy your data_dir should not be filled up entirely - in the worst case compaction will need space as large as the sstables on disk, therefore 50% should be free space.

The parameters used for on disk storage are commitlog_directory and data_file_directories and saved_caches_directory. The paramter data_file_directories is in plural, you can easily put more than one directory here (and you should do this instead of using RAID).

Cheers,
Jan

Am 07.04.2014 12:56, schrieb Hari Rajendhran:
Hi Team,

We have a 3 node Apache cassandra 2.0.4 setup installed in our lab setup.We have set data directory to /var/lib/cassandra/data.What would be the maximum=A0
disk storage that will be used for cassandra data storage.

Note : /var partition has a storage capacity of 40GB.

My question is whether cassandra will =A0the entire / directory for data storage ?
If no, how to specify multiple directories for data storage ??

=A0


=A0
Best Regards
Hari Krishnan Rajendhran
Hadoop Admin
DESS-ABIM ,Chennai BIGDATA Galaxy
Tata Consultancy Services
Cell:- 9677985515
Mailto: hari.rajendhran@tcs.com
Website: http:= //www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Consulting
____________________________________________

=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you



--=20
Jan Kesten, mailt=
o:j.kesten@enercast.de
Tel.: +49 561/4739664-0 FAX: -9
enercast GmbH Friedrich-Ebert-Str. 104 D-34119 Kassel       HRB15471
http://www.enercast.de=
 Online-Prognosen f=FCr erneuerbare Energien
Gesch=E4ftsf=FChrung: Dipl. Ing. Thomas Landgraf, Bernd Kratz

Diese E-Mail und etwaige Anh=E4nge k=F6nnen vertrauliche und/oder rechtlich=
 gesch=FCtzte Informationen enthalten. Falls Sie nicht der angegebene Empf=
=E4nger sind oder falls diese E-Mail irrt=FCmlich an Sie adressiert wurde, =
benachrichtigen Sie uns bitte sofort durch Antwort-E-Mail und l=F6schen Sie=
 diese E-Mail nebst etwaigen Anlagen von Ihrem System. Ebenso d=FCrfen Sie =
diese E-Mail oder ihre Anlagen nicht kopieren oder an Dritte weitergeben. V=
ielen Dank.

This e-mail and any attachment may contain confidential and/or privileged i=
nformation. If you are not the named addressee or if this transmission has =
been addressed to you in error, please notify us immediately by reply e-mai=
l and then delete this e-mail and any attachment from your system. Please u=
nderstand that you must not copy this e-mail or any attachment or disclose =
the contents to any other person. Thank you for your cooperation.

--001a11c1092ee0b9d704f671f8e2--