Hi all,<br><br>I'm a new OCFS2 user, I'm trying to implement a 2-nodes cluster with a shared fs, and I'm facing an issue while trying to resize an existing ocfs2 filesystem.<br>I see from the User's Guide and from online docunmentation (<a href="http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#RESIZE">http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#RESIZE</a> for example) that online resizing is not supported yet, so I'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 "tunefs.ocfs2 -S -vvv /dev/sdc1"<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 "/dev/sdc1"<br>Open of device "/dev/sdc1" failed<br>
tunefs.ocfs2: Mountpoint not found for online operation while opening device "/dev/sdc1"<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 "/dev/sdc1"<br>Device "/dev/sdc1" opened<br>Running operation "resize_volume"<br>Opening device "/dev/sdc1"<br>Device "/dev/sdc1" opened<br>Filesystem on device "/dev/sdc1" is already 13107024 clusters; nothing to do<br>
Closing device "/dev/sdc1"<br>Device closed<br>Closing device "/dev/sdc1"<br>Device closed<br><br>according to the documentation -S shoud be enough ("If blocks-count is not specified, tunefs.ocfs2 extends the volume to the current size of the device").<br>
<br>What am I missing?<br><br>Thank you very much in advance<br><br>Cheers<br><br>Mattia<br><br>