- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk Striping with 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-2002 06:24 AM
09-05-2002 06:24 AM
ie: lvcreate -i(#of disks) -I(StripeSize)/dev/vg02
I'm not real familiar with this command, so I'm wondering if anyone has any good examples or logic on how I create my lvols striped across the 4 disks i'm working with here??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 06:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 06:51 AM
09-05-2002 06:51 AM
Re: Disk Striping with LVM
One other question...Do i have to specify anything out of the ordinary when I run the newfs command after lvcreate? I was planning on just running the following command:
newfs -F vxfs /dev/vg02/lvol1 /u01
Thanks again for your help...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 07:06 AM
09-05-2002 07:06 AM
Re: Disk Striping with LVM
You may want to use the -o largefiles option with the newfs command. This will allow the creation of files larger than 2GB on this filesystem.
newfs -F vxfs -o largefiles /dev/vg_name/rlv_name
also here is the lvm cookbook from itrc for more help.
http://us-support3.external.hp.com/iv/data/documents/DE_SW_UX_swrec_EN_01_E/LVM.pdf
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 07:10 AM
09-05-2002 07:10 AM
Re: Disk Striping with LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 07:11 AM
09-05-2002 07:11 AM
Re: Disk Striping with LVM
In my view, the best practice is to create a 0 sized logical volume and then extend it on selected disks for striped volumes.
lvcreate -i 4 -I 64 -n lvol2 /dev/vg02
Now extend it to the selective disks.
lvextend -L 20000 /dev/vg02/lvol2 /dev/dsk/c#t#d# /dev/dsk/c#t#d# /dev/dsk/c#t#d# /dev/dsk/c#t#d#.
If you specify the size in the first place and if you have more than 4 empty disks in the volume group, it might not take the disks that you are intending to use.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 07:17 AM
09-05-2002 07:17 AM
Re: Disk Striping with LVM
Everyone gave you good examples . How ever I have another solution . If you do LVM striping its just another software overhead .
Why don't you have EMC combine your four 8GB hyper volumes into one 32 GB Meta volume presnted to HPUX as one LUN . They can stripe the Meata volume across the four 8 GB hyper with your choice of stripe size or whatever they calculate the best value to be .
After that you can use the LUN as any other ordinary disks and don't have to bother about striping . There is no software overhead .
Ash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 07:19 AM
09-05-2002 07:19 AM
Re: Disk Striping with LVM
lvextend -L 1 /dev/vg02/lvol2 /dev/dsk/c0t1d0
lvextend -L 2 /dev/vg02/lvol2 /dev/dsk/c0t2d0
lvextend -L 3 /dev/vg02/lvol2 /dev/dsk/c0t3d0
lvextend -L 4 /dev/vg02/lvol2 /dev/dsk/c0t1d0
lvextend -L 5 /dev/vg02/lvol2 /dev/dsk/c0t2d0
...etc
The manual calls this interleaving instead of striping, but it has the same effect. And like Sri said, LVM base striping has less control on where the stripes are put.
Hope this helps...
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 07:24 AM
09-05-2002 07:24 AM
Re: Disk Striping with LVM
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 08:05 AM
09-05-2002 08:05 AM
Re: Disk Striping with LVM
I prefer to use distributed striping.
#vgcreate -p4 -s2 -g PVG0 /dev/vg01 /dev/dsk/cxtyd0 .... cxtyd3
#lvcreate -D y -s g -L
This way each LV will be created with one extent on each PV in VG.
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2002 06:01 AM
09-07-2002 06:01 AM
Re: Disk Striping with LVM
1 - No one has differentiated between kilobyte stripes
# lvcreate -i (N_LUN) -I (stripe size) -L
and extent based striping
# lvcreate -D y -s g -n
They are very different for two reasons
o Extent based striping can be mirrored, kilobyte cannot. Whilst the LV will is on mirrored EMC, If you ever need to migrate, to ne disks etc, mirroring is a good way of doing this
o stripe size. Extent based striping uses the PE size, usually 4MB. kilobyte striping uses the specified stripe size.
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2002 06:06 AM
09-07-2002 06:06 AM
Re: Disk Striping with LVM
create /etc/lvmpvg
# lvcreate -D y -s g -n
# newfs -F vxfs -o largefiles /dev/vg02/r
mount /dev/vg02/
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2002 06:07 AM
09-07-2002 06:07 AM
Re: Disk Striping with LVM
# lvcreate -D y -s g -m 1 -L 20480 -n
This will mirror the lvol
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2002 04:40 AM
09-08-2002 04:40 AM
Re: Disk Striping with LVM
you have about 40 posts you haven't responded to:
http://forums.itrc.hp.com/cm/TopSolutions/1,,CA667679!1!questions,00.html
live free or die
harry