HP XP20000/XP24000 HP StorageWorks XP Disk Array Configuration Guide (T5278-96 - Page 24

For Logical Unit Size Expansion LUSE volumes that contain more than 17 OPEN-8/9 LDEVs

Page 24 highlights

The physical volumes that make up one volume group can be located either in the same disk array or in other disk arrays. To allow more volume groups to be created, use SAM to modify the HP-UX system kernel configuration. See Reference information for the HP System Administrator Manager SAM for details. The newer releases of HP-UX have deprecated the SAM tool and replaced it with the System Management Homepage (SMH) tool. To create volume groups: 1. Use the vgdisplay command to display the existing volume groups. 2. Choose a unique name for the new volume group (for example: vg06). 3. Create the directory for the new volume group. Example # mkdir /dev/vg06 4. Use the ls -l command (with the output piped to grep to display only the files containing "group") to display the minor numbers for the existing group files. Example # ls -1 /dev/vg* | grep group crw-rw-rw 1 root root 64 0x0000000 Nov7 08:13 group : 5. Choose a unique minor number for the new group file in sequential order (for example, when existing volume groups are vg00-vg05 and the next group name is vg06, use minor number 06 for the vg06 group file). The minor numbers are hexadecimal (for example, the 10th minor number is 0x0a0000). 6. Use mknod to create the group file for the new directory. Specify the volume group name, major number, and minor number. The major number for all group files is 64. Example In this example: group name = vg06, major number of group file = 64, minor number of existing group file = 06 (which must be unique for each volume group), and c = character. # mknod /dev/vg06/group c 64 0x060000 : 7. Create the volume group. To allocate more than one physical volume to the new volume group, add the other physical volumes, separated by a space. Example # vgcreate /dev/vg06 /dev/dsk/c6t0d0 Volume group "/dev/vg06" has been successfully created. Volume group configuration for /dev/vg06 has been saved in /etc/1vmconf/vg06.conf. For Logical Unit Size Expansion (LUSE) volumes that contain more than 17 OPEN-8/9 LDEVs or more than 7043 MB (OPEN-8/9*n-CVS), use the -s and -e physical extent (PE) parameters of the vgcreate command. See LUSE device parameters. If you need to delete a volume group, use the vgremove command (for example, vgremove /dev/vgnn). If the vgremove command does not work because the volume group is not active, use the vgexport command (for example, vgexport /dev/vgnn). 8. Use the vgdisplay command to verify that the new directory was created. 24 HP-UX

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183

The physical volumes that make up one volume group can be located either in the same disk array
or in other disk arrays.
To allow more volume groups to be created, use SAM to modify the HP-UX system kernel
configuration. See
Reference information for the HP System Administrator Manager SAM
for details.
The newer releases of HP-UX have deprecated the SAM tool and replaced it with the System
Management Homepage (SMH) tool.
To create volume groups:
1.
Use the
vgdisplay
command to display the existing volume groups.
2.
Choose a unique name for the new volume group (for example: vg06).
3.
Create the directory for the new volume group.
Example
# mkdir /dev/vg06
4.
Use the
ls
l
command (with the output piped to
grep
to display only the files containing
“group”) to display the minor numbers for the existing group files.
Example
# ls
1 /dev/vg* | grep group
crw-rw-rw 1 root root 64 0x0000000 Nov7 08:13 group
:
5.
Choose a unique minor number for the new group file in sequential order (for example, when
existing volume groups are vg00-vg05 and the next group name is vg06, use minor number
06 for the vg06 group file).
The minor numbers are hexadecimal (for example, the 10th minor number is 0x0a0000).
6.
Use
mknod
to create the group file for the new directory. Specify the volume group name,
major number, and minor number. The major number for all group files is 64.
Example
In this example: group name = vg06, major number of group file = 64, minor number of
existing group file = 06 (which must be unique for each volume group), and c = character.
# mknod /dev/vg06/group c 64 0x060000
:
7.
Create the volume group.
To allocate more than one physical volume to the new volume group, add the other physical
volumes, separated by a space.
Example
# vgcreate /dev/vg06 /dev/dsk/c6t0d0
Volume group "/dev/vg06" has been successfully created.
Volume group configuration for /dev/vg06 has been saved in
/etc/1vmconf/vg06.conf.
For Logical Unit Size Expansion (LUSE) volumes that contain more than 17 OPEN-8/9 LDEVs
or more than 7043 MB (OPEN-8/9*n-CVS), use the
s
and
e
physical extent (PE) parameters
of the
vgcreate
command. See
LUSE device parameters
.
If you need to delete a volume group, use the
vgremove
command (for example,
vgremove
/dev/vgnn
). If the
vgremove
command does not work because the volume group is not
active, use the
vgexport
command (for example,
vgexport /dev/vgnn
).
8.
Use the
vgdisplay
command to verify that the new directory was created.
24
HP-UX