- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Choose disk with lvcreate
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-06-2002 01:18 PM
02-06-2002 01:18 PM
Here is my problem: I have an 11.00, D270 with 2 9Gig drives. Both drives are part of VG00. I installed the OS on 1 drive and then mirrored it to the other. This used about 3G on each of the drives and left about 6 unallocated on each. I now need to create about 8G (4x2G) more of un-mirrored fs's. My problem is that as I start creating these, it uses all the remainder of 1 disk and then spills to the next. Because of this, I can never extend any of the mirrored OS fs's and properly mirror them. I would like to put
2 of the new fs's on each disk so there would be 2G free on each disk.
Does this long-winded babble make sense? I know the easy answer would be to get mgmt to spring for some larger drives or a disk system.
Thanks again,
Greg
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2002 01:21 PM
02-06-2002 01:21 PM
SolutionThe way to get the LV on the disk(s) you want is to lvcreate the LV without specifying a size then lvextend the LV specifying the size and the disks you want to use. man lvextend.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2002 01:21 PM
02-06-2002 01:21 PM
Re: Choose disk with lvcreate
You need to establish an '/etc/lvmtab' file. It's designed expressly to address the situation you describe.
Have a look at the man pages for 'lvmpvg (4)'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2002 01:25 PM
02-06-2002 01:25 PM
Re: Choose disk with lvcreate
The answer is no, not directly BUT you can out bushwhack it. If you man lvcreate, you will notice that no pv_path argument can be specified but if you man lvextend, you will note that you can specify a pv_path.
1) Create a new lvol with lvcreate but specify a size of zero.
2) lvextend to your desired size and specify the pv_path.
3) Build your filesystem using newfs.
Man lvcreate, lvextend for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2002 01:43 PM
02-06-2002 01:43 PM
Re: Choose disk with lvcreate
You can do like this
#lvcreate -n
#lvextend -L
Hope this will solve your problem and this way you can take the PE from the disk you want.
Sandip