- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need to split a mirror to change a RAID chassis
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
03-02-2001 10:40 AM
03-02-2001 10:40 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2001 11:09 AM
03-02-2001 11:09 AM
Solution-s y - Set a strict allocation policy. Mirrors of a logical extent cannot share the same physical volume. This is the default.
-s g - Set a PVG-strict allocation policy. Mirrors of a logical extent cannot share the same physical volume group. A PVG-strict allocation policy cannot be set on a logical volume in a volume group that does not have a physical volume group defined.
The easiest way to see how your LVs were created is to do an 'lvdisplay -v /dev/vg??/lvol?' and look at the output.
In the lvdisplay output you will see something like:
Allocation PVG-strict/distributed
That is showing up because I used the '-s g' policy when creating this lvol.
You can see how the logical extents are distributed between the mirrors further down in the lvdisplay output. Here is a sample of mine:
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
0000 /dev/dsk/c2t8d0 0288 current /dev/dsk/c5t8d0 0288 current
0001 /dev/dsk/c2t9d0 0288 current /dev/dsk/c5t9d0 0288 current
0002 /dev/dsk/c2t10d0 0288 current /dev/dsk/c5t10d0 0288 current
0003 /dev/dsk/c2t11d0 0288 current /dev/dsk/c5t11d0 0288 current
0004 /dev/dsk/c3t8d0 0288 current /dev/dsk/c7t8d0 0288 current
0005 /dev/dsk/c3t9d0 0288 current /dev/dsk/c7t9d0 0288 current
If you are using PVGs then you can see what physical volumes are in each PVG by doing a vgdisplay -v /dev/vg??. You will get someting like this:
--- Physical volume groups ---
PVG Name vgnewdt0
PV Name /dev/dsk/c2t8d0
PV Name /dev/dsk/c2t9d0
PV Name /dev/dsk/c2t10d0
PV Name /dev/dsk/c2t11d0
PV Name /dev/dsk/c3t8d0
PV Name /dev/dsk/c3t9d0
PV Name /dev/dsk/c3t10d0
PV Name /dev/dsk/c3t11d0
PV Name /dev/dsk/c4t8d0
PV Name /dev/dsk/c4t9d0
PV Name /dev/dsk/c4t10d0
PV Name /dev/dsk/c4t11d0
PVG Name vgnewdt1
PV Name /dev/dsk/c5t8d0
PV Name /dev/dsk/c5t9d0
PV Name /dev/dsk/c5t10d0
PV Name /dev/dsk/c5t11d0
PV Name /dev/dsk/c6t8d0
PV Name /dev/dsk/c6t9d0
PV Name /dev/dsk/c6t10d0
PV Name /dev/dsk/c6t11d0
PV Name /dev/dsk/c7t8d0
PV Name /dev/dsk/c7t9d0
PV Name /dev/dsk/c7t10d0
PV Name /dev/dsk/c7t11d0
Does this help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2001 11:12 AM
03-02-2001 11:12 AM
Re: Need to split a mirror to change a RAID chassis
You can check where the logical extents of you're lvol's reside by using the lvdisplay command.
e.g.
# lvdisplay -v /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 84
Current LE 21
Allocated PE 42
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t6d0 21 21
/dev/dsk/c2t6d0 21 21
Shows that my /stand (/dev/vg00/lvol1) partition is on /dev/dsk/c1t6d0 with a mirror on /dev/dsk/c2t6d0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2001 11:31 AM
03-02-2001 11:31 AM
Re: Need to split a mirror to change a RAID chassis
--- Logical volumes ---
LV Name /dev/vg4000/lvol1
VG Name /dev/vg4000
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4000
Current LE 1000
Allocated PE 2000
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c6t0d0 1000 1000
/dev/dsk/c4t0d0 1000 1000
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c6t0d0 00000 current /dev/dsk/c4t0d0 00000 current
00001 /dev/dsk/c6t0d0 00001 current /dev/dsk/c4t0d0 00001 current
00002 /dev/dsk/c6t0d0 00002 current /dev/dsk/c4t0d0 00002 current
00003 /dev/dsk/c6t0d0 00003 current /dev/dsk/c4t0d0 00003 current
00004 /dev/dsk/c6t0d0 00004 current /dev/dsk/c4t0d0 00004 current
00005 /dev/dsk/c6t0d0 00005 current /dev/dsk/c4t0d0 00005 current
00006 /dev/dsk/c6t0d0 00006 current /dev/dsk/c4t0d0 00006 current
00007 /dev/dsk/c6t0d0 00007 current /dev/dsk/c4t0d0 00007 current
00008 /dev/dsk/c6t0d0 00008 current /dev/dsk/c4t0d0 00008 current
00009 /dev/dsk/c6t0d0 00009 current /dev/dsk/c4t0d0 00009 current
00010 /dev/dsk/c6t0d0 00010 current /dev/dsk/c4t0d0 00010 current
00011 /dev/dsk/c6t0d0 00011 current /dev/dsk/c4t0d0 00011 current
The response that the default policy is to not create a mirror copy on the same PV is the answer to my question. Now, should I be able to split this mirror, shut down the RAID representing lun /dev/dsk/c4t0d0, replace the chassis, restart the RAID, and lvmerge while the Oracle package and cluster are running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2001 11:50 AM
03-02-2001 11:50 AM
Re: Need to split a mirror to change a RAID chassis
Hmmmm........I think that should probably work, but I haven't ever tried anything like that.
In theory you could probably do everything without even splitting the mirrors. Your mirrors would go stale, you'd still run onthe other array, and when the array you are working on is back up, you vgsync and you are going again. The lvsplit is probably a cleaner solution though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2001 12:06 PM
03-02-2001 12:06 PM
Re: Need to split a mirror to change a RAID chassis
A lot depends on how mirrored oracle data is stored on arrays.
If you have mirrored copies on different arrays than I think 'lvsplit' and 'lvmerge' is the best option.
Good luck.
Jaimin