How to create vg in aix

How do you make a scalable VG in AIX?

The following command will create a scalable VG (named svg) on hdisk4. You’ll notice that MAX PVs is set to 1024 and MAX LVs is set to 256. So, MAX LVs is set to 256 by default in a scalable VG.

How do you make VG?

Procedure
  1. Create a LVM VG, if you do not have an existing one: Log into the RHEL KVM hypervisor host as root. Add a new LVM partition using the fdisk command.
  2. Create a LVM LV on the VG. For example, to create an LV called kvmVM under the /dev/VolGroup00 VG, run:
  3. Repeat the above VG and LV steps on each hypervisor host.

How do I create a logical volume in AIX?

Creating a new log logical volume:
  1. mklv -t jfs2log -y lvname vgname 1 pvname <– creates the log lv.
  2. logform -V jfs2 /dev/lvname.
  3. chfs -a log=/dev/lvname /fsname <–changes the log lv (it can be checked in /etc/filesystems)

What is LV in AIX?

Like many UNIX operating systems, AIX uses the concepts of Logical Volume Management (LVM) in its data management architecture. LVM is a generalized approach to managing storage that is not specific to any operating system.

Which of the following command is used to create a physical volume?

To create a volume group from one or more physical volumes, use the vgcreate command. The vgcreate command creates a new volume group by name and adds at least one physical volume to it.

How do I close a logical volume in AIX?

Use “smitty lv” and select the logical volume you want to remove. Or use the command, “rmlv”..

How do you close a logical volume?

To remove an inactive logical volume, use the lvremove command. You must close a logical volume with the umount command before it can be removed. In addition, in a clustered environment you must deactivate a logical volume before it can be removed.

How do I create a striped LVM in AIX?

When creating a striped logical volume using the -S flag, you must specify two or more physical volumes or use the -C or -u flag. When creating a striped logical volume, the number of partitions must be an even multiple of the striping width. If not, the number of partitions will be rounded up to the next valid value.