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
04-11-2003 10:07 AM
04-11-2003 10:07 AM
any thoughts?
lvcreate /dev/vgname : will create a zero length logical volume...
how do i use lvextend to give the size of the logical volume and use a specific physical volume
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 10:10 AM
04-11-2003 10:10 AM
Re: lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 10:10 AM
04-11-2003 10:10 AM
Re: lvextend
http://docs.hp.com/hpux/pdf/B2355-90742.pdf
Thanks
Zafar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 10:12 AM
04-11-2003 10:12 AM
Re: lvextend
You can do 'lvcreate /dev/vgname' to create it as you mentioned, and then do 'lvextend -L ## /dev/vgname/lvol#' where the first number is the size of the lvol in MBs and the second number is the logical volume number returned by the lvcreate command.
I prefer to do it all at once with the lvcreate command:
lvcreate -L 100 /dev/vgname
will create a 100Mb logical volume in the vgname volume group. Also, you can specify logical extents instead of size by using '-l' instead of '-L'.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 10:18 AM
04-11-2003 10:18 AM
SolutionCreate a zero-size logical volume and then 'lvextend' it. You will note that the pv_path [or pvg_name] can not be specified by 'lvcreate' but can by 'lvextend'. For example:
# lvcreate -n lvol1 /dev/vg01
# lvextend -L 100 /dev/vg01/lvol1 /dev/dsk/cXtYdZ
See the man pages for 'lvcreate' and 'lvextend' for more information.
Regards!
...JRF...