<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: NPE: Error getting devices and partitions</title>
		<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 16:39:04 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/npe-error-getting-devices-and-partitions" rel="self" type="application/rss+xml" />

		<item>
			<title>kireet on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions/page/2#post-1268</link>
			<pubDate>Thu, 01 Mar 2012 22:44:30 +0000</pubDate>
			<dc:creator>kireet</dc:creator>
			<guid isPermaLink="false">1268@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;i tried it out, it's working! Thanks for the prompt responses.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions/page/2#post-1262</link>
			<pubDate>Wed, 29 Feb 2012 23:49:46 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">1262@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;All,&#60;/p&#62;
&#60;p&#62;The latest release of OpsCenter (1.4.1) was just released this afternoon. It should resolve this issue. Please let us know if you see any other problems.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions/page/2#post-1229</link>
			<pubDate>Fri, 24 Feb 2012 17:50:22 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">1229@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;If you have your commitlog directory or saved caches directory on a device mapper (like LVM, for example), that will trigger this.  (A few other random device types could also trigger this.)  If you see the same stracktrace in your logs when running OpsCenter 1.4, you have the same issue.&#60;/p&#62;
&#60;p&#62;The only workaround is to move your commitlog and saved caches directories onto a different type of device, like a normal scsi drive, for example.&#60;/p&#62;
&#60;p&#62;A fix for this will be included in 1.4.1, which we expect to release in a week or two.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kireet on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions#post-1226</link>
			<pubDate>Fri, 24 Feb 2012 15:59:24 +0000</pubDate>
			<dc:creator>kireet</dc:creator>
			<guid isPermaLink="false">1226@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I am facing this error message as well. Is there a way to confirm that it is the same underlying issue? Is there a workaround until the next release is available or is there a timeline for the next release?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions#post-1163</link>
			<pubDate>Thu, 16 Feb 2012 16:13:01 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">1163@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Great, that should be enough to fix the issue in an upcoming release.  Thanks again.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions#post-1159</link>
			<pubDate>Thu, 16 Feb 2012 00:52:06 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1159@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;ls -ltr /sys/block/ccis!c0d0&#60;/p&#62;
&#60;p&#62;drwxr-xr-x 2 root root    0 Feb 12 04:07 slaves/&#60;br /&#62;
drwxr-xr-x 2 root root    0 Feb 12 04:07 holders/&#60;br /&#62;
drwxr-xr-x 3 root root    0 Feb 12 04:08 queue/&#60;br /&#62;
--w------- 1 root root 4.0K Feb 12 04:08 uevent&#60;br /&#62;
lrwxrwxrwx 1 root root    0 Feb 12 04:08 subsystem -&#38;gt; ../../block/&#60;br /&#62;
-r--r--r-- 1 root root 4.0K Feb 12 04:08 stat&#60;br /&#62;
-r--r--r-- 1 root root 4.0K Feb 12 04:08 size&#60;br /&#62;
-r--r--r-- 1 root root 4.0K Feb 12 04:08 removable&#60;br /&#62;
-r--r--r-- 1 root root 4.0K Feb 12 04:08 range&#60;br /&#62;
-r--r--r-- 1 root root 4.0K Feb 12 04:08 dev&#60;br /&#62;
lrwxrwxrwx 1 root root    0 Feb 12 04:08 device -&#38;gt; ../../devices/pci0000:00/0000:00:03.0/0000:0a:00.0/0000:0b:08.0/&#60;br /&#62;
drwxr-xr-x 3 root root    0 Feb 12 04:08 cciss!c0d0p2/&#60;br /&#62;
drwxr-xr-x 3 root root    0 Feb 12 04:08 cciss!c0d0p1/&#60;/p&#62;
&#60;p&#62;rpm -qa &#124; grep sysfs&#60;/p&#62;
&#60;p&#62;sysfsutils-2.0.0-6&#60;br /&#62;
libsysfs-2.0.0-6&#60;br /&#62;
libsysfs-2.0.0-6
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions#post-1158</link>
			<pubDate>Wed, 15 Feb 2012 23:38:01 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">1158@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Heskech, the output of &#60;code&#62;rpm -qa &#124; grep sysfs&#60;/code&#62; might also be worthwhile.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions#post-1157</link>
			<pubDate>Wed, 15 Feb 2012 23:29:45 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">1157@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Heskech and Naseerm, thank you both, this has been extremely useful.&#60;/p&#62;
