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

Creating the mount directories, Mounting and verifying the file systems

Page 28 highlights

Example # pvchange -t 60 /dev/dsk/c0t6d0 Physical volume "/dev/dsk/c0t6d0" has been successfully changed. Volume Group configuration for /dev/vg06 has been saved in /etc/lvmconf/vg06.conf. 3. Verify that the new I/O timeout value is 60 seconds using the pvdisplay command: Example # pvdisplay /dev/dsk/c0t6d0 --- Physical volumes --- PV Name /dev/dsk/c0t6d0 VG Name /dev/vg06 PV Status available : Stale PE 0 IO Timeout (Seconds) 60 [New I/O timeout value] 4. Repeat steps 1-3 for each new disk connected to the system. Creating the mount directories Create a mount directory for each logical volume. Choose a unique name for each mount directory that identifies the logical volume. To create a mount directory for each logical volume: 1. Use mkdir with the new mount directory name as the argument to create the mount directory. Example # mkdir /AHPMD-LU00 2. Use the ls -x command to verify the new mount directory. Example The following example shows the root directory as the location for the mount directories. # ls -x AHPMD-LU00 floppy bin home dev hstsboof device kadb etc kernel export lib 3. Repeat steps 1-2 for each logical volume on the disk array. Mounting and verifying the file systems After the mount directories have been created, mount and verify the file system for each logical volume. To mount and verify the file systems: 1. Use mount to mount the file system for the volume. Example # mount /dev/vg06/lvol1 /AHPMD-LU00 2. Repeat step 1 for each logical volume on the disk array. If you need to unmount a file system, use the unmount command. 3. Use the bdf command to verify that the file systems are correct. The capacity is listed under Kbytes. Example # bdf Filesystem Kbytes used avail %used Mounted on 28 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

Example
# pvchange -t 60 /dev/dsk/c0t6d0
Physical volume "/dev/dsk/c0t6d0" has been successfully changed.
Volume Group configuration for /dev/vg06 has been saved in
/etc/lvmconf/vg06.conf.
3.
Verify that the new I/O timeout value is 60 seconds using the
pvdisplay
command:
Example
# pvdisplay /dev/dsk/c0t6d0
--- Physical volumes ---
PV Name
/dev/dsk/c0t6d0
VG Name
/dev/vg06
PV Status
available
:
Stale PE
0
IO Timeout (Seconds)
60
[New I/O timeout value]
4.
Repeat steps 1–3 for each new disk connected to the system.
Creating the mount directories
Create a mount directory for each logical volume. Choose a unique name for each mount directory
that identifies the logical volume.
To create a mount directory for each logical volume:
1.
Use
mkdir
with the new mount directory name as the argument to create the mount directory.
Example
# mkdir /AHPMD-LU00
2.
Use the
ls
x
command to verify the new mount directory.
Example
The following example shows the root directory as the location for the mount directories.
# ls -x
AHPMD-LU00
bin
dev
device
etc
export
floppy
home
hstsboof
kadb
kernel
lib
3.
Repeat steps 1–2 for each logical volume on the disk array.
Mounting and verifying the file systems
After the mount directories have been created, mount and verify the file system for each logical
volume.
To mount and verify the file systems:
1.
Use
mount
to mount the file system for the volume.
Example
# mount /dev/vg06/lvol1
/AHPMD-LU00
2.
Repeat step 1 for each logical volume on the disk array.
If you need to unmount a file system, use the
unmount
command.
3.
Use the
bdf
command to verify that the file systems are correct. The capacity is listed under
Kbytes.
Example
# bdf
Filesystem
Kbytes
used
avail
%used
Mounted on
28
HP-UX