- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to create a Logical Volume in particular porti...
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
12-03-2002 07:24 AM
12-03-2002 07:24 AM
Is it possible to create a logical volume in particular portion of speficied Physical disk, For example Creating a logical volume of size 100MB at end of 17GB hard disk c0t1d0.
Thanks
John Jayaseelan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 07:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 07:28 AM
12-03-2002 07:28 AM
Re: How to create a Logical Volume in particular portion of speficied Physical disk
I suppose that to get round this, you could create a large partition on the disk, leaving 100MB free, then create your 100MB partition, and remove the large partition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 07:29 AM
12-03-2002 07:29 AM
Re: How to create a Logical Volume in particular portion of speficied Physical disk
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 07:29 AM
12-03-2002 07:29 AM
Re: How to create a Logical Volume in particular portion of speficied Physical disk
lvcreate -n templv vg??
lvextend -L 16900 /dev/vg??/templv /dev/dsk/c0t1d0
lvcreate -n yourlv vg??
lvextend -L 100 /dev/vg??/yourlv /dev/dsk/c0t1d0
lvremove -f /dev/vg??/templv
i.e. create a temp volume that occupies all the rest of the disk, create your volume tnen remove the temporary one.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 07:30 AM
12-03-2002 07:30 AM
Re: How to create a Logical Volume in particular portion of speficied Physical disk
It is possible. But there is no direct command to specify what physical extents are to be used.
Determine the number of extents needed for 100 MB (ex., 25 if you have the extent size of 4 MB), find the total number of extents (say X) on the disk (pvdisplay -v) and create a logical volume of ( [x-25]*extent size ) and then create another logical volume of 100MB. Then delete the first logical volume.
If you already have logical volumes on the disk, then case is slightly difficult. Again you can use the same logic above to get what you need. Fill up all the extents until the last 25 extents (if the extent size if 4MB) by creating dummy logical volume(s), create your 100MB logical volume and then delete the dummies.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 07:51 AM
12-03-2002 07:51 AM
Re: How to create a Logical Volume in particular portion of speficied Physical disk
In LVM you cannot specify where to create the partition like you want in the inner side of the disk presumingly for better I/O , in VXFS you can define where the partition will start from .
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 05:17 PM
12-03-2002 05:17 PM
Re: How to create a Logical Volume in particular portion of speficied Physical disk
On one hand, concern for the I/O time based on the physical placement on a disk of a filesystem takes me back in time farther than I want to go. [Interestingly, AIX does offer selection of physical disk areas (outer, center, etc.]. I am *not* disputing that you might improve performance, but I question whether the improvement might really be perceptable to an end-user in a large population. I suspect that better performance can be gained by more optimal coding practices in many cases, particularly in SAN environments with a good cache.
If you are dealing with a database engine, like Oracle, you might find this study on "SAME" (Stripe And Mirror Everything) of interest:
http://technet.oracle.com/deploy/availability/pdf/oow2000_same.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 05:28 PM
12-03-2002 05:28 PM
Re: How to create a Logical Volume in particular portion of speficied Physical disk
If you need that kind of speed for 100MB I suggest you go buy some RAM DISK or simply more MEMORY for your server.
live free or die
harry