Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old August 8th, 2007
nagar_yash's Avatar
nagar_yash Offline
Junior Member
 
Join Date: May 2007
Posts: 16
LV move from mirrored disks

Hi
I have two VGs say vg1 and vg2. vg1 is RAID10, having 4PVs, and has many LVs with Oracle data, and we left no free PPs in that VG to grow any more.
All the LVs in vg1 are mirrored across.

vg2 which is RAID5 and we want to move the mirrored LVs which are on vg1 to vg2.

how to go about? any help!

Regards
Yash
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old August 8th, 2007
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 310
Send a message via MSN to cdelgadop
Re: LV move from mirrored disks

Hi

I use the following procedure:

Moving a JFS FIle to a New Volume Group

1. backup data you intend to migrate
2. unmount fs where lv resides
3. copy the source logical volume to the desired volume group with the cplv
command.
For example, where myvg is the NEW volume group and mylv is the name of
the user's
logical volume, enter:

cplv -v myvg mylv

4. All JFS require a log device. If JFS log does not already exists on the
new volume group,

mklv -t jfslog myvg 1

This will return a new jfslog such as loglv00. This will need to be
reformatted with the
logform command to function as a JFS log.

logform /dev/loglv00

5. Change the filesystem to reference a log device that exists in the new vg
and the new
logical volume with the chfs command.

For example where myfilesystem is the name of the user's filesystem,
enter:

chfs -a dev=/dev/lv00 -a log=/dev/loglv00 /myfilesystem

6. RUn fsck to ensure filesystem integrity,

fsck -p /dev/lv00

7. Mount the file system. For example, where myfilesystem is the name of the
user's
file system, enter:

mount /myfilesystem

At this point the migration is complete and any applications or users can
now access the
data in this filesystem. To change the logical volume name, proceed to
step 8. Note: If
you receive errors from the preceding step do not continue, contact AIX
support center.

8. Remove the source logical volume with the rmlv command:

rmlv mylv

9. Rename and reset any needed attributes on the new logical volume with the
chlv or chmod commands.

For example, where mylv is the name of the user's logical volume, enter:

chlv -n mylv lv00
-------------------------------------------------------------

Hope this helps
__________________
cd3lgad0p
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old August 13th, 2007
nagar_yash's Avatar
nagar_yash Offline
Junior Member
 
Join Date: May 2007
Posts: 16
Re: LV move from mirrored disks

Hi there,

The LVs in VG1 are mirrored, so we created a another LV copy on another disks, and then removed it from it from the source copy. By doing this we are able to free the disks in VG1.

But we are still facing issue while adding these disks into the VG2. As the system is under HACMP, this node has disk reserves.. called IBM and lets see...

anyway thanks for you help

Rgds
Yash
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48