<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Resize ocfs....?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Well,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>When I talked about dynamically expanding the
partition, and that partition is in a clustered drive, the utility has to
be cluster aware.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>In this case, if you use parted or fdisk (they are not cluster
aware), you would have to unload/load the HBA driver
(easiest way) on all other nodes in order to see the changes that
nodeA made. </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT><FONT size=2>As rule for any operation that may involve
loss of data, don't forget to get a good backup before performing any
changes.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><BR>Regards,</DIV>
<DIV> </DIV>
<DIV>Marcos Eduardo Matsunaga</DIV>
<DIV> </DIV>
<DIV>Oracle Corporation<BR>Corporate Architecture - Linux </DIV>
<DIV> </DIV>
<DIV>5955 TG Lee Blvd Email : <A
href="mailto:Marcos.Matsunaga@oracle.com">Marcos.Matsunaga@oracle.com</A><BR>Orlando,
FL 32822 Phone :
(407)458-6453<BR>Fax
: (407)851-9093</DIV>
<DIV> </DIV>
<DIV>A crisis is when you can't say "Let's forget the whole
thing."<BR>---------------------------------------------------------------------------------------<BR>The
statements and opinions expressed here are my own<BR>and do not necessarily
represent those of Oracle Corporation.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=Clarke@houghtonintl.com
href="mailto:Clarke@houghtonintl.com">Clarke@houghtonintl.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=Marcos.Matsunaga@oracle.com
href="mailto:Marcos.Matsunaga@oracle.com">Marcos.Matsunaga@oracle.com</A> ; <A
title=ocfs-users@oss.oracle.com
href="mailto:ocfs-users@oss.oracle.com">ocfs-users@oss.oracle.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 19, 2004 4:46 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Ocfs-users] Resize
ocfs....?</DIV>
<DIV><BR></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=299483920-19072004>ok, will look into. sort of off
topic....</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=299483920-19072004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=299483920-19072004>as the parition is located on a clustered
drive.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=299483920-19072004>if I dynamically expand the partition on NodeA.
do I need to change any files on my other nodes?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=299483920-19072004>or should they dynamically determine the partition
size avail?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=299483920-19072004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=299483920-19072004></SPAN></FONT> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Marcos Matsunaga
[mailto:Marcos.Matsunaga@oracle.com] <BR><B>Sent:</B> Monday, 19 July, 2004
00:01<BR><B>To:</B> <A
href="mailto:ml.ocfs@houghtonintl.com">ml.ocfs@houghtonintl.com</A>; <A
href="mailto:ocfs-users@oss.oracle.com">ocfs-users@oss.oracle.com</A><BR><B>Subject:</B>
Re: [Ocfs-users] Resize ocfs....?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT size=2>Have you resized your physical partition? Does it have the
100Gb for the filesystem? </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Based on your description, your physical partition has only
59Gb. The filesystem size is limited by the partition size. If you have
some utility that allows you to dynamic resize your physical partition, then
good for you. If not, you have to take a backup, re-create the partition with
100Gb, reformat and restore the backup. In this case, better creating
additional datafiles for the tablespace(s) in some other ocfs filesystem that
has available space.</FONT></DIV>
<DIV><FONT size=2></FONT><BR>Regards,</DIV>
<DIV> </DIV>
<DIV>Marcos Eduardo Matsunaga</DIV>
<DIV> </DIV>
<DIV>Oracle Corporation<BR>Corporate Architecture - Linux </DIV>
<DIV> </DIV>
<DIV>5955 TG Lee Blvd Email : <A
href="mailto:Marcos.Matsunaga@oracle.com">Marcos.Matsunaga@oracle.com</A><BR>Orlando,
FL 32822 Phone :
(407)458-6453<BR>Fax
: (407)851-9093</DIV>
<DIV> </DIV>
<DIV>A crisis is when you can't say "Let's forget the whole
thing."<BR>---------------------------------------------------------------------------------------<BR>The
statements and opinions expressed here are my own<BR>and do not necessarily
represent those of Oracle Corporation.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ml.ocfs@houghtonintl.com
href="mailto:ml.ocfs@houghtonintl.com">ml.ocfs@houghtonintl.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=ocfs-users@oss.oracle.com
href="mailto:ocfs-users@oss.oracle.com">ocfs-users@oss.oracle.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, July 18, 2004 4:12
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Ocfs-users] Resize
ocfs....?</DIV>
<DIV><BR></DIV>
<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
Size Used Avail Use% Mounted on</FONT> <BR><FONT
size=2>/dev/sda2
12G 9.5G 2.4G 80% /</FONT> <BR><FONT
size=2>/dev/sda10
1011M 40M 920M 5% /home</FONT> <BR><FONT
size=2>/dev/sda3
9.1G 3.6G 5.0G 42% /opt/oracle</FONT> <BR><FONT
size=2>none
3.8G 0 3.8G 0% /dev/shm</FONT>
<BR><FONT
size=2>/dev/sda9
1.0G 33M 949M 4% /tmp</FONT> <BR><FONT
size=2>/dev/sda5
2.1G 91M 1.8G 5% /var</FONT> <BR><FONT
size=2>/dev/emcpowera1 1022M 173M
849M 17% /u01</FONT> <BR><FONT
size=2>/dev/emcpowerd1 10G
2.2G 7.8G 22% /u04</FONT> <BR><FONT
size=2>/dev/emcpowere1
60G 59G 1.6G 98% /u06</FONT> <BR><FONT
size=2>/dev/emcpowerf1 133G
86G 47G 65% /u07</FONT> <BR><FONT
size=2>/dev/emcpowerg1 5.0G
715M 4.2G 14% /u02</FONT> <BR><FONT
size=2>/dev/emcpowerh1 5.0G
940M 4.0G 19% /u03</FONT> <BR><FONT
size=2>/dev/emcpoweri1 133G
61G 72G 46% /u08</FONT> <BR><FONT
size=2>/dev/emcpowerj1 10G
1.1G 8.9G 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> Device
Boot Start
End Blocks Id System</FONT> <BR><FONT
size=2>/dev/emcpowere1
1 61440 62914544 83
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 </FONT></P>
<P>
<HR>
<P></P>_______________________________________________<BR>Ocfs-users mailing
list<BR>Ocfs-users@oss.oracle.com<BR>http://oss.oracle.com/mailman/listinfo/ocfs-users<BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>