[ 
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)

Reply via email to