- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Pvmove is online
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
Discussions
Discussions
Forums
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
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
тАО02-21-2017 08:18 AM
тАО02-21-2017 08:18 AM
Re: Pvmove is online
Thank you so much, Torsten.
How to create the PVG1? This got confused me.
# pvcreate /dev/rdisk/disk5
# vgextend vg01 /dev/disk/disk5
# lvextend -m 1 /dev/vg01/lvol1 PVG1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2017 09:09 AM
тАО02-21-2017 09:09 AM
Re: Pvmove is online
Please read my previous post again, I added a line for clarification
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2017 10:34 AM
тАО02-21-2017 10:34 AM
Re: Pvmove is online
Thank you and steps completed until mirroring part. how to remove the old disks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2017 10:41 AM
тАО02-21-2017 10:41 AM
Re: Pvmove is online
Mirroring:
# lvextend -m 1 /dev/vgother/lvoracle pvg2
After mirroring, to remove old disks:
# lvreduce -m 0 /dev/vgname/lvname pvg1
Correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2017 05:42 AM
тАО02-22-2017 05:42 AM
Re: Pvmove is online
@/root> lvreduce -m 0 /dev/vgoracle/lvoracle pvg1 ==> this didn't work
@/root> for i in 33 34 35 36 37 38 39 40 41 42 43; do lvreduce -m 0 /dev/vgoracle/lvoracle /dev/disk/disk$i; done
Logical volume "/dev/vgoracle/lvoracle" has been successfully reduced.
Volume Group configuration for /dev/vgoracle has been saved in /etc/lvmconf/vgoracle.conf
lvreduce: "MirrorCopies" parameter "0" is not smaller than existing number "0";
therefore no mirrors are removed.
lvreduce: "MirrorCopies" parameter "0" is not smaller than existing number "0";
therefore no mirrors are removed.
lvreduce: "MirrorCopies" parameter "0" is not smaller than existing number "0";
therefore no mirrors are removed.
lvreduce: "MirrorCopies" parameter "0" is not smaller than existing number "0";
therefore no mirrors are removed.
lvreduce: "MirrorCopies" parameter "0" is not smaller than existing number "0";
therefore no mirrors are removed.
lvreduce: "MirrorCopies" parameter "0" is not smaller than existing number "0";
therefore no mirrors are removed.
lvreduce: "MirrorCopies" parameter "0" is not smaller than existing number "0";
therefore no mirrors are removed.
lvreduce: "MirrorCopies" parameter "0" is not smaller than existing number "0";
therefore no mirrors are removed.
lvreduce: "MirrorCopies" parameter "0" is not smaller than existing number "0";
therefore no mirrors are removed.
lvreduce: "MirrorCopies" parameter "0" is not smaller than existing number "0";
therefore no mirrors are removed.
@/root> lvdisplay -v /dev/vgoracle/lvoracle|more
--- Logical volumes ---
LV Name /dev/vgoracle/lvoracle
VG Name /dev/vgoracle
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 20416
Current LE 638
Allocated PE 638
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/disk/disk34 58 58
/dev/disk/disk35 58 58
/dev/disk/disk36 58 58
/dev/disk/disk37 58 58
/dev/disk/disk38 58 58
/dev/disk/disk39 58 58
/dev/disk/disk40 58 58
/dev/disk/disk41 58 58
/dev/disk/disk42 58 58
/dev/disk/disk43 58 58
/dev/disk/disk140 58 58
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/disk/disk140 00000 current
00001 /dev/disk/disk34 00178 current
00002 /dev/disk/disk35 00178 current
00003 /dev/disk/disk36 00178 current
00004 /dev/disk/disk37 00178 current
00005 /dev/disk/disk38 00178 current
00006 /dev/disk/disk39 00178 current
00007 /dev/disk/disk40 00178 current
00008 /dev/disk/disk41 00178 current
00009 /dev/disk/disk42 00178 current
00010 /dev/disk/disk43 00178 current
00011 /dev/disk/disk140 00011 current
00012 /dev/disk/disk34 00179 current
00013 /dev/disk/disk35 00179 current
00014 /dev/disk/disk36 00179 current
00015 /dev/disk/disk37 00179 current
00016 /dev/disk/disk38 00179 current
00017 /dev/disk/disk39 00179 current
00018 /dev/disk/disk40 00179 current
00019 /dev/disk/disk41 00179 current
00020 /dev/disk/disk42 00179 current
00021 /dev/disk/disk43 00179 current
00022 /dev/disk/disk140 00022 current
00023 /dev/disk/disk34 00180 current
00024 /dev/disk/disk35 00180 current
@/root> lvextend -m 1 /dev/vgoracle/lvoracle pvg2
LVM: Unable to map all the LEs to unique PEs.
lvextend: The LVM device driver could not extend the
logical volume "/dev/vgoracle/lvoracle".
@/root>
Goal is, to move everything to disk140
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2017 06:57 AM
тАО02-22-2017 06:57 AM
Re: Pvmove is online
there is data on the new disk, but no mirror at all!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2017 07:18 AM
тАО02-22-2017 07:18 AM
Re: Pvmove is online
Fixed that issue. Turned off the PVG-strict and that worked.
But now, how to remove the disks33 to disk43? Want all the data only on one disk, which is disk140
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/disk/disk33 163 163
/dev/disk/disk34 144 153
/dev/disk/disk35 145 153
/dev/disk/disk36 144 153
/dev/disk/disk37 145 153
/dev/disk/disk38 144 153
/dev/disk/disk39 58 58
/dev/disk/disk40 58 58
/dev/disk/disk41 58 58
/dev/disk/disk42 58 58
/dev/disk/disk43 58 58
/dev/disk/disk140 58 58
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2017 08:33 AM
тАО02-22-2017 08:33 AM
Re: Pvmove is online
>> Turned off the PVG-strict and that worked.
What worked?
Not sure what exactly you did now.
How about a lvdisplay -v ...now?
And first lines of a pvdisplay -v ... too, please.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2017 04:14 AM
тАО02-24-2017 04:14 AM
Re: Pvmove is online
Was able to mirror once I turn on the pvg-strict
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2017 05:30 AM
тАО02-24-2017 05:30 AM
Re: Pvmove is online
without the mirror copy is anywhere in free space ... not on the disk you want!
depending on your settings the copy may be on the same disk - kind of useless.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!