AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  chfs with spcifying a pv

    Posted Tue January 09, 2007 06:28 PM

    Originally posted by: SystemAdmin


    Can i specify a pv in the command of chfs? Have not seen anything about that mentioned in the manual. My /home was created among hdisk0 and hdisk1. Because there is much more space left in the hdisk1. I want to add more space in the hdisk1 sole.
    #AIX-Forum


  • 2.  Re: chfs with spcifying a pv

    Posted Tue January 09, 2007 08:34 PM

    Originally posted by: orphy


    Not with chfs that I'm aware of but there are a couple of ways to do it.

    One way is to create a dummy LV on hdisk0 and then do a chfs which will extend
    your FS using PPs on hdisk1. Another way is to extendlv and then chfs.
    Orphy
    #AIX-Forum


  • 3.  Re: chfs with spcifying a pv

    Posted Tue January 09, 2007 11:55 PM

    Originally posted by: orphy


    I just realized that I typed too fast and didn't really finish typing my
    thought for the first solution (dummy LV). What I meant was to create a dummy
    LV that uses up all the available PPs on hdisk0 and then, assuming that your
    VG only has two hdisks, when you chfs, it will have no choice but to use the PPs
    on hdisk1 for growing your existing FS. After the chfs, you can simply rmlv
    the dummy LV and go on your merry way.
    Orphy
    #AIX-Forum


  • 4.  Re: chfs with spcifying a pv

    Posted Thu January 18, 2007 12:54 PM

    Originally posted by: SystemAdmin


    You can disable the ability to allocate new PP from hdisk0, ie if u increase the size of the LV it used PP from hdisk1
    Use this command

    #chpv -an hdisk0 ( make physical volume not allocatable)

    then increase the size of filesystem

    #chfs -a size=+8192 /home ( This command increases the size of the /home by 8192 512-byte blocks, or 4MB)

    #chpv -ay hdisk0 (To turn on the allocation permission)

    #AIX-Forum


  • 5.  Re: chfs with spcifying a pv

    Posted Tue January 30, 2007 12:00 PM

    Originally posted by: SystemAdmin


    Tried "
    1. chpv -a n hdisk0
    0516-1010 chpv: Warning, the physical volume hdisk0 has open logical
    volumes. Continuing with change.
    What does it mean? Do I need to shut the "open logical volumes"? what is it and where?
    #AIX-Forum