AIX

 View Only
Expand all | Collapse all

remove or deactivate pgsp hd6

  • 1.  remove or deactivate pgsp hd6

    Posted Tue September 29, 2009 05:14 AM

    Originally posted by: SystemAdmin


    Hi,

    aix 5.3: i want to convert a rootvg to big vg format. anyway thats not possible while there is an active paging space on it. so I changed the hd6 paging space to not be activated at boot (auto=no). when I reboot the machine, hd6 nevertheless gets activated as a paging space.

    swapoff does not work, nor does rmps while it is active.

    / # swapoff /dev/hd6
    0517-081 swapoff: Cannot deactivate paging space /dev/hd6.
    : There is not enough space in the file system.

    any hints?
    Greets
    Delgado


  • 2.  Re: remove or deactivate pgsp hd6

    Posted Tue September 29, 2009 08:53 AM

    Originally posted by: SystemAdmin


    Hi,

    Can you Please post the output for #lsps -a & #lsps -s ?


  • 3.  Re: remove or deactivate pgsp hd6

    Posted Tue September 29, 2009 09:07 AM

    Originally posted by: SystemAdmin


     <ol> <li>lsps -a</li> </ol> Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type
    hd6 hdisk0 rootvg 4096MB 1 yes yes lv

    <ol> <li>lsps -s</li> </ol> Total Paging Space Percent Used
    4096MB 1%


  • 4.  Re: remove or deactivate pgsp hd6

    Posted Tue September 29, 2009 09:32 AM

    Originally posted by: orphy


    You can't disable the paging space when that's the only one you have. What you could try is create another paging space on a non-rootvg VG, do your stuff, and when you are done, put hd6 back in rootvg and then remove the temp pgsp.
    Orphy


  • 5.  Re: remove or deactivate pgsp hd6

    Posted Tue September 29, 2009 09:53 AM

    Originally posted by: SystemAdmin


    thanks orphy for the input.

    will aix fail to boot without a paging space?


  • 6.  Re: remove or deactivate pgsp hd6

    Posted Tue September 29, 2009 09:55 AM

    Originally posted by: orphy


    AIX will not be happy without a paging space and that's why it insisted on activating it even after you disabled it. That's the reason you need to create a temp pgsp, disable hd6, boot, do whatever you need, put hd6 back, and remove the temp pgsp. In fact, this is essentially what we did in the good old days when we had to shrink hd6.

    This URL should be helpful to you.

    http://www-01.ibm.com/support/docview.wss?uid=isg3T1010881

    What I would also suggest it to create a mksysb before you make any changes.
    Orphy


  • 7.  Re: remove or deactivate pgsp hd6

    Posted Tue September 29, 2009 09:57 AM

    Originally posted by: SystemAdmin


    Well that's I mean to check with lsps -a, If you have more than one lv for paging, It seems like you only have one lv of 4GB, Also as we can see it's only using 1%, so you can create small paging space of 512MB or so and then delete one with 4GB. expand your rootvg.


  • 8.  Re: remove or deactivate pgsp hd6

    Posted Wed September 30, 2009 12:09 PM

    Originally posted by: SystemAdmin


    Delgado could you paste the output from the command you used for changing rootvg to bigvg?

    r/
    R


  • 9.  Re: remove or deactivate pgsp hd6

    Posted Wed September 30, 2009 01:37 PM

    Originally posted by: SystemAdmin


    error message said cannot convert a vg with an active paging space.
    pretty obvious

    cheers


  • 10.  Re: remove or deactivate pgsp hd6

    Posted Thu October 01, 2009 11:42 AM

    Originally posted by: Holgervk


    >i want to convert a rootvg to big vg format

    Why do you want to do this? Do you have so many disks in rootvg??

    All lv-oriented commands like lsvg etc. take much longer with a big vg.
    If you really have too many disks, use a enhanced scalable vg. Its faster and more flexible.


  • 11.  Re: remove or deactivate pgsp hd6

    Posted Thu October 01, 2009 01:46 PM

    Originally posted by: SystemAdmin


    don't worry. it's a test system which only has these 2 disks and I want to run tests with mirror write consistency set to passive, which needs the vg to be in big format. thats why.