Re: Replace a rootvg hard disk with different capacity
From: Jano (bradounet1_at_caramail.com)
Date: 08/29/03
- Next message: Gary R. Hook: "Re: pthread mutex and data alignment"
- Previous message: DT: "Re: Replace a rootvg hard disk with different capacity"
- In reply to: DT: "Re: Replace a rootvg hard disk with different capacity"
- Next in thread: va.patel: "Re: Replace a rootvg hard disk with different capacity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Aug 2003 14:33:54 +0200
In AIX, when you create a volume group, you can use 1016 partitons max
per disk.
To create a rootvg VG on a 9.1 disk, you need to use PP size at least
equal to 16 Mo (1016 x 16 = 16256 Mo maximum disk size), that is not
enougth to create or add a volume group on a 18 gig disk.
to check this, use the following command:
# lsvg rootvg | grep SIZE
...to get the PP size used to create rootvg.
If this value is minor than 32 megabytes, you must use (as Steve says)
the "chvg" command, in order to add the new disk to rootvg.
The "chvg" command using a "-t" by-pass the 1016 partitions limitation.
#######################################################################
-t [factor] Changes the limit of the number of physical partitions per
physical volume, specified by factor. factor should be between 1 and 16
for 32 disk volume groups and 1 and 64 for 128 disk volume groups.
If factor is not supplied, it is set to the lowest value such that the
number of physical partitions of the largest disk in volume group is
less than factor x 1016.
If factor is specified, the maximum number of physical partitions per
physical volume for this volume group changes to factor x 1016.
Notes:
If the volume group is created in AIX 3.2/4.1.2 in violation of 1016
physical partitions per physical volume limit, this flag can be used to
convert the volume group to a supported state. This will ensure proper
stale/fresh marking of partitions.
factor cannot be changed if there are any stale physical partitions in
the volume group.
Once volume group is converted, it cannot be imported into AIX Version
4.3 or lower versions.
This flag cannot be used if the volume group is varied on in concurrent
mode.
The maximum number of physical volumes that can be included in this
volume group will be reduced to (MAXPVS/factor).
Change of the volume group may require the modification of the LVM meta
data. In this situation the volume group will be varied off in
management mode to ensure the integrity of the Volume group, needing the
closure of all open logical volumes in this volume group. Since logical
volumes in rootvg cannot be closed, rootvg cannot be converted if it
needs modification of the meta-data as part of the chvg -t operation.
########################################################################
"man chvg" can help you to understand what I'm trying to explain to you !!!
DT wrote:
> Hi Steve,
>
> If I used mirror the lv to the 18 gig disk, I'm not sure whether still need
> to execute chvg.
> Any comment ?
>
> - DT
>
>
> "Steve Nottingham" <steve@wakefieldrfc.freeserve.co.uk> wrote in message
> news:42862645.0308281328.7f3cdd94@posting.google.com...
>
>>"DT" <odn@sinaman.com> wrote in message
>
> news:<bilg3j$4fb3@imsp212.netvigator.com>...
>
>>>Hi Jano,
>>>
>>>Thanks you for your reply, I will test it with testing machine before
>>
> going
>
>>>to live.
>>>
>>
>>You will not be able to add an 18 gig disk to rootvg without changing
>>the factor of the volume group (man chvg)
>>
>>Steve
>
>
>
- Next message: Gary R. Hook: "Re: pthread mutex and data alignment"
- Previous message: DT: "Re: Replace a rootvg hard disk with different capacity"
- In reply to: DT: "Re: Replace a rootvg hard disk with different capacity"
- Next in thread: va.patel: "Re: Replace a rootvg hard disk with different capacity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|