- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Create Striped lv on VG having different size disk...
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
05-02-2011 02:18 AM
05-02-2011 02:18 AM
Create Striped lv on VG having different size disks?
I am having a vg containg 6 disks. Five 100GB disks and One 200GB disks.
Is it possible for me to create an striped lv on this vg using all PE ?
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2011 05:52 AM
05-02-2011 05:52 AM
Re: Create Striped lv on VG having different size disks?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2011 10:54 AM
05-02-2011 10:54 AM
Re: Create Striped lv on VG having different size disks?
I think what he's saying is that yes you can build striped LVs across this but eventually you will have 600GB of striped LVs and 100GB of free space on your 200GB disk.
-klb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2011 04:58 AM
05-10-2011 04:58 AM
Re: Create Striped lv on VG having different size disks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2011 06:01 AM
05-10-2011 06:01 AM
Re: Create Striped lv on VG having different size disks?
While running a lvcreate am getting the following error.
#lvcreate -l 5594 -i 6 -I 128 -n lvol1 vg03
Warning: rounding up logical volume size to extent boundary at size "716544" MB for striping.
Logical volume "/dev/vg03/lvol1" has been successfully created with
character device "/dev/vg03/rlvol1".
lvcreate: Not enough free physical extents available.
Logical volume "/dev/vg03/lvol1" could not be extended.
Run the "lvextend" command to create space on the Logical Volume.
Please assist whether there is anything extra needed in the command.
Manoj K
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2011 06:08 AM
05-10-2011 06:08 AM
Re: Create Striped lv on VG having different size disks?
# vgdisplay -v /dev/vg03
But if one of the disks is already full (no free PEs left), you cannot do this striping anymore.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2011 06:16 AM
05-10-2011 06:16 AM
Re: Create Striped lv on VG having different size disks?
First Problem:
Depends upon what the volume group's first disk was during creatation. If the first disk was the 200GB disk then n/p. If the 100GB disk then this is what the vg sets it boundaries too. The only way to change this is to destroy the vg and create a new vg stating that the 200 GB disk in the first position.
Second Problem:
Stripping writes PV1 PV2 / PV2 PV1. So eventually you'll hit the 100GB ceiling and be left with 100GB unused on the 200GB PV. And LVM will stop at this point since there is no way for LVM to revert back to writing contiguous.
Comment: I don't know who is advising you to use this obsolete procedure, AKA Software Raid Zero. But there is absolutely no advantage to it in any way, especially in administration or fault tolerance. For you to have fault tolerance you'd have to create a pvgroup of the disks and then mirror the group to another group of the same number of disks, hence raid 01.
Most disk arrays do this for with much less effort and much better performance.
Do not expect better performance. In many years of hearing others report on this configuration no has ever reported better performance. Why? Added O/S overhead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2011 05:48 AM
05-11-2011 05:48 AM
Re: Create Striped lv on VG having different size disks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2011 06:26 AM
05-11-2011 06:26 AM
Re: Create Striped lv on VG having different size disks?
<< Comment: I don't know who is advising you to use this obsolete procedure, AKA Software Raid Zero
How can you say that raid0 is an obsolete procedure.I have vraid 1 in EVA and that luns are presented to my server. So again i need to do mirroring (raid1) in OS level?
<
So you are saying that there is no performance adavance in raid0 compared to raid1.
This is the first time i am hearing raid0 obsolete and there is no advantage for raid0 over raid1.
Anyway i am planning to unpresent the 200GB disk and split it in to 2 *100GB disk in eva. Present both disks to the host and create lv with stripe (raid0).
Manoj K
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2011 06:35 AM
05-11-2011 06:35 AM
Re: Create Striped lv on VG having different size disks?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2011 08:47 AM
05-11-2011 08:47 AM
Re: Create Striped lv on VG having different size disks?
I see nothing in my response that needs to be changed. Please do more reading.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2011 08:48 AM
05-11-2011 08:48 AM
Re: Create Striped lv on VG having different size disks?
Please don't do this. The performance hit that you will take will probably get you another job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2011 10:15 AM
05-11-2011 10:15 AM
Re: Create Striped lv on VG having different size disks?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2011 08:13 PM
05-11-2011 08:13 PM
Re: Create Striped lv on VG having different size disks?
I Agree with all of you.H/W raid performs better than software raid
Just tell me in which way i have to create an LV on a vraid1 disks presented from EVA.
I think i don't neeed to create PVG group and create lun in raid 0 1.
What i have seen if create a lun in os level on the eva disks with out stripe or mirror. When heavy write is coming only one lun showing very high I/O rate. If i am creating a lun with stripe i can see the I/O distributed on all the luns in the VG.
In eva side there is any change with these write (OS write on stripe and non-stripe luns)?
Which is burden to OS?
Manoj K
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2011 08:50 PM
05-11-2011 08:50 PM
Re: Create Striped lv on VG having different size disks?
As expected, right?
IMHO you should simply create a single LUN in vraid1 mode. Performance usually increases if the number of disks in the diskgroup is increasing.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 04:57 AM
05-12-2011 04:57 AM
Re: Create Striped lv on VG having different size disks?
Just follow your usual LVM procedures.
Do you need help with this too?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 06:28 AM
05-12-2011 06:28 AM
Re: Create Striped lv on VG having different size disks?
Thanks. No more helps required.
The knowledge you passed is more than enough.
Manoj
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 07:32 AM
05-12-2011 07:32 AM
Re: Create Striped lv on VG having different size disks?
#lvcreate -l 5594 -i 6 -I 128 -n lvol1 vg03
I sure hope you deleted this vg03 for your sake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 11:23 AM
05-12-2011 11:23 AM
Re: Create Striped lv on VG having different size disks?
Just to show that nothing is as simple as it seems, I will offer this:
If there is no multipathing software (like Secure Path, e.g.) and you are not yet up to 11.31, then there will no load balancing across PVlinks; i.e., across dual HBAs in the server.
So a poor-man's load balancing can be achieved with striping across 2 PVs where you manually set the Primary link of PV1 as HBA1 and the Primary link for PV2 as HBA2.
We used to do this using Distributed Allocation as well, which is a poor-man's striping with much larger chunks. But this also reduces the overhead from -i striping.
There are some other considerations, such as LUN-owning controllers, etc., so it is not necessarily all clear.
bv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 11:57 AM
05-12-2011 11:57 AM
Re: Create Striped lv on VG having different size disks?
Indeed, I've used striping ( and the less overhead Max Distro options ) to effect load balance across all fiber loops to the SAN.
This was in a Secure-Path A/P environment w/ 2 HBA x 2 ports each. Created VG with 4 equal size LUNs, preferred each LUN down its own unique path to the SAN, spread these paths across the SAN controllers, then striped LV's across these 4 LUNs.
This effectively gatlin-gunned I/O across all paths to the SAN in a round-robin fashion.
Certainly this didn't improve I/O speed ( raw xfer speed ), but it could and did IMHO improve bandwidth utilization from the host to the SAN.
YMMV,
-klb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 12:12 PM
05-12-2011 12:12 PM
Re: Create Striped lv on VG having different size disks?
Please provide a sar -d output from 11:00 am
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 12:16 PM
05-12-2011 12:16 PM
Re: Create Striped lv on VG having different size disks?
... and that would .... show .... what exactly?
On the system I mention above, it would show equal amounts of I/O on each LUN for the time period.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 03:11 PM
05-12-2011 03:11 PM
Re: Create Striped lv on VG having different size disks?
But if you had 200 11.23 blades all configured the same way, then all the I/O would only be on one fabric.
Just food for thought.
bv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 08:56 PM
05-12-2011 08:56 PM
Re: Create Striped lv on VG having different size disks?
"So a poor-man's load balancing can be achieved with striping across 2 PVs where you manually set the Primary link of PV1 as HBA1 and the Primary link for PV2 as HBA2."
You are right. I was focused on 11.31. Because of the built-in load balancing and the ALUA feature of the array you use always several paths via both fabrics to access to owning controller.
But I agree, this kind of "poor-man's" LB is the way to go with 11.23 - otherwise you may have one fabric under pressure, the other totally idle in worst case ...
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2011 02:06 AM
05-13-2011 02:06 AM
Re: Create Striped lv on VG having different size disks?
I loves me some 11.31 .
IMHO, not worrying about LB & alternate paths in a SAN environment is a good reason to upgrade to 11.31 .
With striping, -i or -D, you then have to worry about how to extend the VG -- always extend at least 2 PVs, sizes of the PVs, and making sure PVlinks alternate properly between the two HBAs.
So, it can be a little hassle.
bv