- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- EMC Migration from Striped LVOL's.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 12:47 AM
09-01-2004 12:47 AM
However the person before me striped it on the LVM side and I am trying to figure you what is the best way of doing this data migration?
I know I can't add a fibre card and mirror the data across because I don't think you can have a mirror set in a stripe set.
Any suggestions?
Thanks...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 12:55 AM
09-01-2004 12:55 AM
Re: EMC Migration from Striped LVOL's.
Anyways...this is easy...just break the lvm mirrors from one path:
lvreduce -m 0 /dev/vgXX/lvolXX /dev/dsk/cXtXdX
Once that is done, move that fibre card to the new frame, then setup mirroring again, then reduce the old frame....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 12:58 AM
09-01-2004 12:58 AM
Re: EMC Migration from Striped LVOL's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 01:07 AM
09-01-2004 01:07 AM
Re: EMC Migration from Striped LVOL's.
Can you post a vgdisplay -v and a lvdisplay -v /dev/vgXX/lvolX |head -35
If it's striped across the paths, ie, no alternate links, then you only have 2 choices:
Add a fibre card and setup new vg to copy data to.
Or, backup data, blow away vg, move fibre, recreate vg, restore data...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 01:37 AM
09-01-2004 01:37 AM
Re: EMC Migration from Striped LVOL's.
Here is the vgdisplay -v there is a number of PV's in here so I just chopped it a little:
aad06[/dev]# vgdisplay -v /dev/vg9iupgrade |head -35
--- Volume groups ---
VG Name /dev/vg9iupgrade
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 30
Cur PV 25
Act PV 25
Max PE per PV 10000
VGDA 50
PE Size (Mbytes) 4
Total PE 53900
Alloc PE 51200
Free PE 2700
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg9iupgrade/lv9i01
LV Status available/syncd
LV Size (Mbytes) 204800
Current LE 51200
Allocated PE 51200
Used PV 25
--- Physical volumes ---
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 2156
Free PE 108
Autoswitch On
Here is the lvdisplay:
aad06[/dev]# lvdisplay -v /dev/vg9iupgrade/lv9i01|head -35
--- Logical volumes ---
LV Name /dev/vg9iupgrade/lv9i01
VG Name /dev/vg9iupgrade
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 204800
Current LE 51200
Allocated PE 51200
Stripes 25
Stripe Size (Kbytes) 64
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t1d0 2048 2048
/dev/dsk/c2t1d1 2048 2048
/dev/dsk/c2t1d2 2048 2048
/dev/dsk/c2t1d3 2048 2048
/dev/dsk/c2t1d4 2048 2048
/dev/dsk/c2t1d5 2048 2048
/dev/dsk/c2t1d6 2048 2048
/dev/dsk/c2t1d7 2048 2048
/dev/dsk/c2t2d0 2048 2048
/dev/dsk/c2t2d1 2048 2048
/dev/dsk/c2t2d3 2048 2048
/dev/dsk/c2t2d4 2048 2048
/dev/dsk/c2t2d5 2048 2048
/dev/dsk/c2t2d6 2048 2048
/dev/dsk/c2t2d7 2048 2048
/dev/dsk/c2t3d0 2048 2048
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 01:57 AM
09-01-2004 01:57 AM
Re: EMC Migration from Striped LVOL's.
Extending mirrors and reducing mirrors won't help you in this situation. So, you are left with few options.
1. Drop the alternate link, extend it to the new array, scan the disks, create VGs and filesystems in whatever the way you like. Halt the application/database and copy the data. For raw devices, use dd.
2. Use SRDF/mirroring at the backend. Once the mirroring is done on the EMC done, split the mirrors and import the VGs from the new array.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 01:59 AM
09-01-2004 01:59 AM
Re: EMC Migration from Striped LVOL's.
Max PV 30
Cur PV 25
Not enough room in VG to add disks...
So, you will need to create a new volume group on the CX700, and migrate data manually....unless, you setup SRDF, and have EMC migrate (copy) the data to the new frame, then all you do is:
halt your packages
vgexport the existing vg's(create map files first: vgexport -s -v -p -m /tmp/vgXX.map)
move the fibre cables
recreate the the vg's:
mkdir vgXX
mknod /dev/vgXX/group c 64 0xHH0000
XX - vg number
HH - minor number in hex
vgimport -s -v -m /tmp/vgXX.map /dev/vgXX
You will also have to re-compile your cluster binary - as (if this is a 2 node cluster) your lock disk will have changed...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 02:03 AM
09-01-2004 02:03 AM
Re: EMC Migration from Striped LVOL's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 02:33 AM
09-01-2004 02:33 AM
Re: EMC Migration from Striped LVOL's.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 02:38 AM
09-01-2004 02:38 AM
Re: EMC Migration from Striped LVOL's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 02:45 AM
09-01-2004 02:45 AM
SolutionRgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 03:33 AM
09-01-2004 03:33 AM
Re: EMC Migration from Striped LVOL's.
Please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
I noticed that you have assigned points to 0 of 28 responses of your questions.
You can also close your threads.
How many points should I assign to replies?
Every response to your question is eligible to earn between 1-10 points. No need to worry about running out of points - when a truly awesome reply rolls in that deserves a 10, you will be able to assign it a 10! However, be careful to assign points based on the value that a reply truly provides. Use the following scale as a guideline:
o N/A: The answer was simply a point of clarification to my original question
o 1-3: The answer didn't really help answer my question, but thanks for your assistance!
o 4- 7: The answer helped with a portion of my question, but I still need some additional help!
o 8-10: The answer has solved my problem completely! Now I'm a happy camper!
Although assigning points is not mandatory, it is a key component of a strong, interactive community, and it is STRONGLY ENCOURAGED. Others have taken time to help you, so please take a moment to give them credit for their assistance!
Thanks...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 09:06 AM
09-01-2004 09:06 AM
Re: EMC Migration from Striped LVOL's.
I don't know if striping will muck things up. I know extent striping would be no problem.
As long as you can still add a single PV, you can add a PV from the CX to the volume group and then pvmove the data from one of the old PVs to the new one. Once the old PV is empty, remove it from the VG with vgreduce and add a second PV from the CX. Continue this process until all the PVs have been migrated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2004 12:40 AM
09-02-2004 12:40 AM
Re: EMC Migration from Striped LVOL's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2004 12:49 AM
09-02-2004 12:49 AM
Re: EMC Migration from Striped LVOL's.
vxdump -0 -f - -s 1000000 -b 16 /oracle | (cd /zmnt/oracle ; vxrestore rf -)
/oracle is existing, and /zmnt/oracle is a temp mount to the new disks...once done, unmount them both, then mount the new to /oracle....etc for each file system...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 03:34 AM
07-27-2005 03:34 AM
Re: EMC Migration from Striped LVOL's.
cd /source
tar -cvf - . | ( cd /target; tar -xvf - . )
Went like a champ.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 03:38 AM
07-27-2005 03:38 AM
Re: EMC Migration from Striped LVOL's.
cd /source
tar -cvf - . | ( cd /target; tar -xvf - . )
Went like a champ.