- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvm mirror extend
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
01-15-2005 08:43 PM
01-15-2005 08:43 PM
lvm mirror extend
I have 02 VA7400 Called P_VA (Primary VA) and B_VA(Backup VA) (P_VA and B_VA located on 2 campus)
On P_VA I created LUN1: size= 1GB.
B_VA also has one LUN named LUN1:size= 1GB
In server LUN1 of P_VA display as c13t0d1 and LUN1 of B_VA c16t0d1.
I create vg01 contains
-----
[trn1:/] vgdisplay -v vg01
PV Name /dev/dsk/c13t0d1
PV Status available
Total PE 255
Free PE 255
Autoswitch On
PV Name /dev/dsk/c16t0d1
PV Status available
Total PE 255
Free PE 255
Autoswitch On
------
Then Create lvora size=800M on vg01and then mirror it on /dev/dsk/c16t0d1
[trn1:/] lvextend –m 1 /dev/vg01/lvora /dev/dsk/c16t0d1
[trn1:/]mount /dev/vg01/lvora /oracle
I install oracle on /oracle so i exceed 90%. And I create 01 LUN (size 10GB. Called c13t0d2) on P_VA and 01LUN (size 10GB cal c16t0d2) on B_VA., then pvcreate, add them to vg01.
NOW I WANT TO ASK THIS QUESTIONG?
When i take “lvextend –L 150M /dev/vg01/lvora vg01” command. How mirror extend to pv now??? I have tested on our system It automaticall extend on both pv like below- It means each lv choose one other lv to extend. But I need document of HP said about this feature to make sure? Any one can give me??
--- Logical volumes ---
LV Name /dev/vg01/lv001
LV Status available/syncd
LV Size (Mbytes) 1200
Current LE 300
Allocated PE 600
Used PV 4
--- Physical volumes ---
PV Name /dev/dsk/c13t0d1
PV Status available
Total PE 255
Free PE 0
Autoswitch On
PV Name /dev/dsk/c16t0d21
PV Status available
Total PE 255
Free PE 0
Autoswitch On
PV Name /dev/dsk/c13t0d2
PV Status available
Total PE 255
Free PE 210
Autoswitch On
PV Name /dev/dsk/c16t0d2
PV Status available
Total PE 255
Free PE 210
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2005 09:41 PM
01-15-2005 09:41 PM
Re: lvm mirror extend
Are you saying you want an official document that explains the allocation procedure when you extend your mirrors ?
When you initially created the lvol what options did you supply ?
Can you post an lvdisplay (without -v) output
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2005 11:52 AM
01-16-2005 11:52 AM
Re: lvm mirror extend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2005 05:24 PM
01-16-2005 05:24 PM
Re: lvm mirror extend
When you extend/reduce the size of mirrored volume, it will affect on PVs included in VG (extend), and PVs configured for LV (reduce).
In your scenario, you had the mirror setup in c13/c16-d1.
you have extended you VG to c13/c16-d2.
When you say lvextend, to extend the size of lvora, LVM will automatically allocated the space from the free-pool of VG. since lvora is the Mirrored volume, lvm has allotted from two different PVs.
Please refer the following URLs for more details on LVM & Mirror disk.
http://docs.hp.com/en/B9106-90015/ch04s03.html
http://docs.hp.com/en/6054/Limits_wp.htm
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2005 05:30 PM
01-16-2005 05:30 PM
Re: lvm mirror extend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2005 05:42 PM
01-16-2005 05:42 PM
Re: lvm mirror extend
I have found a solution myself!!