- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirror LVOL on a VG
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
тАО11-12-2007 06:37 AM
тАО11-12-2007 06:37 AM
----------------------------------------------
# bdf /depot
Filesystem kbytes used avail %used Mounted on
/dev/vg02/lvdepot 12288000 11713490 556738 95% /depot
# lvdisplay /dev/vg02/lvdepot
--- Logical volumes ---
LV Name /dev/vg02/lvdepot
VG Name /dev/vg02
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 12000
Current LE 3000
Allocated PE 3000
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
# vgdisplay -v vg02
--- Volume groups ---
VG Name /dev/vg02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 2559
VGDA 4
PE Size (Mbytes) 4
Total PE 3070
Alloc PE 3000
Free PE 70
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg02/lvdepot
LV Status available/syncd
LV Size (Mbytes) 12000
Current LE 3000
Allocated PE 3000
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c12t1d3
PV Status available
Total PE 2559
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t0d2
PV Status available
Total PE 511
Free PE 70
Autoswitch On
----------------------------------------------
Now the steps...
1. i can create a single LUN for 12GB.
2. pvcreate the C#t#d#
3. vgextend vg02 c#t#d#
4. vgsync vg02.
Is this correct?
Thanks
brian.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 06:41 AM
тАО11-12-2007 06:41 AM
Re: Mirror LVOL on a VG
There is only 70 Free PE on c12t0d2..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 06:41 AM
тАО11-12-2007 06:41 AM
Re: Mirror LVOL on a VG
Everything's good until step 4. Replace the vgsync with
lvextend -m 1 /dev/vg02/lvdepot
You have to create the mirror for the lvol. It will automatically start syncing. You can monitor with lvdisplay.
lvdisplay -v /dev/vg02/lvdepot|grep stale|wc -l
Regards,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 08:10 AM
тАО11-12-2007 08:10 AM
Re: Mirror LVOL on a VG
- vgextend is ok
- extend the mirror to the new disk named cxtydz
# lvextend -m 1 /dev/vg02/lvdepot /dev/dsk/cxdytz
will extend lvdepot the mirror to this disk.
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
тАО11-12-2007 08:28 AM
тАО11-12-2007 08:28 AM
Solution1. Carve two LUNs totalling 12 GB
2. pvcreate the two LUNs
3. vgextend vg02 /devdsk/c1t1d0 /dev/dsk/c2t1d0
4. lvextend -m 1 /dev/vg02/lvdepot onto them
If your OS is HPUX 11iv2 or higher you can "vgmodify -e
~hope it helps