[Ocfs-users] Resize ocfs....?

Marcos Matsunaga Marcos.Matsunaga at oracle.com
Mon Jul 19 19:31:03 CDT 2004


Resize ocfs....?Well,

When I talked about dynamically expanding the partition, and that partition is in a clustered drive, the utility has to be cluster aware.

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. 

As rule for any operation that may involve loss of data, don't forget to get a good backup before performing any changes.


Regards,

Marcos Eduardo Matsunaga

Oracle Corporation
Corporate Architecture - Linux 

5955 TG Lee Blvd Email    : Marcos.Matsunaga at oracle.com
Orlando, FL 32822 Phone  : (407)458-6453
Fax                                 : (407)851-9093

A crisis is when you can't say "Let's forget the whole thing."
---------------------------------------------------------------------------------------
The statements and opinions expressed here are my own
and do not necessarily represent those of Oracle Corporation.


  ----- Original Message ----- 
  From: Clarke at houghtonintl.com 
  To: Marcos.Matsunaga at oracle.com ; ocfs-users at oss.oracle.com 
  Sent: Monday, July 19, 2004 4:46 PM
  Subject: RE: [Ocfs-users] Resize ocfs....?


  ok, will look into. sort of off topic....

  as the parition is located on a clustered drive.
  if I dynamically expand the partition on NodeA.  do I need to change any files on my other nodes?
  or should they dynamically determine the partition size avail?





------------------------------------------------------------------------------
  From: Marcos Matsunaga [mailto:Marcos.Matsunaga at oracle.com] 
  Sent: Monday, 19 July, 2004 00:01
  To: ml.ocfs at houghtonintl.com; ocfs-users at oss.oracle.com
  Subject: Re: [Ocfs-users] Resize ocfs....?


  Have you resized your physical partition? Does it have the 100Gb for the filesystem? 

  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.

  Regards,

  Marcos Eduardo Matsunaga

  Oracle Corporation
  Corporate Architecture - Linux 

  5955 TG Lee Blvd Email    : Marcos.Matsunaga at oracle.com
  Orlando, FL 32822 Phone  : (407)458-6453
  Fax                                 : (407)851-9093

  A crisis is when you can't say "Let's forget the whole thing."
  ---------------------------------------------------------------------------------------
  The statements and opinions expressed here are my own
  and do not necessarily represent those of Oracle Corporation.


    ----- Original Message ----- 
    From: ml.ocfs at houghtonintl.com 
    To: ocfs-users at oss.oracle.com 
    Sent: Sunday, July 18, 2004 4:12 PM
    Subject: [Ocfs-users] Resize ocfs....?


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

    Supposedly this should work, but I get get.... 
    The size specified, 100G, is larger than the device size, 59G. 
    Aborting. 



    What am I doing wrong? 



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

    ######### fdisk -l /dev/emcpowere ##### 
    Disk /dev/emcpowere: 64 heads, 32 sectors, 102400 cylinders 
    Units = cylinders of 2048 * 512 bytes 

             Device Boot    Start       End    Blocks   Id  System 
    /dev/emcpowere1             1     61440  62914544   83  Linux 




    ||||||||||||||||||||||||||| 
    P. Clarke Thomas 
    SysAdmin 
    Houghton International 
    http://www.houghtonintl.com 
    ``````````````````````````` 
    With sufficient thrust, pigs fly just fine. - RFC 1925  



----------------------------------------------------------------------------


    _______________________________________________
    Ocfs-users mailing list
    Ocfs-users at oss.oracle.com
    http://oss.oracle.com/mailman/listinfo/ocfs-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs-users/attachments/20040719/2d839343/attachment.htm


More information about the Ocfs-users mailing list