- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to Move the Volume group.
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
11-24-2008 04:55 AM
11-24-2008 04:55 AM
I want to move the particular volume group to Some other Storage Disk.
Existing Volume Group is in One Storage.
I thing pvmove command is used to move that Vg to another storage disk.
Volume group name is Vg01 and new storage disk is C2t0d0.
pla amend the below mentioned command is correct or not?
"pvmove /dev/vg01/ /dev/dsk/c2t0d0"
Pls anyone help to me.
Regards,
Unixguy.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 04:59 AM
11-24-2008 04:59 AM
Re: How to Move the Volume group.
and you mentioned call Closed ..?
how to advice you if you d'not have time to assing points for your dear Freinds,
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 05:00 AM
11-24-2008 05:00 AM
Re: How to Move the Volume group.
Vgexport is the command to export a volume group ok
Sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 05:01 AM
11-24-2008 05:01 AM
Re: How to Move the Volume group.
The Call has been closed.
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1291159
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 05:01 AM
11-24-2008 05:01 AM
Re: How to Move the Volume group.
pvmove is one of the option. Another way is mirror the old disks with new disks and remove the old disks from the mirror. This is the safest method I would say.
Anyway the command syntax of pvmove would be
#pvmove
#pvmove /dev/dsk/c1t2d0 /dev/dsk/c2t2d0
Hope this helps.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 05:02 AM
11-24-2008 05:02 AM
Re: How to Move the Volume group.
# pvmove /dev/dsk/cxtydz /dev/dsk/c2t0d0
Change the cxtydz device file into your old disk device file.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 05:04 AM
11-24-2008 05:04 AM
Re: How to Move the Volume group.
should always do
man pvmove
(pvmove command is used move Logical Volumes, not Volume Group)
Volume group name is Vg01 and new storage disk is C2t0d0.
pla amend the below mentioned command is correct or not?
"pvmove /dev/vg01/ /dev/dsk/c2t0d0"<<<
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 05:06 AM
11-24-2008 05:06 AM
Re: How to Move the Volume group.
Note that pvmove should be done within the volume group. So you need to add the new physical volumes into the existing volume group before start pvmove
Steps you need to follow.
1.#pvcreate
2.#vgextend /dev/vg01
3.#pvmove
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 05:11 AM
11-24-2008 05:11 AM
Re: How to Move the Volume group.
Johnson ,i have doubt
iam not able to move entire Volume Group(Vg01)
only i can do to move the Logical Volume.
am i right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 05:12 AM
11-24-2008 05:12 AM
Re: How to Move the Volume group.
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 05:23 AM
11-24-2008 05:23 AM
Re: How to Move the Volume group.
If pvmove gets interrupted for any reason (e.g. the machine crashes) then run pvmove again without any PhysicalVolume arguments to restart any moves that were in progress from the last checkpoint. Alternatively use pvmove --abort at any time to abort them at the last checkpoint.
You can run more than one pvmove at once provided they are moving data off different SourcePhysicalVolumes, but additional pvmoves will ignore any logical volumes already in the process of being changed, so some data might not get moved.
pvmove works as follows:
1. A temporary 'pvmove' logical volume is created to store details of all the data movements required.
2. Every logical volume in the volume group is searched for contiguous data that need moving according to the command line arguments. For each piece of data found, a new segment is added to the end of the pvmove LV. This segment takes the form of a temporary mirror to copy the data from the original location to a newly-allocated location. The original LV is updated to use the new temporary mirror segment in the pvmove LV instead of accessing the data directly.
3. The volume group metadata is updated on disk.
4. The first segment of the pvmove logical volume is activated and starts to mirror the first part of the data. Only one segment is mirrored at once as this is usually more efficient.
5. A daemon repeatedly checks progress at the specified time interval. When it detects that the first temporary mirror is in-sync, it breaks that mirror so that only the new location for that data gets used and writes a checkpoint into the volume group metadata on disk. Then it activates the mirror for the next segment of the pvmove LV.
6. When there are no more segments left to be mirrored, the temporary logical volume is removed and the volume group metadata is updated so that the logical volumes reflect the new data locations.
Note that this new process cannot support the original LVM1 type of on-disk metadata. Metadata can be converted using vgconvert(8).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 05:28 AM
11-24-2008 05:28 AM
Solutionyou can move logical volume as well as entire disk by using "pvmove"
You can move a logical volume from one disks to another disks
You can also move entire disk data to another disk. In this case whatever the logical volumes on the old disk. will be moved to new disk.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 06:24 AM
11-24-2008 06:24 AM
Re: How to Move the Volume group.
I closed this thread....
Thanks a lot Johnson.....
Regards,
Unixguy.