- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- migrating between arrays , mirrordisk ? , max PV i...
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
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
08-28-2003 04:42 AM
08-28-2003 04:42 AM
migrating between arrays , mirrordisk ? , max PV issue
I'll shortly be having to migrate disk from a StorageWorks array to EMC.
Most of my systems/volume groups should be able to use MirrorDisk, but a few have that old max_pv set to default (16) issue, so can't extend etc.
I see from browsing the forum that there is no real way around this, and am happy to just backup/restore or copy data if necessary.
but I have 1 question (well maybe 2)
would pvmove help at all with my scenario ?
anybody got any other suggestions as to how to move the data ?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 04:46 AM
08-28-2003 04:46 AM
Re: migrating between arrays , mirrordisk ? , max PV issue
I believe, if you look at the man page for pvmove, that the pv's have to be in the same vg. That can be a bit of a problem, but if you can work around it, it might present a possible solution for you.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 04:50 AM
08-28-2003 04:50 AM
Re: migrating between arrays , mirrordisk ? , max PV issue
Using MirrorDisk/UX to replicate your data to EMC isn't going to do anything more than replicate the same LVM header information leaving your LVM geometry the same as it is currently. 'pvmove' is really a poor-man's MirrorDisk/UX insofar as 'pvmove' actually uses some of the same LVM code that MirrorDisk/UX does. Thus, 'pvmove' isn't a solution for you either. You need to "bite-the-bullet' and recreate ('vgcreate') new volume groups on your new physical disks and copy your data.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 05:11 AM
08-28-2003 05:11 AM
Re: migrating between arrays , mirrordisk ? , max PV issue
There are a couple of reasons:
1. Always use a technique that you can test and time in advance; that is "rerunnable" in case you have an error half-way through; and that has a "backout" option.
2. pvmove and mirror/UX alter the VG, and don't lend themselves to (1) above.
3. copying online is often faster than tape restores, where you are limited by tape speed. However, they have the disadvantage of you have to shut down the database to do the copy. So you want to know in advance how long it will take.
4. pvmove and mirror/UX are slow.
Also, on a different disk with different sizes and characteristics, you want to think about laying the disks out the best way for the new disks - which often isn't consistent with your old VGs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 05:12 AM
08-28-2003 05:12 AM
Re: migrating between arrays , mirrordisk ? , max PV issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 05:14 AM
08-28-2003 05:14 AM
Re: migrating between arrays , mirrordisk ? , max PV issue
if you can afforf some downtime, i suggest the following.
Create a new VG for the new disks. Use intelligent parameter in the creation, to allow future growth.
Create the same logical volume (same size) as the source vg
Close the application on your source FS and umount them.
Then issue as many "dd" as needed, between source and destination logical volumes.
The raw idea is a backup/restore, but using the disks directly.
Remember to use the raw device.
Pratical example:
source
/dev/vg01/lvol1 (size 500Mb)
destination
/dev/vg02/lvolnew1 (size 500Mb)
then
dd if=/dev/vg01/rlvol1 of=/dev/vg02/rlvolnew1 bs=1024k
i'm always afraid of using pvmove, if something happens in between you have lost all your data, source and destination.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2003 06:22 AM
08-29-2003 06:22 AM
Re: migrating between arrays , mirrordisk ? , max PV issue
I'm likeing the create new VG (sensibly !) and cpio data idea.
thanks for all the replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2003 06:58 AM
08-29-2003 06:58 AM
Re: migrating between arrays , mirrordisk ? , max PV issue
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x655c31bd9c1b72419b87b2bef76caca5,00.html
Rgds,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2003 07:09 AM
08-29-2003 07:09 AM
Re: migrating between arrays , mirrordisk ? , max PV issue
I use pvmove to do this sort of thing quite often and it works fine. Especially handy if you don't have MirrorDisk UX. Just "nohup" it as it can take a while (a 9GB EMC RAID-S device will take about an hour).
Simply:
- vgextend one of the new EMC LUN's into the vg
- pvmove the data from one or more of the old devices to the new PV added above.
- vgreduce out the old ones freed from above step.
Should work fine. Volume group creation should always keep in mind future expandability on more/larger LUNS. Unfortunately, many admins overlook this when creation VG's.