<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>Resize ocfs....?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I've tried several times to resize one of my ocfs volumes[see emcpowere1 below]</FONT>
<BR><FONT SIZE=2>I'm on the latest [prod] version of ocfs/ocfs-tools as of 3pm EST on 18JUL04.</FONT>
<BR><FONT SIZE=2>Per instructions...</FONT>
<BR><FONT SIZE=2>Take down db, unmount all ocfs drives, use ' tuneocfs -F -S 100G /dev/emcpowere1 '</FONT>
</P>

<P><FONT SIZE=2>Supposedly this should work, but I get get....</FONT>
<BR><FONT SIZE=2>The size specified, 100G, is larger than the device size, 59G.</FONT>
<BR><FONT SIZE=2>Aborting.</FONT>
</P>
<BR>

<P><FONT SIZE=2>What am I doing wrong?</FONT>
</P>
<BR>

<P><FONT SIZE=2>######### df-h ########</FONT>
<BR><FONT SIZE=2>Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size&nbsp; Used Avail Use% Mounted on</FONT>
<BR><FONT SIZE=2>/dev/sda2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12G&nbsp; 9.5G&nbsp; 2.4G&nbsp; 80% /</FONT>
<BR><FONT SIZE=2>/dev/sda10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1011M&nbsp;&nbsp; 40M&nbsp; 920M&nbsp;&nbsp; 5% /home</FONT>
<BR><FONT SIZE=2>/dev/sda3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9.1G&nbsp; 3.6G&nbsp; 5.0G&nbsp; 42% /opt/oracle</FONT>
<BR><FONT SIZE=2>none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.8G&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 3.8G&nbsp;&nbsp; 0% /dev/shm</FONT>
<BR><FONT SIZE=2>/dev/sda9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.0G&nbsp;&nbsp; 33M&nbsp; 949M&nbsp;&nbsp; 4% /tmp</FONT>
<BR><FONT SIZE=2>/dev/sda5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.1G&nbsp;&nbsp; 91M&nbsp; 1.8G&nbsp;&nbsp; 5% /var</FONT>
<BR><FONT SIZE=2>/dev/emcpowera1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1022M&nbsp; 173M&nbsp; 849M&nbsp; 17% /u01</FONT>
<BR><FONT SIZE=2>/dev/emcpowerd1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10G&nbsp; 2.2G&nbsp; 7.8G&nbsp; 22% /u04</FONT>
<BR><FONT SIZE=2>/dev/emcpowere1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 60G&nbsp;&nbsp; 59G&nbsp; 1.6G&nbsp; 98% /u06</FONT>
<BR><FONT SIZE=2>/dev/emcpowerf1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 133G&nbsp;&nbsp; 86G&nbsp;&nbsp; 47G&nbsp; 65% /u07</FONT>
<BR><FONT SIZE=2>/dev/emcpowerg1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5.0G&nbsp; 715M&nbsp; 4.2G&nbsp; 14% /u02</FONT>
<BR><FONT SIZE=2>/dev/emcpowerh1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5.0G&nbsp; 940M&nbsp; 4.0G&nbsp; 19% /u03</FONT>
<BR><FONT SIZE=2>/dev/emcpoweri1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 133G&nbsp;&nbsp; 61G&nbsp;&nbsp; 72G&nbsp; 46% /u08</FONT>
<BR><FONT SIZE=2>/dev/emcpowerj1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10G&nbsp; 1.1G&nbsp; 8.9G&nbsp; 11% /u05</FONT>
</P>

<P><FONT SIZE=2>######### fdisk -l /dev/emcpowere #####</FONT>
<BR><FONT SIZE=2>Disk /dev/emcpowere: 64 heads, 32 sectors, 102400 cylinders</FONT>
<BR><FONT SIZE=2>Units = cylinders of 2048 * 512 bytes</FONT>
</P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device Boot&nbsp;&nbsp;&nbsp; Start&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End&nbsp;&nbsp;&nbsp; Blocks&nbsp;&nbsp; Id&nbsp; System</FONT>
<BR><FONT SIZE=2>/dev/emcpowere1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp; 61440&nbsp; 62914544&nbsp;&nbsp; 83&nbsp; Linux</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>|||||||||||||||||||||||||||</FONT>
<BR><FONT SIZE=2>P. Clarke Thomas</FONT>
<BR><FONT SIZE=2>SysAdmin</FONT>
<BR><FONT SIZE=2>Houghton International</FONT>
<BR><FONT SIZE=2><A HREF="http://www.houghtonintl.com" TARGET="_blank">http://www.houghtonintl.com</A></FONT>
<BR><FONT SIZE=2>```````````````````````````</FONT>
<BR><FONT SIZE=2>With sufficient thrust, pigs fly just fine. - RFC 1925&nbsp; </FONT>
</P>

</BODY>
</HTML>