- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM RAID 0+1
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
08-19-2005 06:10 AM
08-19-2005 06:10 AM
What is the step by step procedure to create a striping with mirroring in LVM ( RAID 0+1).I understand that there is somthing called EXTENT BASED MIRRORED STRIPES which can be achieved with Distributed allocation policy in LVM.
For understanding this I request you to explain about the following.
1. About PVGs & how to go ahead and create it.
2. What is the advantage of Extent based mirrored stripes.
3. A practical application of this kind of mirroring.
I am waiting for your expert answers.
Regards,
Syam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 06:33 AM
08-19-2005 06:33 AM
Solutionvgcreate /dev/vgabc disk1 disk2 disk3 -g pvg1
vgextend /dev/vgabc disk4 disk5 disk6 -g pvg2
/etc/lvmpvg looks like this:
VG /dev/vgabc
PVG pvg1
/dev/dsk/c9t0d0
/dev/dsk/c9t2d0
/dev/dsk/c9t4d0
/dev/dsk/c9t6d0
PVG pvg2
/dev/dsk/c5t0d0
/dev/dsk/c5t2d0
/dev/dsk/c5t4d0
/dev/dsk/c5t6d0
lvcreate -L 2048 -D y -s g -m -n mylvol /dev/vgabc
newfs /dev/vgabc/rmylvol
mount /dev/vgabc/mylvol /mydir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 06:40 AM
08-19-2005 06:40 AM
Re: LVM RAID 0+1
In addition to the previous reply I would recommend you to look at the graphical tool in SAM. You can do almost any LVM configuration task from the GUI. There is also a terminal-based "semi-grapichal" version of SAM.
start sam and select "Disk and Filesystem".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 06:45 AM
08-19-2005 06:45 AM
Re: LVM RAID 0+1
Thanks for all your reply , But I am waiting for the answers of my other questions as well as some explanation on how EXTENT BASED MIRRORED STRIPES works.
2. What is the advantage of Extent based mirrored stripes.
3. A practical application of this kind of mirroring.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 06:53 AM
08-19-2005 06:53 AM
Re: LVM RAID 0+1
With the '-D' option anything written to disk is striped across all disks in the PVG according to the 'PE SIZE' that the VG was created with. The problem with distributed striping is that your stripe size is quite large, default of 4MB, compared to normal striping. When these writes occur, the writes are done to the appropriate disks in both PVGs, thus keeping the mirrors in sync.
The advantage -- If you don't have a RAID array and want some redundency, but also want to stripe, then this allows you to do that. LVM does NOT allow you to do "normal striping", with the '-i' and '-I' options to lvcreate, and mirroring.
A practical application -- I used this with an application that worked with a Unidata DB in a previous job. It apparently did help. At one point I had problems and had to lay the LV back down non-striped. Users complained about performance until I re-did the LV with the distributed stripe during my next maintenacne window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2005 07:10 AM
08-19-2005 07:10 AM
Re: LVM RAID 0+1
I think that was a great experience you had. Thanks for sharing the same.
Regards,
Syam