- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring a striped volume (again)
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
тАО02-20-2006 04:54 AM
тАО02-20-2006 04:54 AM
Is it possible to mirror an existing striped lvol ?? I've been told that somehow, somewhere in the deep space it's possible .. But nobody told me WHEN it is possible.
Any help will be apreciated :-)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2006 05:12 AM
тАО02-20-2006 05:12 AM
SolutionHowever, if you create an LV and use the "Distributed" option, '-D y' option to lvcreate, and you have created Physical Volume Groups, then YES you can mirror that.
For more information on the '-D' option see the lvcreate man page. And for more info on PVG's, see the vgcreate and lvmpvg man pages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2006 02:29 PM
тАО02-20-2006 02:29 PM
Re: Mirroring a striped volume (again)
Here is the rule
LVM striped logical volumes are always allocated using a strict
allocation policy. Consequently, striped logical volumes may only be
extended by a number extents that is a multiple of disks the logical
volume is striped across. For example, for a logical volume striped
across 3 disks, the logical volume will be extended in increments of 3
extents, with each of the 3 extents allocated on a different disk in
the volume group.
So for a 3 disk stripe, you would need 3 physical drives to mirror
Louis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2006 02:44 PM
тАО02-20-2006 02:44 PM
Re: Mirroring a striped volume (again)
If lvol is striped over several disk. In
order to extend a logical volume all involved disks have to have equal amount
of free space available.
While extending the Mirror we have to specify all the disks. Aa single disk would complain about the strict allocation policy. You cannot turnoff this policy when
striping. This prevents you from striping to the same disk. This is an lvm limitation.
After confirming the no of physical volumes involved in the striping and No of PEs available on all the disks you can proceed with mirroring , I don't feel there will be any issue if enough space is available all all Disks.
Regards,
Abhijit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2006 03:11 PM
тАО02-20-2006 03:11 PM
Re: Mirroring a striped volume (again)
HP-UX LVM absolutely does NOT support mirroring of LV's striped with normal striping options (the '-i' and '-I' options used with lvcreate).
Distributed striping is your only option with HP-UX LVM.
Now, if you were to use VxVM (Veritas Volume Manager) then I believe this is possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2006 05:50 PM
тАО02-20-2006 05:50 PM
Re: Mirroring a striped volume (again)
Answer is No.
However -D y option can be used to create EXTENT-BASED MIRRORED STRIPES, here is the example.
Assume that volume group /dev/vgtest has two physical volume groups:pvg1, pvg2.
Assume that each physical volume group has 2 physical volumes. Assume that the first physical volume in each pvg has 3 extents free and the second physical volume in each pvg has 2 extents free.
The following command creates a logical volume in vgtest with EXTENT-BASED MIRRORED STRIPES:
lvcreate -D y -s g -m 1 -l 5 /dev/vgtest
The distributed allocation proceeds as follows:
+ A free extent is allocated from the 1st pvol in pvg1.
+ A free extent is allocated from the 2nd pvol in pvg1.
+ A free extent is allocated from the 1st pvol in pvg1.
+ A free extent is allocated from the 2nd pvol in pvg1.
+ A free extent is allocated from the 1st pvol in pvg1.
+ Mirrors for the five extents are then allocated from the
free extents in pvg2 in a similar manner.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2006 06:27 PM
тАО02-20-2006 06:27 PM
Re: Mirroring a striped volume (again)
Check the url below (docID : KBRC00012000) about 'Discussion of disk striping vs mirroring differences' :
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079996774
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2006 08:14 PM
тАО02-20-2006 08:14 PM
Re: Mirroring a striped volume (again)
Any other idea should be supported by a link or a document on the topic :-)
ThX a lot for your help !!