- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM Mirroring Question on SC10
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
02-21-2008 03:37 PM
02-21-2008 03:37 PM
LVM Mirroring Question on SC10
I am trying to mirror my /dev/vg01/lvol1 and we have 4 disks that we can use. What is the best way I mirror this? This disk is in SC10 Rack.
Can I build the "VG" with c3t0d0 and c4t0d0 and then mirror on c8t0d0 and c9t0d0?
Please let me know if I am correct on my steps.
1) vgextend /dev/vg01 /dev/dsk/c8t0d0
2) vgextend /dev/vg01 /dev/dsk/c9t0d0
3) lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c8t0d0 /dev/dsk/c9t0d0 (Can I put both path on the same command, and this way will it use both disk equiil.)
The question that I have is will this LVEXTEND command will user both disk (c8t0d0 & c9t0d0) or can me run the lvextend command without specifying the disk path.
lvextend -m 1 /dev/vg01/lvol1
Appreciate your help.
Regards,
M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2008 05:31 PM
02-21-2008 05:31 PM
Re: LVM Mirroring Question on SC10
will this LVEXTEND command will user both disk (c8t0d0 & c9t0d0)
>> Until unless the LVOL exceeds the size of a PV, it wont span the mirror copy on another PV.
can me run the lvextend command without specifying the disk path.
>> Yes, you can use this command. It will mirror the LVOL on free PE's available on the PV.If the LVOL Allocation is Strict, it wont mirror on the same PV. By deafult LVOL Allocation is strict only.
Thanks & Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2008 05:52 PM
02-21-2008 05:52 PM
Re: LVM Mirroring Question on SC10
which OS version is using??
If using the 11iV3, the new LVM can have RAID0+1 or RAID1+0. Therefore the LV will have stripping and mirroring...
http://docs.hp.com/en/LVM-11iv3features/LVM_New_Features_11iv3.pdf
GOOD LUCK!
Warren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2008 06:16 PM
02-21-2008 06:16 PM
Re: LVM Mirroring Question on SC10
If you want to use striping and mirroring you have to use extend based striping and either do it with a script extending one extend at a time or create two PV groups with 2 disks each and use
lvcreate -D y -s g -m 1 -L (or -l) XXXX vg01
Look at "man lvextend" and scroll down in the examples under the "distributed allocation policy" paragraph.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 10:12 AM
02-22-2008 10:12 AM
Re: LVM Mirroring Question on SC10
So the question I have is;
If I mirroring c3 and c4 and I want them to mirror on c6 and c7 then I can do following.
lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c6tXdX /dev/dsk/C7tXdX
---------OR-----------
also I can do;
lvextend -m 1 /dev/vg01/lvol1
In the above command would the mirror copy will be created on c6 & c7 or not?
Appreciate your help enjoy the points.
Thanks,
M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 11:06 AM
02-22-2008 11:06 AM
Re: LVM Mirroring Question on SC10
> ---------OR-----------
> lvextend -m 1 /dev/vg01/lvol1
Both commands will give you the same result. If you don't specify the disks the mirroring will start using the first available disk (c6) and when that fills up it will use the next one. Like I said before this will happen if you are dedicating the entire disks for this volume and only for this volume. If lvol1 does not use the entire two disks or there are other volumes in the same volume group, there are gaps of extends in the PVs and you have no control where the mirrorng PEs are going to end up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 02:09 PM
02-22-2008 02:09 PM
Re: LVM Mirroring Question on SC10
If I don't specify the disk then is their a chance that mirror copy might fall on my primary disk (c4 or c5) when I do that.
I want to make sure my mirror copy is distributed on c6 and c7 and not on c4 and c5?
Appreciate your help and feedback.
Thanks,
MP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 02:44 PM
02-22-2008 02:44 PM
Re: LVM Mirroring Question on SC10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 09:28 PM
02-22-2008 09:28 PM
Re: LVM Mirroring Question on SC10
vgdisplay -v vg01
lvdisplay /dev/vg01/lvol1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2008 08:01 AM
02-26-2008 08:01 AM
Re: LVM Mirroring Question on SC10
I think I will go ahead and use the following to make sure mirror is done correctly.
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c4t0d0 /dev/dsk/c6t0do
and
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c5t0d0 /dev/dsk/c7t0d0
This way I think it should mirror evenly.
Thanks,
MJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2008 08:08 AM
02-26-2008 08:08 AM
Re: LVM Mirroring Question on SC10
MJ