AIX

AIX

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


#Power
 View Only
  • 1.  cplv to copy the logical volume having loglv

    Posted Tue June 21, 2011 06:16 AM

    Originally posted by: karthikraja


    Hi All,

    Am planning to use the cplv command to copy the logical volume from one volume group to another , but i have a doubt while copying the logical volume, do i need to copy the log lv also along with that?

    Please let me know if any one does the cplv having loglv in seperate lv in the same volume group.

    Thanks,
    Karthik
    #AIX-Forum


  • 2.  Re: cplv to copy the logical volume having loglv

    Posted Tue June 21, 2011 07:37 AM

    Originally posted by: ostost


    You don't have to keep the log logical volume. You can just create a new log logical volume in the new volume group and then change the log device using the chfs command.
    #AIX-Forum


  • 3.  Re: cplv to copy the logical volume having loglv

    Posted Tue June 21, 2011 08:34 AM

    Originally posted by: SystemAdmin


    create new one,
    mklv -t jfs2log newvg 1
    #AIX-Forum


  • 4.  Re: cplv to copy the logical volume having loglv

    Posted Tue June 28, 2011 06:15 AM

    Originally posted by: karthikraja


    Hi All,

    After Making the logical log volume wee have to format the Log LV with logform command.

    logform /dev/<lvname>

    and then we can map the File sytem with the formatted log lv.

    Thank you all.

    Thanks,
    Karthik
    #AIX-Forum