- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Split VG and move to new disks
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
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
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
03-21-2012 06:32 AM
03-21-2012 06:32 AM
I am working on an RP2470 running HP-UX 11.23. We currently have one vg with 9 lvols. We will be replacing our existing disks with larger ones (external SAN). For performance purposes, I am being asked to move each of 4 lvols to separate disks. What is the best way to do this. Mirroring to the new disk was originally suggested but it doesn't seem to make sense if I am going to have to create 5 separate vgs instead of the one large vg.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2012 06:49 AM
03-21-2012 06:49 AM
Re: Split VG and move to new disks
Do you really want to use 4 separate VGs?
Then you can only "copy" (backup/restore) your data from one VG to another.
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
03-21-2012 07:11 AM
03-21-2012 07:11 AM
Re: Split VG and move to new disks
No, I don't necessarily need 4 vgs. I thought if I wanted to make sure the data was on a separate disk I had to do it that way. The disks will be presented from the SAN as 5 separate disks. How do I ensure the lvols go to separate disks? These are for use with an Oracle database. they want data in one place and the database divided into 4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2012 07:23 AM - edited 03-21-2012 07:25 AM
03-21-2012 07:23 AM - edited 03-21-2012 07:25 AM
SolutionYou simply create an lvol with zero size, then use lvextend to extend the LVOL to a specific disk.
Same can be done while mirroring the data, let's say
# lvextend -m 1 /dev/vg01/lvol1 /dev/disk/disk1
# lvextend -m 1 /dev/vg01/lvol2 /dev/disk/disk2
etc ...
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!
- Tags:
- lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2012 07:31 AM
03-21-2012 07:31 AM
Re: Split VG and move to new disks
That sounds great! Kind of like killing 2 birds with one stone! And no data restore. Thanks very much for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2012 07:36 AM
03-21-2012 07:36 AM
Re: Split VG and move to new disks
In this case you need to increase these values using "vgmodify" first. Then you can mirror your data to the new array LUN.
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
03-21-2012 07:47 AM
03-21-2012 07:47 AM
Re: Split VG and move to new disks
max_pe_per_pv is currently set to 65535. I have one disk presented with a size of 817 GB. I will be presenting 5 disks that will total 1.3 GB. What to I need to change this value to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2012 08:11 AM
03-21-2012 08:11 AM
Re: Split VG and move to new disks
# vgdisplay -v vg__
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
03-21-2012 08:12 AM
03-21-2012 08:12 AM
Re: Split VG and move to new disks
sochp3.socan.ca(sudo)> /usr/sbin/vgdisplay -v /dev/vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 65535
VGDA 2
PE Size (Mbytes) 16
Total PE 52306
Alloc PE 42690
Free PE 9616
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg01/u09
LV Status available/syncd
LV Size (Mbytes) 170000
Current LE 10625
Allocated PE 10625
Used PV 1
LV Name /dev/vg01/u08
LV Status available/syncd
LV Size (Mbytes) 170000
Current LE 10625
Allocated PE 10625
Used PV 1
LV Name /dev/vg01/u07
LV Status available/syncd
LV Size (Mbytes) 40960
Current LE 2560
Allocated PE 2560
Used PV 1
LV Name /dev/vg01/u06
LV Status available/syncd
LV Size (Mbytes) 51200
Current LE 3200
Allocated PE 3200
Used PV 1
LV Name /dev/vg01/u05
LV Status available/syncd
LV Size (Mbytes) 56320
Current LE 3520
Allocated PE 3520
Used PV 1
LV Name /dev/vg01/u04
LV Status available/syncd
LV Size (Mbytes) 56320
Current LE 3520
Allocated PE 3520
Used PV 1
LV Name /dev/vg01/u03
LV Status available/syncd
LV Size (Mbytes) 56320
Current LE 3520
Allocated PE 3520
Used PV 1
LV Name /dev/vg01/uw03
LV Status available/syncd
LV Size (Mbytes) 40960
Current LE 2560
Allocated PE 2560
Used PV 1
LV Name /dev/vg01/uw02
LV Status available/syncd
LV Size (Mbytes) 40960
Current LE 2560
Allocated PE 2560
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c18t0d0
PV Name /dev/dsk/c14t0d0 Alternate Link
PV Status available
Total PE 52306
Free PE 9616
Autoswitch On
Proactive Polling On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2012 08:29 AM
03-21-2012 08:29 AM
Re: Split VG and move to new disks
Max PE per PV 65535
*
PE Size (Mbytes) 16
=
1048560MB
For a lrager LUN you need to set up a new LUN with a larger PE size.
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!