- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- creating a 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
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
01-20-2005 11:19 AM
01-20-2005 11:19 AM
creating a disk
Iam using the command below to create the disk for my service guard enviroment. Just a quick check if my step looks correct to you ?
and what is the purpose of mknod /dev/vg01/group c 64 0x011000
what is c 64 0x011000 for and how do I assign what figure to it.. thanks if anyone can help.
ioscan -funC disk
inf
pvcreate -f /dev/rdsk/c4t3d1
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x011000
vgcreate vg01 /dev/dsk/c4t3d1
lvcreate -L 100 -n lvvgo1 /dev/vgo1
newfs -f vxfs /dev/vgmv36a/rlvvg01
mkdir /test
vgchange -a y vg01
mount /dev/dsk/c4t3d1 /test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 12:19 PM
01-20-2005 12:19 PM
Re: creating a disk
The mknod command creates the control file named group in the directory /dev/vg01. This provides a means for the LVM kernel and LVM commands communicate withing the volume group that you create.
64 is always the used as a major number and the minor number 0x011000 should be any hexadecimal that has the following form 0xhh0000.
Or you can used SAM to create the volume group.
Regards,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 12:56 PM
01-20-2005 12:56 PM
Re: creating a disk
By convention, vg00/group uses 0x000000, vg01/group uses 0x010000, /dev/vg02/group uses 0x020000 but any value can be used as long as it is unique to this host and as long as you do not exceed the maxvgs kernel value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 02:32 PM
01-20-2005 02:32 PM
Re: creating a disk
the minor number is incorrect.it has the form
0xhh0000
the first two digits (specified as hh)which is coming after 0x
only you can change.the last four digits should be zero as per convention.the two digits should be in hexadecimal format.and it should be less than the value of maxvgs parameter in kernel.
eg: if you are having a maxvgs parameter of 12
(its hex value is 0c) you can have those two digits from 00 to 09 ,0a,0b,0c .
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 02:41 PM
01-20-2005 02:41 PM
Re: creating a disk
and see other lines also.may be typing mistake.
you have to newfs the lvol you created (/dev/vg01/lvvg01)not other lvol .give -F option ,not -f .
vgcreate /dev/vg01 /dev/dsk/c4t3d1
lvcreate -L 100 -n lvvg01 /dev/vg01
newfs -F vxfs /dev/vg01/rlvvg01
you have to mount lvol ,not the disk
mount /dev/vg01/lvvg01 /test