- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DS2300 and LVM
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
09-05-2004 06:48 PM
09-05-2004 06:48 PM
DS2300 and LVM
I use L1000 (rp5400) server with HPUX 11.0.
I want to attach DS2300 to it with SCSI controllers. I woul like to make VG on 3 disks and create LV which is stripped across them with 16k stripe. (lvcrate -i -I).And next I want to mirror that with HPUX/MirrorDisk. Some consultant told me that this is not possible.
The only "stripping" is possible with extent allocation (lvcrate -D).
Is it true?
regards
Maciek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2004 06:55 PM
09-05-2004 06:55 PM
Re: DS2300 and LVM
It is not possible to do both striping and mirroring.
The best you can do is extent level striping/mirroring (lvcreate -D y -s g) but the stripe size of it would be equal to the extent size which is 4 MB atleast. So, it may not give good boost in the performance.
Only VxVM can do what you wanted to do.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2004 07:09 PM
09-05-2004 07:09 PM
Re: DS2300 and LVM
This isn't about points but 2 points indicate that my answer didn't provide any solution.
Let us know what exactly you are looking for.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2004 01:18 AM
09-07-2004 01:18 AM
Re: DS2300 and LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2004 01:19 AM
09-07-2004 01:19 AM
Re: DS2300 and LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2004 01:26 AM
09-07-2004 01:26 AM
Re: DS2300 and LVM
That's true. I have made that this way.
But this stripe made by extent allocation is 4M wide, not as I would like it to be 16k.
That's the problem.
regards
Maciek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2004 01:35 AM
09-07-2004 01:35 AM
Re: DS2300 and LVM
vgcreate -s 8 -g pv0 /dev/vg01 /dev/dsk/c4t0d0 /dev/dsk/c4t1d0 /dev/dsk/c4t2d0 /dev/dsk/c4t3d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2004 04:09 AM
09-07-2004 04:09 AM
Re: DS2300 and LVM
That example produces extent-based striping. If you are using Oracle, you can read their 'SAME' document on Metalink and use extent based striping as you have already implemented - but don't necessarily apply it to everything.
16k stripes seem very small to me, especially as modern disks have buffers of 4-8Mb. You will end up with more device bus-contention than load balance. That is, it is better to write larger amounts of data in one operation down the bus, than lots of small i/os going to different devices near-simutaneously. This is more relevent to modern fast buses.
For this reason, the best stripe size is going to be somewhere between 32k and 128k, 64k is a reasonable.
Interestingly, If you are writing a lot of small files, then you have to be careful about 'stripe-overlap' where one large file write always goes over 2 disks. Making the stripe size too small increases the risk of this, whereas making it too large reduces the balance.
If you really want to use small stripes (i.e. kb not mb) then you will have three options:
1. buy an external disk array controller which sits inbetween your server and the disks.
2. Use VXVM instead of LVM (I am not an expert in this, but it may be possible).
3. If it is database storage, not files, then stripe with lvcreate -i .. -I .. and mirror using your database software instead. This is likely to be the slowest option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2004 04:27 AM
09-07-2004 04:27 AM
Re: DS2300 and LVM
Note that 'extent' level striping/mirroring is not the 'actual' striping/mirroring as the stripe size is equal to the extent size which is a minimum of 4 MB. Larger the extent size means larger the stripe size and the benefits will be low.
With the testing, I have found out that the best stripe size is either 128k or 256k (depending on the backend storage I have). In any case, I wouldn't go less than 64k.
-Sri