- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvcreate and lvextend
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
06-20-2008 03:20 PM
06-20-2008 03:20 PM
lvcreate and lvextend
lvcreate -n lvindex /dev/vg_ora
lvextend -l 256 /dev/vg_ora/lvindex /dev/dsk/c3t2d0
lvextend -m 1 /dev/vg_ora/lvindex /dev/dsk/c5t2d0
are these steps OK?
Thanks
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2008 04:36 PM
06-20-2008 04:36 PM
Re: lvcreate and lvextend
lvextend -l 256 -m 1 /dev/vg_ora/lvindex /dev/dsk/c3t2d0 /dev/dsk/c5t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2008 05:04 PM
06-20-2008 05:04 PM
Re: lvcreate and lvextend
Definitly Maybe!
There is not nearly enough information presented here for us to properly help.
Not enough about what is there, nothing much about the targetted use. Ok, it is likely to be used to hold an index or tow for an Oracle database, and I _suspect_ you'll use raw devices
IF the the pe_size for vg_ora is the default 4 MB, which you did share with us, then the steps are OK.
To avoid worrying about the pe_size, why not specify the size as -L 1024 ?
Of course the selected pv's had better be part fo the vg, and had better have enough free PE's on them to support the request.
So you want to run vgdisplay to make sure none of the maximums are exceeded with this command, or close to being exceeded.
Assuming there is the space to allocate, is there enough time to do the access? That is, be sure that the selected PVs have enough performance to spare to support to additional usage.
You may want to run lvchange to further select (mirroring) attributes.
Finally... 1GB is not a whole lot these days.
Why nickle and dime this stuff?
"SAME"! Make it bigger, make it better, make it auto-extend.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2008 12:56 AM
06-21-2008 12:56 AM
Re: lvcreate and lvextend
If yes, then create LV of 1GB
# lvcreate -L 1024 -n lvindex /dev/vg_ora /dev/dsk/c3t2d0
# lvextend -m 1 /dev/vg_ora/lvindex /dev/dsk/c5t2d0
Docs: http://docs.hp.com/en/B2355-90672/ch03s10.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2008 01:03 AM
06-21-2008 01:03 AM
Re: lvcreate and lvextend
You have to follow these steps
lvcreate -n lvindex /dev/vg_ora
lvextend -l 256 -m 1 /dev/vg_ora/lvindex /dev/dsk/c3t2d0 /dev/dsk/c5t2d0
Regards
Prasanth Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2008 08:51 AM
06-21-2008 08:51 AM
Re: lvcreate and lvextend
Dear Brian
in first step u creating 0 space logical volume
in second step u are extending 4*256MB in logial volume
u can use lvextend -l 256 /dev/vgora/lvindex
if u want mirroring u can use -m1 for one copy
u can do in step lvextend and mirroring in single step
sajjad