Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E76811899 for ; Sun, 14 Sep 2014 21:53:35 +0000 (UTC) Received: (qmail 33143 invoked by uid 500); 14 Sep 2014 21:53:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 33098 invoked by uid 500); 14 Sep 2014 21:53:34 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 33086 invoked by uid 99); 14 Sep 2014 21:53:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Sep 2014 21:53:34 +0000 Date: Sun, 14 Sep 2014 21:53:34 +0000 (UTC) From: "AMIT KUMAR (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7838) Warn user when disks are network/ebs mounted MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14133409#comment-14133409 ] AMIT KUMAR commented on CASSANDRA-7838: --------------------------------------- I looked up sigar code: https://github.com/hyperic/sigar/blob/189843858ecd8da7fb94a6b274269877c2416b3a/src/sigar.c#L520 You are right -it checks the file system type to determine if the file system is networked or not, so it will not find SAN or EBS, the log info is of limited value, but it will emit a warning about NFS/SMB etc. -that does seem to provide some value but not address this ticket's intention. We had talked about other things that could be done with SIGAR -like getting the load information and emitting a warning when the system load is high, keeping some history about read and write queues of the disk and warn when things are going south. I would be happy to do some more digging and see where we can go with this. > Warn user when disks are network/ebs mounted > -------------------------------------------- > > Key: CASSANDRA-7838 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7838 > Project: Cassandra > Issue Type: Improvement > Reporter: T Jake Luciani > Priority: Minor > Labels: lhf > Fix For: 3.0 > > > The Sigar project let's you probe os/cpu/filesystems across the major platforms. > https://github.com/hyperic/sigar > It would be nice on start-up to use this to warn users if they are running with settings that will make them sad, like Network drive or EBS on Ec2. -- This message was sent by Atlassian JIRA (v6.3.4#6332)