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.

Friday 15 April 2011

Logical Volume Copy

This posts explains the steps the copy a logical volume from one volume group to another volume group.

Scenario:

Logical Volume : /dev/fslv01

Mount Point : /data

Source Volume Group : office

New Logical Volume Name : /dev/copy-fslv01

Destination Volume Group :  home

Step 1:

# lsvg -l office /* Verify the LV's in the VG */

# umount /data /* Unmount the LV */

# cplv -y <New LV Name> -v <Destination VG> <LV to be Copied>

# cplv -y copy-flsv01 -v home fslv01

# lsvg -l home /* Verify a new LV is created by the name copy-fslv01 in home VG */

# mklv -t jfs2log  home 1 /* Creating a log device for the copy-fslv01 LV */

# logform /dev/loglv01 /* Initialize the log device */

# chfs -a log=/dev/loglv01 -a device=/dev/copy-fslv01 /data

Changing the reference for the file system indicating the new log device and new logical volume on /data.

Note: Mount point act a reference in copying a logical volume from one VG to another VG. Mount point has to be the same.

# mount /data

# cd /data 

You can find all the information stored in the logical volume /dev/fslv01 in /dev/copy-fslv01. Thanks.




No comments:

Post a Comment