- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk Install
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-18-2003 01:03 AM
12-18-2003 01:03 AM
10x
RPM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 01:11 AM
12-18-2003 01:11 AM
Re: Disk Install
Each 36GB drive can only belong to one VG so you'll have to use lvols to break it down further to 18GB. Unless you have separate and distinct uses for these 18GB "chunks", I would put them all in the same volume group and then mirror the lvols. Ideally, if you have the ability to have dual path connections to the jbod, you would want to separate primary and mirror on different paths. That's about it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 01:13 AM
12-18-2003 01:13 AM
Re: Disk Install
For commands, take a look at the EXAMPLES section of the vgcreate man page. Everything is spelled out there.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 01:14 AM
12-18-2003 01:14 AM
Re: Disk Install
Then when you create your LVs and mirror them, you use the PVG-strict option (-s g option to lvcreate, I believe) to make sure your mirrors go on the other PVG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 01:19 AM
12-18-2003 01:19 AM
SolutionThis makes administering things easier as you can ensure that when you extend logical volumes in the future, you always have the mirrors on seperate disks and you only need to refer to the physical volume group names.
In a nutshell
"pvcreate" on all your disks
Create your volume group by making a directory /dev/vg01 and then "mknod /dev/vg01/group c 64 0x020000" (that 0x02000 must be a unique number for group files in your volume groups).
Then you need to actually crete the volume group with "vgcreate".
Then "vgextend" your group to include all disks.
Then layout your physical volume groups by editing /etc/lvmpvg. This file looks like this
VG /dev/vg01
PVG primary
/dev/dsk/xxxxxx
/dev/dsk/xxxxxx
...
..
PVG mirror
/dev/dsk/xxxxx
....
...
Then create your logical volumes using
"lvcreate -s g /dev/vg01". This will create 0 length logical volume sthat you can then extend into the physical volume groups.
"lvextend -L
Then mirror the logical volume
"lvextend -m 1 /dev/vg01/lvol1"
This mirror will be built in the "mirror" physical volume group.
Oh, you might want ot put a filesystem on there too
"newfs -F vxfs /dev/vg01/rlvol1"