- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Logical volume of 0 size
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
07-11-2003 07:27 AM
07-11-2003 07:27 AM
Wanted to know how to create a logical volume of zero bytes of size.
lvcreate -L 0 /dev/vg01 - this don'e work.
Pl suggest
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 07:29 AM
07-11-2003 07:29 AM
Re: Logical volume of 0 size
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 07:30 AM
07-11-2003 07:30 AM
Solution"If you omit the -l and -L options, the logical volume is created with
zero length. This permits you to choose its physical volume location
when you allocate logical extents with the lvextend command (see
lvextend(1M)). If you specify -l or -L, the location is determined
automatically."
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 07:30 AM
07-11-2003 07:30 AM
Re: Logical volume of 0 size
You must *omit* the size option ('-L') to create a zero size logical volume.
See the 'lvcreate' man pages.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 07:38 AM
07-11-2003 07:38 AM
Re: Logical volume of 0 size
If you are doing this for performance reasons, don't expect huge improvents. The problem is that even the smallest possible PE (1MB) is still a big strip size -- which should really be in the 64KB range to distribute the I/O quickly in a round-robin fashion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 07:41 AM
07-11-2003 07:41 AM
Re: Logical volume of 0 size
Right after you run the lvcreate command, you have a logical volume with size zero.
Then you need lvextend to give it size.
Example.
lvcreate -C n -n schmo /dev/vg01
Created a noncontiguous logical volume called schmo
lvextend -L 100 /dev/vg01/schmo /dev/dsk/c1t1d0
Now its got 100 Megabyes of space.
What did I miss?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 11:33 AM
07-11-2003 11:33 AM
Re: Logical volume of 0 size
When you create lv without parameter of the size the size will be zero as you want.
Caesar