- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirror and Striping
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
тАО06-01-2000 04:02 PM
тАО06-01-2000 04:02 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2000 04:44 PM
тАО06-01-2000 04:44 PM
Re: Mirror and Striping
Also, you can't mirror to the same LV. You would use use one LV to mirror another LV on the same VG.
mp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2000 10:12 PM
тАО06-01-2000 10:12 PM
Re: Mirror and Striping
A possible workaround is via using lvcreate -D together with the -m option for distributed allocation policy with mirroring enabled. This policy allows you to distribute logical extents across multiple physical volumes. The distributed allocation policy requires the PVG-strict allocation policy ( -s g ) to ensure that mirrors of distributed extents do not overlap (for maximum availability).
Regards.
Steven Sim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2000 08:14 AM
тАО06-07-2000 08:14 AM
Solutionvextend -l 2 /dev/vg01/rims /dev/dsk/c1t1d0 /dev/dsk/c2t1d0
lvextend -l 3 /dev/vg01/rims /dev/dsk/c1t2d0 /dev/dsk/c2t2d0
lvextend -l 4 /dev/vg01/rims /dev/dsk/c1t3d0 /dev/dsk/c2t3d0
a=1
while
a=`expr $a + 4`
[ $a -lt 8700 ]
do
lvextend -A n -l $a /dev/vg01/rims /dev/dsk/c1t0d0 /dev/dsk/c2t0d0
lvextend -A n -l `expr $a + 1` /dev/vg01/rims /dev/dsk/c1t1d0 /dev/dsk/c
2t1d0
lvextend -A n -l `expr $a + 2` /dev/vg01/rims /dev/dsk/c1t2d0 /dev/dsk/c
2t2d0
lvextend -A n -l `expr $a + 3` /dev/vg01/rims /dev/dsk/c1t3d0 /dev/dsk/c
2t3d0
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2000 08:20 AM
тАО06-07-2000 08:20 AM
Re: Mirror and Striping
Chow,
Garrin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2000 01:05 PM
тАО06-09-2000 01:05 PM
Re: Mirror and Striping
Something to watch when doing this. If you make any changes to the defaults when you create your volume group, the lvcreates will run very slowly using Garrin's method, which used to be the only way to do this. When I created my volume group I changed Max PV to some number greater than the default of 16. I did this in case down the road my volume group needed more than 16 disk devices. The only way to change it is when you create the volume group. I also changed Max PE. By default it is set to the size of the largest disk you add when you create the volume group. Next year I may want to add a larger disk, which I could. However, if I started with 9GB disks and added an 18GB later, I would only be able to use 9GB of that 18GB - the Max PE. I wanted to avoid these types of problems later so I changed the defaults.
The further I got away from the default values, the slower lvcreate ran. I had to go back to the defaults to create my LV's in a reasonable amount of time.
Later I found a post in the forum asking the same question you have. A reply was posted on 4/11/2000, check back it may still be there. It described the method Steven gave, using the distributed option. It works much faster and easier than the old way of mulitple lvextends. To me it should win some Enhancement of the Year Award. It works great. Read up on lvcreate using the distributed option or look for that earlier post. It has all the details.
Extent stripped volumes can be mirrored.
Remember, mirroring slows down writes because the data needs to be written twice. It can speed up reads as the reads will be serviced form the copy with the shorter queue. Consider how you use the data before mirroring. You can pay a big performance penalty on systems that do a lot of writes.