- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Logical volumes
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-13-2006 04:30 AM
04-13-2006 04:30 AM
Logical volumes
I am just working on a simple little system I recently bought.
It runs HP-UX version 11.
I have tried to create a logical volume via 'lvcreate' and have found that although the prompt tells me the volume is created, it then goes onto say:
Logical volume: "/dev/vg00/lvol4" could not be extended.
Run the lvextend command to create space on the
Logical volume.
1)How can I tell how much space is on the Logical volume?
2)How much should I extend it by?
NOTE:-
I ran the following command to create the logical volume:
lvcreate -L 2000 vg00
Your help will be much appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 04:34 AM
04-13-2006 04:34 AM
Re: Logical volumes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 04:37 AM
04-13-2006 04:37 AM
Re: Logical volumes
lvcreate -L 2000 -n
To see some the space, use the vgdisplay -v command. This will provide the info as to sizes in the VG and if any LV exist what their sizes are.
How much you can extend depends on how much space you have allocated to the VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 04:38 AM
04-13-2006 04:38 AM
Re: Logical volumes
Well....first off you did not specify an LV in that command - rather a VG.
Second...if you're trying to extend an existing LV you need the command lvextend.
To see the size of an existing LV use vgdisplay -v VG_name then multiply the LE value of the particular LV by the PE size of the VG. That'll give you the LV size.
And remember that the -L value *must* be the *new* size - not the addition value.
BTW - I suspect that lvol4 was selected by default because it's the *first* LV in vg00 that can be extended w/o using Ignite. All the previous LVs *must* be contigous.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 04:39 AM
04-13-2006 04:39 AM
Re: Logical volumes
Once the LV is created you need to use the lvextend command to extend it
lvcreate -n lvol /dev/vg00
lvextend -L 2000 /dev/vg00/lvol4
or as one command
lvcreate -n lvol4 -L 2000 /dev/vg00
You can remove the lv with the lvremove command
The man pages are very helpful
man lvcreate
man lvextend
man lvremove