- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM Question: lvcreate command
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
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
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
тАО05-02-2002 06:03 PM
тАО05-02-2002 06:03 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2002 06:11 PM
тАО05-02-2002 06:11 PM
Re: LVM Question: lvcreate command
lvcreate -L size -n lv_name vg_name
man lvcreate for more.
Since you have a couple of pv in your vg01, pv, lv and vg are all from logical point, I don't think you can do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2002 06:12 PM
тАО05-02-2002 06:12 PM
SolutionEX:
# lvcreate -n lvol4 /dev/vg01
# lvextend -L 800 /dev/vg01/lvol4 /dev/dsk/c2t1d0
Check it afterwards ..
# lvdisplay -v /dev/vg01/lvol4 | more
# pvdisplay -v /dev/dsk/c2t1d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2002 06:16 PM
тАО05-02-2002 06:16 PM
Re: LVM Question: lvcreate command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2002 08:18 PM
тАО05-02-2002 08:18 PM
Re: LVM Question: lvcreate command
As an extra "add-on"
If some (part of) the logical volume doesn't end up where you want it, use pvmove to replace it. It's slow, but it works ONLINE. I consider it as one of the best LVM tools around.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2002 08:49 PM
тАО05-02-2002 08:49 PM
Re: LVM Question: lvcreate command
To add to SK's post, the size for L would be in Megabytes.
Here is a LVM quick reference link:
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=51ed1c020f23f4057b/screen=ckiDisplayDocument?docId=200000058994424
cheers
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2002 03:40 AM
тАО05-03-2002 03:40 AM
Re: LVM Question: lvcreate command
Before you extend the lvol, use vgdisplay -v to determine the number of free extents on the desired disk. Then use lvextend -l free-extent-num /dev/vgXX/lvolYY /dev/dsk/WhatEver and recheck with vgdisplay. Once allocation is correct, then you can create the filesystem and mount the lvol.
Bill Hassell, sysadmin