&#60;p&#62;Heskech, it's very unusual that you don't have the normal sysfs directory structure.  Is this RHEL instance setup in an unusual way? In a particular VM, or as a cloud instance somewhere?&#60;/p&#62;
&#60;p&#62;The output of &#60;code&#62;ls /sys/block/cciss!c0d0&#60;/code&#62; would also be useful.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions#post-1155</link>
			<pubDate>Wed, 15 Feb 2012 22:03:27 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1155@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;thobbs:&#60;/p&#62;
&#60;p&#62;[root@lfs03 logs]# cat /proc/partitions&#60;/p&#62;
&#60;p&#62;major minor  #blocks  name&#60;/p&#62;
&#60;p&#62; 252        0  104857600 vda&#60;br /&#62;
 252        1     131072 vda1&#60;br /&#62;
 252        2    1048576 vda2&#60;br /&#62;
 252        3    1048576 vda3&#60;br /&#62;
 252        4  102628352 vda4&#60;br /&#62;
 253        0    2097152 dm-0&#60;br /&#62;
 253        1   75497472 dm-1&#60;br /&#62;
 253        2    1048576 dm-2&#60;br /&#62;
 253        3    2097152 dm-3&#60;br /&#62;
[root@lfs03x-dxc1 logs]# iostat -x&#60;/p&#62;
&#60;p&#62;Linux 2.6.32-71.el6.x86_64 (lfs03x-dxc1.cimops.net) 	02/15/12 	_x86_64_	(1 CPU)&#60;/p&#62;
&#60;p&#62;avg-cpu:  %user   %nice %system %iowait  %steal   %idle&#60;br /&#62;
          10.63    0.00    2.55    2.86    0.00   83.96&#60;/p&#62;
&#60;p&#62;Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util&#60;br /&#62;
vda               0.01     2.84    0.05   42.78     1.83   151.65     3.58     0.13    3.09   0.98   4.20&#60;br /&#62;
dm-0              0.00     0.00    0.04    0.44     1.23     3.50     9.93     0.23  478.34   0.55   0.03&#60;br /&#62;
dm-1              0.00     0.00    0.01   31.40     0.32   142.07     4.53     0.23    7.47   1.26   3.97&#60;br /&#62;
dm-2              0.00     0.00    0.00    0.00     0.00     0.02     7.98     0.00   97.35  10.71   0.00&#60;br /&#62;
dm-3              0.00     0.00    0.00    0.69     0.02     5.52     8.01     0.01   19.71   3.52   0.24&#60;/p&#62;
&#60;p&#62;[root@lfs03x logs]# readlink /sys/dev/block/253:0&#60;br /&#62;
../../devices/virtual/block/dm-0&#60;br /&#62;
[root@lfs03x logs]# readlink /sys/dev/block/252:0&#60;br /&#62;
../../devices/virtio-pci/virtio1/block/vda&#60;/p&#62;
&#60;p&#62;thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions#post-1153</link>
			<pubDate>Wed, 15 Feb 2012 21:44:13 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1153@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;2.6.18-194.11.4.el5:RHEL5:5.5-1:x86_64:ib-dev
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions#post-1152</link>
			<pubDate>Wed, 15 Feb 2012 21:39:04 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">1152@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Heskech,&#60;/p&#62;
&#60;p&#62;Thanks very much.  No, that's not what I was expecting.  What Linux distro and release are you running?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions#post-1151</link>
			<pubDate>Wed, 15 Feb 2012 21:28:45 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1151@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi, apologies for not responding earlier.  The results of the readlinks are empty. I'm not sure if this was the results you were expecting.&#60;/p&#62;
