- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- create lvol with sc10 parameters instead of FC60 f...
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
01-10-2005 12:30 AM
01-10-2005 12:30 AM
In a series of FC60 disks I wanted to create a new logicalvolume to one of the volume groups (in these disks a database is kept). Instead of giving the following command:lvcreate -L 2048 -i 12 -I 4 -n
Thank you in ad
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 12:35 AM
01-10-2005 12:35 AM
Re: create lvol with sc10 parameters instead of FC60 for a FC60 disk system
It is a bit difficult to read your message, but it should have no consequences to your system if you do not have data inside you new logical volume. Lvremove the newly created volume and recreate is in the good volume group.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 12:42 AM
01-10-2005 12:42 AM
Re: create lvol with sc10 parameters instead of FC60 for a FC60 disk system
In my system I have FC60 disks,
now as far as I can underastand FC60 system of disks handles the disks differently than an SC10 system, that is why it was recommened whenever a creation of lvol is needed to run lvcreate with the following parameters:
"lvcreate -L 2048 -i 12 -I 4 ..."
Instead I mistakenly gave the command with parameters for SC10 disk system meaning:
"lvcreate -D y -s g -m 1 .."
To remove it unfortunatelly is not an option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 12:58 AM
01-10-2005 12:58 AM
Re: create lvol with sc10 parameters instead of FC60 for a FC60 disk system
Close the database, use cpio/tar to create a copy, remove the volume, recreate the volume, and copy it back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 01:10 AM
01-10-2005 01:10 AM
Re: create lvol with sc10 parameters instead of FC60 for a FC60 disk system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 01:15 AM
01-10-2005 01:15 AM
Re: create lvol with sc10 parameters instead of FC60 for a FC60 disk system
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 01:24 AM
01-10-2005 01:24 AM
Re: create lvol with sc10 parameters instead of FC60 for a FC60 disk system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 01:35 AM
01-10-2005 01:35 AM
Re: create lvol with sc10 parameters instead of FC60 for a FC60 disk system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 10:26 AM
01-10-2005 10:26 AM
SolutionA) you created stripes based on the size of your PE's - I use this all the time - not a bad thing... it's just that these stripes are much bigger then the stripes that originally wanted.
B) you created a mirror - which you probably didn't want since you probably wanted to let the FC60 do it for you.
Use lvdisplay to see if you have a mirror.
Use lvreduce to get rid of the mirror. If you're not sure how to do it and detect this - go play with a test box, and preferrably create an lvol using the same method - just undo it to show yourself you can do it "live" without hurting anything.
If you get rid of the mirror you'll just have a different kind of stripe size - which, depending on your application may not hurt you, and has a real possibility of even helping your performance.
(See documents on Metalink on SAME, as well as white papers from HP on striping to see why larger distributed stripes can really help your performance).
Right now the only thing that probably hurting you is a set of mirrored writes that you don't need. You can certainly break a mirror "hot" without taking a system down. That being said - please make sure and do it correctly so as not mess it up (I know, thanks for the obvious...) .
Suggestions
a) call HP for help, they can get you through the process of unmirroring live - no problem.
b) use one of your old boxes (even it doesn't have an FC60 on it) and play around with the whole idea - once you're comfortable with it - you'll see that this is really a simple thing to deal with.
P.S. I run several systems with direct attached SC10s ( I pulled the FC60's years ago) now, and I use distributed stripes (as you just mistakenly did) to try to get a bit more performance out of them - but to tell you the truth on the FC60's (only) the differnce in performance that I could actually measure was minimal... so, don't get too worked up about using distributed stripes vs regular stripes - in my experience it hardly mattered in my throughput tests. I still run distributed stripes just because it gave a little bit of performance boost on some types of expensive reads.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 01:54 AM
01-11-2005 01:54 AM
Re: create lvol with sc10 parameters instead of FC60 for a FC60 disk system
... "-i" ... == let LVM do "striping". LVM will lay out the LVOL across more than one PV using a small stripe size that is smaller than a PE (Physical Extent), which is the normal allocation unit in LVM (4MB or 8MB, etc).
... "-D y" ... == use a PE-based striping -- i.e., stripe across more than one PV, but use a PE as the stripe.
So, theoretically, "-i" has the potential for slightly better striping performance. (But this is not necessarily the case.)
Why two different commands?
Because -i is not allowed with *LVM mirroring* -- just a LVM deficiency.
If you want to LVM mirror *and* stripe (a poor man's RAID1+0), then HP LVM requires the "-D y" -- not "-i".
Presumably, the FC60 is already doing the mirroring (RAID 1), so LVM Mirror is not required when using the FC60 LUNs. Note: if the FC60 is using RAID5 or RAID1+0, then striping isn't necessary either, here.
As said by the others above, the impact of your command is that you created an *unnecessary* LVM mirror for the FC60 LVOL.
This is wasting space = LVOL size.
You can simply remove the mirror.
At this point you will only be using the "-D y" striping, which, as said above, has *potentially* very slightly less performance; but might even be better, as J.J. mentioned.
tks
bv