- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extent Based Striping-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
03-05-2004 11:18 PM
03-05-2004 11:18 PM
Extent Based Striping-LVM
2. Whats the max no of PV that go into a /etc/lvmpvg(Is it equal to the number of max PVs in a vg).
3. Which one of the following is better when we have 10GB x 100 devices=1TB capacity in a volume group
a. Non-extent based striping with -i=4 and I=128 for lvol creation
b. Extend based striping with 4 devices in each PVG under each VG in /etc/lvmpvg OR all the 100 devices in 1 PVG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2004 09:26 AM
03-06-2004 09:26 AM
Re: Extent Based Striping-LVM
so many questions.
1. sure you can convet non-extent lv to entent base.
create another logical volume on and use either dd if=/dev/XXX/lvol1 of=/dev/XXX/lvol2
or
newfs
mount
and use
cd /copyfromdir; tar cvf - . | (cd /copytodir; tar xvf -)
that should take care of question #1
asuming you know how to create a extent base LV!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2004 09:32 AM
03-06-2004 09:32 AM
Re: Extent Based Striping-LVM
/etc/lvmpvg is just a text file indicating which disk belong to which group. sort of nice to have to keep your head clear for better things in life.
It has no relation to the max PV.
I reffer to groups as (i) mirror disks or (ii) disk on different devices i.e. XP and EMC.
Physical Volume Groups is a method of keeping track of the disks.
you can delete the file and your VG will still be intact---
peace
Donny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2004 09:42 AM
03-06-2004 09:42 AM
Re: Extent Based Striping-LVM
# off-line..
#
# lvcreate -D y -s g ... -n newlv
#
# lvremove -f /dev/vgxx/oldlv
# mv /dev/vgxx/newlv /dev/vgxx/oldlv
# mv /dev/vgxx/rnewlv /dev/vgxx/roldlv
2 - default is 16.. using this you can have a maximum of 16 PV's in the VG (so 8 mirrored pairs if you wish). You can increaee the max PV's per vg at the vgcreation time ONLY.
3 - I prefere extent striped LV as it is..
o more flexible (you can use mirroring, pvmove etc)
o generally provides quite a good and even IO distribution to the individual disks/LUNS
o Does not massively enforce a particular block size, so improving IO efficiency.
you can find circumstances where one or all of the above are better serviced by kB striping, but for things like OLTP databases I have found the above a good rule of thumb... opionions will differ...
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2004 09:49 AM
03-06-2004 09:49 AM
Re: Extent Based Striping-LVM
3rd. do yourself a favor and create 3 LV's with different sizes 128, 64 and 32.
perform copy tests to and from those LV's and test the speed. for your environment.
then choose the best one for your environment.
peace
Donny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2004 10:15 AM
03-06-2004 10:15 AM
Re: Extent Based Striping-LVM
use timex for your testing it works best.
#timex dd if=/dev/vgtest/lv128 of=/dev/null bs=10k
record speed, do same for each LV. remember this is read speed only.
to perform write speed test reverse from a large file
#tiemx dd if=/tmp/my2gigfile of=/dev/vgtest/lv128 bs=10k
enjoy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2004 12:42 PM
03-06-2004 12:42 PM
Re: Extent Based Striping-LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2004 04:36 PM
03-06-2004 04:36 PM
Re: Extent Based Striping-LVM
1. No you cannot. You will need to recreate a filesystem and then restore. Or create a new filesystem with extent based striping and then copy the data from the non-striped filesystem.
2. If you are talking about *real* PVs then you are right. However, you can also specify the alternate path. So, the number of *devices* listed in there can be more than 255 just like /etc/lvmtab.
3. Non-extent based striping will be much superior to extent based striping. However, it depends on your application needs. In extent based striping the stripe size is equal to your extent size which may not be really fruitful. However, extent based striping allows you to mirror which means you may get better availability at the cost of performance. There are certain limitations to any striping that you will need to keep adding 4 more disks if you want to extend. With both extent and LVM striping, failure of one disk means losing data. So, I would suggest you create multiple filesystems if your application allows. If this is a database, I would create multiple filesystems (LVM striped not extent based) using different sets of disks. Seperate datafiles, indices, redologs etc., on seperate sets so that they don't fight with each other.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2004 05:34 PM
03-06-2004 05:34 PM
Re: Extent Based Striping-LVM
Little more clarification on my point 2. I meant it per VG. /etc/lvmpvg holds information for all the VGs that are configured with LVMPVGs.
-Sri