This discussion is archived
7 Replies Latest reply: Feb 29, 2012 5:45 AM by 918007 RSS

growfs not growing the FS

918007 Newbie
Currently Being Moderated
Hi.. There is a task to add space on one of the FS with 10GB.

Storage team has allocated the disk name "emcpower7a" having 10GB size. i have formatted, labelled the disk before adding it into the metadevice d80. but after doing the # metattach d80 emcpower7a and doing growfs on the FS, the FS size remained the same. Is there any way to remove the device emcpower7a from d80 that i have attached earlier, reformat it and reattach and do a growfs on the FS.

root@modena> metastat -p d80
d80 4 1 emcpower0a \
1 emcpower4a \
1 emcpower7a \
1 emcpower10a

root@modena> df -kh|grep -i d80
/dev/md/dsk/d80 97G 64G 32G 67% /apps/ora/oradata


root@modena> metastat d80
d80: Concat/Stripe
Size: 204565760 blocks (97 GB)
Stripe 0:
Device Start Block Dbase Reloc
emcpower0a 0 No No
Stripe 1:
Device Start Block Dbase Reloc
emcpower4a 1280 No No
Stripe 2:
Device Start Block Dbase Reloc
emcpower7a 640 No No
Stripe 3:
Device Start Block Dbase Reloc
emcpower10a 640 No No

Device Relocation Information:
Device Reloc Device ID
emcpower0a No -
emcpower4a No -
emcpower7a No -
emcpower10a No -

Thanks for your help in advance.
  • 1. Re: growfs not growing the FS
    bobthesungeek76036 Pro
    Currently Being Moderated
    How about showing us the output of the command:

    <pre>/usr/sbin/prtvtoc /dev/rdsk/emcpower7a</pre>
  • 2. Re: growfs not growing the FS
    918007 Newbie
    Currently Being Moderated
    root@modena> /usr/sbin/prtvtoc /dev/rdsk/emcpower7a
    * /dev/rdsk/emcpower7a partition map
    *
    * Dimensions:
    * 512 bytes/sector
    * 10 sectors/track
    * 64 tracks/cylinder
    * 640 sectors/cylinder
    * 32768 cylinders
    * 32766 accessible cylinders
    *
    * Flags:
    * 1: unmountable
    * 10: read-only
    *
    * Unallocated space:
    * First Sector Last
    * Sector Count Sector
    * 20951040 19200 20970239
    *
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    0 0 00 0 20951040 20951039
  • 3. Re: growfs not growing the FS
    bobthesungeek76036 Pro
    Currently Being Moderated
    Ok that looks like I would expect. May we see the prtvtoc output from the other three disks please?

    Go ahead and include a "metastat -t d80" while you are at it.

    Edited by: bobthesungeek76036 on Feb 21, 2012 10:52 AM
  • 4. Re: growfs not growing the FS
    918007 Newbie
    Currently Being Moderated
    These are the prtvtoc outputs for the other disks..
    ========================================

    root@modena> /usr/sbin/prtvtoc /dev/rdsk/emcpower0a
    * /dev/rdsk/emcpower0a partition map
    *
    * Dimensions:
    * 512 bytes/sector
    * 17 sectors/track
    * 128 tracks/cylinder
    * 2176 sectors/cylinder
    * 65535 cylinders
    * 65533 accessible cylinders
    *
    * Flags:
    * 1: unmountable
    * 10: read-only
    *
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    0 0 00 0 142599808 142599807
    =============================================
    root@modena> /usr/sbin/prtvtoc /dev/rdsk/emcpower4a
    * /dev/rdsk/emcpower4a partition map
    *
    * Dimensions:
    * 512 bytes/sector
    * 10 sectors/track
    * 128 tracks/cylinder
    * 1280 sectors/cylinder
    * 32768 cylinders
    * 32766 accessible cylinders
    *
    * Flags:
    * 1: unmountable
    * 10: read-only
    *
    * Unallocated space:
    * First Sector Last
    * Sector Count Sector
    * 40755200 1185280 41940479
    *
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    0 0 00 0 40755200 40755199
    2 5 01 0 41940480 41940479
    ==========================================
    root@modena> /usr/sbin/prtvtoc /dev/rdsk/emcpower10a
    * /dev/rdsk/emcpower10a partition map
    *
    * Dimensions:
    * 512 bytes/sector
    * 10 sectors/track
    * 64 tracks/cylinder
    * 640 sectors/cylinder
    * 32768 cylinders
    * 32766 accessible cylinders
    *
    * Flags:
    * 1: unmountable
    * 10: read-only
    *
    * Unallocated space:
    * First Sector Last
    * Sector Count Sector
    * 20951040 19200 20970239
    *
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    0 0 00 0 20951040 20951039
    2 5 01 0 20970240 20970239
    ======================================
    root@modena> metastat -t d80
    d80: Concat/Stripe
    Size: 204565760 blocks (97 GB)
    Stripe 0:
    Device Start Block Dbase Reloc
    emcpower0a 0 No No
    Stripe 1:
    Device Start Block Dbase Reloc
    emcpower4a 1280 No No
    Stripe 2:
    Device Start Block Dbase Reloc
    emcpower7a 640 No No
    Stripe 3:
    Device Start Block Dbase Reloc
    emcpower10a 640 No No

    Device Relocation Information:
    Device Reloc Device ID
    emcpower0a No -
    emcpower4a No -
    emcpower7a No -
    emcpower10a No -
    ==================================

    Edited by: 915004 on Feb 21, 2012 11:33 AM
  • 5. Re: growfs not growing the FS
    bobthesungeek76036 Pro
    Currently Being Moderated
    I am disturbed the timestamps didn't show when you specified the "-t". Also your block counts are not adding up right. If you subtract the blocks from the disk you added you are left with a lower number than the size of d80.
  • 6. Re: growfs not growing the FS
    918007 Newbie
    Currently Being Moderated
    Yes.. That is my concern too.. The timestamp for all the volumes with devices emcpower* is not showing up but all looks good for those with the internal device.

    Is it possible that this might have happened when i allocated the disk, the disk was not fomatted/labelled properly?
    If we try to remove the device emcpower7a from d80, would it corrupt the data already available in d80?

    as far as i'm aware, when i ran growfs after adding emcpower7a to d80, there was no change in the size of the FS.. but after i added emcpower10a (10GB in size), (following the normal procedure), the FS size increased with with 10GB.
  • 7. Re: growfs not growing the FS
    918007 Newbie
    Currently Being Moderated
    Hi.. Could anyone suggest how to resolve this issue..

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points