Hi Sunsil,<br>
<br>
sorry for bothering you... probably it was too late yesterday and I
missed an obvious step (deleting and recreating the partition with
fdisk).<br>
Now it works like a charm.<br>
<br>
Thank you anyway for pointing me in the right direction ;)<br>
<br>
Cheers<br>
<br>
Mattia<br><br><div class="gmail_quote">On Tue, Mar 30, 2010 at 7:28 PM, Sunil Mushran <span dir="ltr">&lt;<a href="mailto:sunil.mushran@oracle.com">sunil.mushran@oracle.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What&#39;s the current size of the partition? The error indicates<br>
that the partition has not been resized.<br>
<br>
Mattia Gandolfi wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Hi all,<br>
<br>
I&#39;m a new OCFS2 user, I&#39;m trying to implement a 2-nodes cluster with a shared fs, and I&#39;m facing an issue while trying to resize an existing ocfs2 filesystem.<br>
I see from the User&#39;s Guide and from online docunmentation (<a href="http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#RESIZE" target="_blank">http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#RESIZE</a> for example) that online resizing is not supported yet, so I&#39;m going the offline way.<br>

<br>
What I did:<br>
- umount file fs from all (2) cluster nodes<br>
- resized the underlying LUN on the storage<br>
- reboot<br>
- deleted and recreated the partition (/dev/sdc1) with fdisk<br>
- tryed to resize the fs with &quot;tunefs.ocfs2 -S -vvv /dev/sdc1&quot;<br>
<br>
however, if the fs is unmounted I get<br>
<br>
[root@alfappmi-preprod01 ~]# tunefs.ocfs2 -S -vvv /dev/sdc1<br>
Resize specifications: 0 bytes:<br>
Opening device &quot;/dev/sdc1&quot;<br>
Open of device &quot;/dev/sdc1&quot; failed<br>
tunefs.ocfs2: Mountpoint not found for online operation while opening device &quot;/dev/sdc1&quot;<br>
<br>
if I try to do it with the fs mounted I get<br>
<br>
[root@alfappmi-preprod01 ~]# tunefs.ocfs2 -S -vvv /dev/sdc1<br>
Resize specifications: 0 bytes:<br>
Opening device &quot;/dev/sdc1&quot;<br>
Device &quot;/dev/sdc1&quot; opened<br>
Running operation &quot;resize_volume&quot;<br>
Opening device &quot;/dev/sdc1&quot;<br>
Device &quot;/dev/sdc1&quot; opened<br>
Filesystem on device &quot;/dev/sdc1&quot; is already 13107024 clusters; nothing to do<br>
Closing device &quot;/dev/sdc1&quot;<br>
Device closed<br>
Closing device &quot;/dev/sdc1&quot;<br>
Device closed<br>
<br>
according to the documentation -S shoud be enough (&quot;If blocks-count is not specified, tunefs.ocfs2 extends the volume to the current size of the device&quot;).<br>
<br>
What am I missing?<br>
<br>
Thank you very much in advance<br>
<br>
Cheers<br>
<br>
Mattia<br>
<br></div></div>
------------------------------------------------------------------------<div class="im"><br>
<br>
_______________________________________________<br>
Ocfs2-users mailing list<br>
<a href="mailto:Ocfs2-users@oss.oracle.com" target="_blank">Ocfs2-users@oss.oracle.com</a><br>
<a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a><br>
</div></blockquote>
<br>
</blockquote></div><br>