- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to create new logical volumes on same disk...
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
02-22-2005 06:50 AM
02-22-2005 06:50 AM
How to create new logical volumes on same disk?
The disk has already one logical volume but lots of free space/PE.
pvdisplay -v /dev/dsk/c6t0d2
--- Physical volumes ---
PV Name /dev/dsk/c6t0d2
VG Name /dev/vg01
PV Status available
Allocatable yes
VGDA 2
Cur LV 2
PE Size (Mbytes) 4
Total PE 8629
Free PE 6679
Allocated PE 1950
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg01/lvol22 1875 1875
/dev/vg01/lvol36 75 75
--- Physical extents ---
Thanks,
Gulam.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 06:53 AM
02-22-2005 06:53 AM
Re: How to create new logical volumes on same disk?
lvcreate -L "size" /dev/vgxx/ /dev/dsk/cxtxdx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 06:57 AM
02-22-2005 06:57 AM
Re: How to create new logical volumes on same disk?
# lvcreate -L 4096 -n lvol2 /dev/vgXX /dev/dsk/cxtydz
# newfs -F vxfs /dev/vgXX/rlvol2
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 06:59 AM
02-22-2005 06:59 AM
Re: How to create new logical volumes on same disk?
lvcreate -n newlvol /dev/vg01
lvextend -L 4000 /dev/vg01/newlvol /dev/dsk/c6t0d2
man lvcreate and lvextend for more.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 07:10 AM
02-22-2005 07:10 AM
Re: How to create new logical volumes on same disk?
newfs -F vxfs /dev/vgXX/rlvolXX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 07:53 AM
02-22-2005 07:53 AM
Re: How to create new logical volumes on same disk?
To create a logical volume on a particular disk is
#vcreate -n lvol_name /dev/vgxx
#lvextend -L xxxx/dev/vgxx/lvol_name /dev/dsk/cxtxdx
#lvdisplay /dev/vgxx/lvol_name (to confirm )
Rgds
HGN