<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div>&gt;Em Tue, 6 Dec 2011 17:58:15 +0800<br>&gt;"Ramappa, Ravi (NSN - IN/Bangalore)" &lt;ravi.ramappa at nsn.com&gt; escreveu:<br>&gt;<br>&gt;&gt; Hi ,<br>&gt;&gt;<br>&gt;&gt; I am getting the error "No space left on device" on a device with free<br>&gt;&gt; space which is ocfs2 filesystem.<br>&gt;&gt; Additional information is as below,<br>&gt;&gt;<br>&gt;&gt; [root at sai93 staging]# debugfs.ocfs2 -n -R "stats" /dev/sdb1 | grep -i<br>&gt;&gt; "Cluster Size"<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  Block Size Bits: 12&nbsp;  Cluster Size Bits: 15<br>&gt;&gt;<br>&gt;&gt; [root at sai93 ~]# cat /etc/redhat-release<br>&gt;&gt; Red Hat Enterprise Linux Server release 5.3 (Tikanga)<br>&gt;&gt;<br>&gt;&gt; [root at sai93 ~]# uname -r<br>&gt;&gt; 2.6.18-128.el5<br>&gt;&gt;<br>&gt;&gt; [root at sai93 ~]# rpm -qa| grep
 ocfs<br>&gt;&gt; ocfs2console-1.4.4-1.el5<br>&gt;&gt; ocfs2-2.6.18-128.el5-1.4.7-1.el5<br>&gt;&gt; ocfs2-tools-1.4.4-1.el5<br>&gt;&gt;<br>&gt;&gt; [root at sai93 ~]# cat /etc/ocfs2/cluster.conf<br>&gt;&gt; node:<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  ip_port = 7777<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  ip_address = 10.71.10.93<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  number = 0<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  name = sai93<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  cluster = ocfs2<br>&gt;&gt; node:<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  ip_port = 7777<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  ip_address = 10.71.10.94<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  number = 1<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  name = sai94<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  cluster = ocfs2<br>&gt;&gt; cluster:<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  node_count =2<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  name = ocfs2<br>&gt;&gt;<br>&gt;&gt; [root at sai93
 ~]#<br>&gt;&gt;<br>&gt;&gt; The only way I overcome this error is by unmounting the ocfs2<br>&gt;&gt; filesystem, doing a fsck followed by server reboot.<br>&gt;&gt;<br>&gt;&gt; 988&nbsp; fsck.ocfs2 /dev/sdb1<br>&gt;&gt;&nbsp;  989&nbsp; mount -a<br>&gt;&gt;&nbsp;  990&nbsp; df -h<br>&gt;&gt;&nbsp;  991&nbsp; touch /mnt/staging/test<br>&gt;&gt;&nbsp;  992&nbsp; man fsck.ocfs2<br>&gt;&gt;&nbsp;  993&nbsp; umount /mnt<br>&gt;&gt;&nbsp;  994&nbsp; service ocfs2 stop<br>&gt;&gt;&nbsp;  995&nbsp; dmesg<br>&gt;&gt;&nbsp;  996&nbsp; reboot<br>&gt;&gt;<br>&gt;&gt; After restarting the servers&nbsp; I have executed the stat_sysdir.sh<br>&gt;&gt; script, the output of which is attached herwith. Kindly confirm<br>&gt;&gt; whether I need to do any changes to ocfs2 configuration , to avoid<br>&gt;&gt; the above error.<br>&gt;&gt;<br>&gt;&gt;&nbsp; &lt;&lt;output.zip&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Thanks &amp; Regards,<br>&gt;&gt;<br>&gt;&gt; Ravi&nbsp;
 Ramappa<br>&gt;<br>&gt;Hello,<br>&gt;<br>&gt;This is a known issue and was fixed in ocfs2 1.6 series by enabling the<br>&gt;discontig-bg feature.<br>&gt;<br>&gt;If you are not using DRDB you can upgrade your kernel and ocfs2-tools<br>&gt;using the ULEK 5.5 series, provided by oracle at<br>&gt;<a href="http://public-yum.oracle.com/" target="_blank">http://public-yum.oracle.com/</a> .<br>&gt;<br>&gt;Regards,<br>&gt;Sérgio<br><br>We are also having a similar issue, but we are using DRBD.&nbsp; We are set at the minimum 2 node slots, so I can't reduce those any more.<br><br>Is there any other good way to fix this problem, at least for a while?&nbsp; What about ways to preemptively clear some fragmentation before we get the dreaded error?<br><br>I think moving files off the filesystem and back works somewhat, but how can I tell which files to move would have the most effect?<br><br>Thanks,<br>Herman<br><br></div></div></body></html>