- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM Mirroring/Stripping
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
10-19-2006 08:36 AM
10-19-2006 08:36 AM
LVM Mirroring/Stripping
We have a volume group with 4 lvols (very busy lvols).
The volume group is attached to a jbod.
The volume group does have 2 mirrors.
the first mirror is for redundancy and to be able to continue working if one of the disk dies.
the second mirror is used for backup purposes. Basically we split the second mirror onto different filesystem and we have backup running without affecting production.
We want to keep mirrors this way.
Considering that the lvols are very busy servicing reads we want to strip the lvols onto 3 or 4 disks.
What concerns me is to have mirror and stripe at the same time.
is this possible? Any known issues?
The reason for stripping is to have multiple paths (disks) instead of one path (disk) servicing the database requests.
Any suggestions or comments will be appreciated.
Thank you
Juan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 08:40 AM
10-19-2006 08:40 AM
Re: LVM Mirroring/Stripping
Check the man pages .. What you said is possible
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 08:50 AM
10-19-2006 08:50 AM
Re: LVM Mirroring/Stripping
With LVM and MirrorDisk/UX, you cannot mirror a striped LV, unless you choose a layout called "extent based stripes".
The difference is the stripe size. With extent based stripes, the stripe size equals the PE size, unlike the regular striping where you have the freedom of choosing the stripe size.
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 01:52 PM
10-19-2006 01:52 PM
Re: LVM Mirroring/Stripping
what is the command syntax of extent based stripes.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 02:18 PM
10-19-2006 02:18 PM
Re: LVM Mirroring/Stripping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2006 03:39 AM
10-20-2006 03:39 AM
Re: LVM Mirroring/Stripping
You say these lvols are on a jbob which leads me to assume all of the traffic is on the same HBA or HBAs.
So every write goes down that/those channel(s) 3 times.
When you split off the second mirror for your backups is the system still busy with production activity? If not, you have created more traffic during production hours maintaining the mirrors.
There has to be a break even point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2006 03:49 AM
10-20-2006 03:49 AM
Re: LVM Mirroring/Stripping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2006 04:06 AM
10-20-2006 04:06 AM
Re: LVM Mirroring/Stripping
lvcreate -m 1 -D y -s g /dev/vgxyz
edit /etc/lvmpvg and create disk groups. The -s resticts mirroring to those groups.
CHeck out the man page for lvcreate.
Used it for may years until we moved to SAN based environment. Performance using 36GB SCSI2 drives ( DS2100 ) is equivelant to SAN performance less the cache hits. The more drives in each group the better the performance. We used 4 drives striped then mirrored to another 4 drives on separate controller.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 07:10 PM
11-03-2006 07:10 PM
Re: LVM Mirroring/Stripping
Here is my procedure for extend-based striped logical volume. Expecting more points for revealing this secret. :-))
# lvcreate -n stripy /dev/vgora1
Logical volume "/dev/vgora1/stripy" has been successfully created with
character device "/dev/vgora1/rstripy".
Volume Group configuration for /dev/vgora1 has been saved in /etc/lvmconf/vgora1.conf
#
# PV1=/dev/dsk/c0t1d0
# PV2=/dev/dsk/c0t2d0
# PV3=/dev/dsk/c0t3d0
# SIZE=300
# COUNT=1
# while [ $COUNT -le $SIZE ]
> do
> lvextend -l $COUNT /dev/vgora1/stripy $PV1
> let COUNT=COUNT+1
> lvextend -l $COUNT /dev/vgora1/stripy $PV2
> let COUNT=COUNT+1
> lvextend -l $COUNT /dev/vgora1/stripy $PV3
> let COUNT=COUNT+1
> done
Logical volume "/dev/vgora1/stripy" has been successfully extended.
Volume Group configuration for /dev/vgora1 has been saved in /etc/lvmconf/vgora1.conf
Logical volume "/dev/vgora1/stripy" has been successfully extended.
Volume Group configuration for /dev/vgora1 has been saved in /etc/lvmconf/vgora1.conf
...
Logical volume "/dev/vgora1/stripy" has been successfully extended.
Volume Group configuration for /dev/vgora1 has been saved in /etc/lvmconf/vgora1.conf
#
# lvdisplay -v /dev/vgora1/stripy | more
--- Logical volumes ---
LV Name /dev/vgora1/stripy
VG Name /dev/vgora1
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1200
Current LE 300
Allocated PE 300
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/c0t1d0 100 100
/dev/dsk/c0t2d0 100 100
/dev/dsk/c0t3d0 100 100
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c0t1d0 00250 current
00001 /dev/dsk/c0t2d0 00000 current
00002 /dev/dsk/c0t3d0 00000 current
00003 /dev/dsk/c0t1d0 00251 current
00004 /dev/dsk/c0t2d0 00001 current
00005 /dev/dsk/c0t3d0 00001 current
...
00297 /dev/dsk/c0t1d0 00349 current
00298 /dev/dsk/c0t2d0 00099 current
00299 /dev/dsk/c0t3d0 00099 current
Regards,
Vinod