Creating The Physical Volumes; Creating New Volume Groups - HP StorageWorks P9000 Configuration Manual

Hp storageworks p9000 configuration guide (av400-96380, may 2011)
Hide thumbs Also See for StorageWorks P9000:
Table of Contents

Advertisement

6.
Create the device files for all disk array devices (SCSI disk and multiplatform devices) using
the mknodcommand. Create the block-type device files in the /dev/dsk directory and the
character-type device files in the /dev/rdsk directory.
Example
# cd /dev/dsk
# mknod /dev/dsk/c2t6d0 b 31 0x026000
# cd /dev/rdsk
# mknod /dev/rdsk/c2t6d0 c 188 0x026000 Create character-type file.
:
#
The character-type device file is required for volumes used as raw devices (for example,
3390-3A/B/C). The block-type device file is not required for volumes used as raw devices.
If you need to delete a device file, use the rm
Table 5 Device information example (HP-UX)
Bus
Inst
Disk
HW path
8/12
02
3
8/12.8.8.255.0.6.0
8/12
02
4
8/12.8.8.255.0.6.1
8/12
02
5
8/12.8.8.255.0.8.0

Creating the physical volumes

A physical volume must be created for each new SCSI disk device.
To create the physical volumes:
1.
Use the pvcreate command to create the physical volumes with the character-type device
file as the argument. Specify the /dev/rdsk directory.
Example
# pvcreate /dev/rdsk/c6t0d0
Physical volume "/dev/rdsk/c6t0d0" has been successfully created.
:
# pvcreate /dev/rdsk/c6t0d1
Physical volume "/dev/rdsk/c6t0d1" has been successfully created.
Do not use the f option with the pvcreate command. This option creates a new physical
volume forcibly and overwrites the existing volume. If you accidentally enter the character-type
device file for an existing volume, you will lose the data on that volume.
2.
Repeat step 1 for each OPEN-x device on the disk array.

Creating new volume groups

You must create new volume groups for the new physical volumes. If desired, you can also add
any of the volumes on the disk array to existing volume groups using the vgextend command.
22
HP-UX
Driver
Dev type
TID
LUN
sdisk
OPEN-9
6
0
sdisk
OPEN-9
6
1
sdisk
3390-3B
8
0
Go to /dev/dsk directory.
Create block-type file.
File name, b=block-type,
31=major #, 0x026000= minor #
Go to /dev/rdsk directory.
File name, c=character-type,
177=major #, 0x026000=minor #
i command.
Dev file
Minor no.
Major
no.
char.
files
c2t6d0
0x026000
188
c2t6d1
0x026100
188
c2t8d0
0x028000
188
Major
no.
block
files
31
31
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xp p9500P9500

Table of Contents