How do you check if a VG is mirrored in AIX?
From the output of lsvg -M , you can see the 1st and 2nd copy of an lv resides on which disk. After that you can check if that disk belongs to the correct mirror pool or not.
How to reduce LV size in aix?
“chlv” is the command to do any changes to existing logical volume. (ii)Reduce Logical Volumes: There is no direct command , you can use file system command “chfs” to reduce the lv indirectly.
How do I mirror VG in AIX?
Mirroring the rootvg Volume Group for AIX
- Mirror rootvg using mirrorvg or mklvcopy.
- Make the new mirrored disk bootable by running bosboot.
- Add the new mirrored disk to the bootlist.
- Reboot the system to disable quorum. (5300-06 and below only)
What is Volume Group in AIX?
When you install a system, the first volume group (VG) is created. It is called the rootvg. Your rootvg volume group is a base set of logical volumes required to start the system. It includes paging space, the journal log, boot data, and dump storage, each on its own separate logical volume.
What is Rootvg in AIX?
rootvg is, as the name suggests, the volume group ( vg ) that contains / ( root ) and any other logical volumes you created during installation — it’s basically the default AIX volume group. Volume Groups ( VG s) are an AIX thing — they’re basically logical disks (comprised of one or more Physical Volumes ( PV s).
How do you add a space in AIX?
Increasing paging space on AIX for WebSphere Network Deployment installation
- Check the paging size by entering this command: # lsps -a. Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum hd6 hdisk0 rootvg 2560MB 13 yes yes lv 0.
- Enter this command to increase swap size: # chps -s 8 hd6.
How add mount point in AIX?
Procedure
- Open a SSH or Telnet connection to the virtual machine.
- Identify the new disk.
- Run a scan of your hardware as follows to ensure the new disk is recognized by the operating system:
- Create a new volume group containing the added hdisk1 volume.
- Run the lspv command to see the size of the new volume.
What is LTG in AIX?
The LTG is the maximum transfer size of a logical volume and is common. to all the logical volumes in the volume group since it is a volume. group attribute. AIX 5L Version 5.2 accepted LTG values of 128 KB, 256 KB, 512 KB, and. 1024 KB.
What does volume group mean?
A volume group ( VG ) is the central unit of the Logical Volume Manager (LVM) architecture. It is what we create when we combine multiple physical volumes to create a single storage structure, equal to the storage capacity of the combined physical devices.
What is VGDA in AIX?
The VGDA makes each volume group self-describing. An AIX system can read the VGDA on a disk, and from that, the system can determine what physical volumes and logical volumes are part of this volume group. Each disk contains at least one VGDA. This is important at vary on time.
How to create Max number of mirrors in Aix?
We can do mirroring in AIX, using mirrorvg command and we can create max of three copy of mirror. If we have two PV’s in rootvg, now we want mirror, Data and OS installed in hdisk0 and now we want to mirror hdisk0 to hdisk1. Then your command will be NOTE: in mirrored VG quorum should be off line because quorum is not recommended for mirror.
How does splitvg work behind the scenes in Aix?
Splitvg behind the scenes uses recreatevg, and it splits a volume group by mirror copy, not by physical volume. (It means all LV copies should match with each other, so 1st and 2nd copies should be not mixed up on the physical disks, these should be on separate disks.)
What happens when volume group is mirrored in mirrorvg?
By default in mirrorvg, when a volume group’s contents becomes mirrored, volume group quorum is disabled. If the user wishes to keep the volume group quorum requirement after mirroring is complete, this option should be used in the command. For later quorum changes, refer to the chvg command.
Why does the mirrorvg command take so long?
Attention: The mirrorvg command may take a significant amount of time before completing because of complex error checking, the amount of logical volumes to mirror in a volume group, and the time is takes to synchronize the new mirrored logical volumes.