About Us

RSInfoMinds, a web based IT Training and Consultancy firm. It is established with high dreams in training people in IT Infrastructure Field. We provide Online and Class Room training in various fields of IT Infrastructure Management.

Join Us: http://www.facebook.com/RSInfoMinds
Mail Us: rsinfominds@gmail.com
Twitter: @RSInfoMinds

We are specialized in the below courses:

Redhat Linux Admin Redhat Linux Cluster
Redhat Virutualization IBM AIX Admin
IBM AIX Virtualization IBM AIX Cluster
HP Unix Admin HP Unix Cluster
HP Unix Virtualization Shell Scripting
Veritas Volume Manager Veritas Cluster
Oracle Core DBA VMWare


We provide training in such a way, So that you get in depth knowledge on the Courses you look for.

And we ensure you are very confident from each and every Techincal aspect that the IT Industry needs and expects from you.

We also conduct Workshops on the latest technology and the real time faculties sharing their work experiences to make you the best.

Thursday, 17 March 2011

LVM Commands


# lspv - List available Physical Volumes

# lspv -l PV - List the logical volume configured on the Physical Volume.

# lspv -M PV - View the mirroring information of the Physical Volume.

# lspv -p PV - View the physical partitions information on the Physical Volume.

# lquerpv -M PV - View the Logical track group of a Physical Volume.

# mkvg -y <VG Name> -s <Physical Partition Size in the power 2> <Physical Volumes> - To create a Volume Group with a specific name of desired PP size.

# mkvg -y <VG Name> <Physical Volumes> - To create a Volume Group with the specific name of default PP size (default 4 MB).

# mkvg -s <Physical Partition Size in the power 2> <Physical Volumes> - To create a Volume Group with the default name (default vg00) of desired PP Size.

# mkvg <Physical Volumes> - To create a Volume Group with default name of default size.

# lsvg - To view all the configured Volume Groups.

# lsvg -o - To view all the active Volume Groups.

# lsvg -l VG Name - To view the logical volumes of that Volume Group.

# lsvg -p VG Name - To view the physical volumes of that Volume Group.

# lsvg -M VG Mame - To check the Volume Group is mirrored or not.

# lsvgfs VG Name - To view the filesystems on the Volume Group.


Linux IP Address Bonding

Bonding refers to the process to binding an IP Address interface to one or more interface for redundancy purpose.

Here I have posted how to creating a bonded interface by binding eth0 and eth1 together.

Steps to create IP Address Bonding in Linux :

1) # cd /etc/sysconfig/network-scripts/

2) # touch ifcfg-bond0          /* Creating a IP address configuration file for Bonding inteface */

3) # vi ifcfg-bond0 and add the following information:

DEVICE = bond0
IPADDR = IP address of your interface
NETMASK = Corresponding netmask
GATEWAY = Gateway address
BOOTPROTO = none
ONBOOT = Yes

If you find difficult in typing this information, these informations could be copies from one of the configuration files like "ifcfg-eth#" and it can be edited.

4) Similarly edit, # vi ifcfg-eth0 and ifcfg-eth1

Ensure you  have only the below informations on both the files.

DEVICE = eth#
BOOTPROTO = yes
ONBOOT = yes
MASTER = bond0
SLAVE = yes

This ensures that the bond0 is used as a primary interface and eth0 and 1 act as a secondary interface.

5) Edit /etc/modprobe.conf

alias bond0 bonding
alias bond0 mode=balance_alb miimon=100

6) # modprobe bonding

7) # service network restart

8) # chkconfig network on

9) Restart the machine.

10) Finally verify the bonded interface in  # ifconfig -a

11) Can also be verified in  /proc/net/bonding/bond0.



Good to Know about AIX Commands-13/03/2011

  1. # bootinfo -o hdisk # - To find the Device Address.
  2. # svmon -P -t 1 - To find the process consuming more memory.
  3. # export HISTTIMEFORMAT="%d%m%yyyy-%H%M%S" - To view the history with time stamp.
  4. # export HISTSIZE=500 - Sets the size of the history file to 500.
  5. # mkdir <filename> and # cd $! - This opens the file which you created.
  6. # errlogger "Test Message" - To check the Error logger Demon is working fine.
  7. # find / -xdev ls | sort  +6rn | head - To find the file/directory consuming more space.
  8. # topas -P - To view only the process related information.
  9. # lsrsrc "IBM Management Server" - To check whether your machine is managed by HMC.
  10. # lvlstmajor <VG Name> - To list the major number of a Volume Group.