&#60;p&#62;ls of /sys -&#38;gt;&#60;/p&#62;
&#60;p&#62;drwxr-xr-x  3 root root 0 Feb 12 04:07 firmware/&#60;br /&#62;
drwxr-xr-x  7 root root 0 Feb 12 04:07 devices/&#60;br /&#62;
drwxr-xr-x  2 root root 0 Feb 12 04:08 power/&#60;br /&#62;
drwxr-xr-x 35 root root 0 Feb 12 04:08 block/&#60;br /&#62;
drwxr-xr-x  4 root root 0 Feb 12 04:08 kernel/&#60;br /&#62;
drwxr-xr-x 14 root root 0 Feb 12 04:08 bus/&#60;br /&#62;
drwxr-xr-x 30 root root 0 Feb 12 04:09 class/&#60;br /&#62;
drwxr-xr-x  3 root root 0 Feb 12 04:09 fs/&#60;br /&#62;
drwxr-xr-x 70 root root 0 Feb 12 04:09 module/&#60;/p&#62;
&#60;p&#62;ls /sys/block -&#38;gt;&#60;/p&#62;
&#60;p&#62;drwxr-xr-x 4 root root 0 Feb 12 04:08 dm-6/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 dm-5/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 dm-4/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 dm-3/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 dm-2/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram9/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram8/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram7/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram6/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram5/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram4/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram3/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram2/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram15/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram14/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram13/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram12/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram11/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram10/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram1/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 ram0/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 dm-1/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:08 dm-0/&#60;br /&#62;
drwxr-xr-x 7 root root 0 Feb 12 04:08 cciss!c0d0/&#60;br /&#62;
drwxr-xr-x 5 root root 0 Feb 12 04:09 md0/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:09 loop7/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:09 loop6/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:09 loop5/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:09 loop4/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:09 loop3/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:09 loop2/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:09 loop1/&#60;br /&#62;
drwxr-xr-x 4 root root 0 Feb 12 04:09 loop0/
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nickmbailey on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions#post-1146</link>
			<pubDate>Wed, 15 Feb 2012 17:05:05 +0000</pubDate>
			<dc:creator>nickmbailey</dc:creator>
			<guid isPermaLink="false">1146@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Naseerm,&#60;/p&#62;
&#60;p&#62;This is caused by a bug in the agent code when handling certain device types. Hopefully there will be a fix for this bug in the next release of OpsCenter.&#60;/p&#62;
&#60;p&#62;You could help us make sure we fix the bug correctly by giving the output of the following commands on one of your cassandra nodes:&#60;/p&#62;
&#60;p&#62;cat /proc/partitions&#60;br /&#62;
df &#38;lt;data dir&#38;gt; (&#38;lt;data dir&#38;gt; being the location of data_file_directories configured in cassandra.yaml)&#60;br /&#62;
df &#38;lt;commitlog dir&#38;gt; (commitlog dir&#38;gt; being the location of commitlog_directory in cassandra.yaml)&#60;br /&#62;
iostat -x&#60;br /&#62;
readlink /sys/dev/block/253:0&#60;br /&#62;
readlink /sys/dev/block/104:0&#60;br /&#62;
readlink /sys/dev/block/104:1&#60;/p&#62;
&#60;p&#62;Thanks for the help if you are able,&#60;br /&#62;
Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions#post-1145</link>
			<pubDate>Wed, 15 Feb 2012 16:45:56 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1145@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;was this issue resolved - i have the same issue, unfortunately and any help would be appreciated&#60;/p&#62;
&#60;p&#62;TIA
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "NPE: Error getting devices and partitions"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-error-getting-devices-and-partitions#post-1131</link>
			<pubDate>Fri, 10 Feb 2012 22:09:45 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">1131@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thanks for the output.  Would you mind also pasting the results of the following?&#60;/p&#62;
&#60;p&#62;* &#60;code&#62;readlink /sys/dev/block/253:0&#60;/code&#62;&#60;br /&#62;
* &#60;code&#62;readlink /sys/dev/block/104:0&#60;/code&#62;&#60;br /&#62;
* &#60;code&#62;readlink /sys/dev/block/104:1&#60;/code&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
