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

Setting and verifying the auto-mount parameters, Table 5 Auto-mount parameters HP-UX

Page 29 highlights

/ldev/vg00/lvol1 59797 59364 0 100% : /ldev/vg06/lvol1 2348177 9 2113350 0% / /AHPMD-LU00 4. As a final verification, perform some basic UNIX operations (for example file creation, copying, and deletion) on each logical device to make sure that the devices on the disk array are fully operational. Example #cd /AHPMD-LU00 #cp /bin/vi /AHPMD-LU00/vi.back1 #ls -l drwxr-xr-t 2 root root 8192 Mar 15 11:35 lost+found -rwxr-xr-x 1 root sys 217088 Mar 15 11:41 vi.back1 #cp vi.back1 vi.back2 #ls -l drwxr-xr-t 2 root root 8192 Mar 15 11:35 lost+found -rwxr-xr-x 1 root sys 217088 Mar 15 11:41 vi.back1 -rwxr-xr-x 1 root sys 217088 Mar 15 11:52 vi.back2 Setting and verifying the auto-mount parameters Set up and verify the auto-mount parameters for each new volume. The /etc/checklist file (which can also be called the /etc/fstab file) contains the auto-mount parameters for the logical volumes. To set up and verify the auto-mount parameters: 1. Edit the /etc/checklist (/etc/fstab) file to add a line for each OPEN-x device on the disk array. This example and the following table show the auto-mount parameters. Example #cp -ip /etc/checklist /etc/checklist.standard #vi /etc/checklist /dev/vg00/lvol1 /dev/vg00/lvol2 : /dev/vg06/lvol1 /dev/vg06/lvol2 / swap /AHPMD-LU00 /AHPMD-LU01 hfs rw ignore rw 0 1 0 0 hfs defaults 0 2 hfs defaults 0 2 # root # primary swap # AHPMD-LU00 # AHPMD-LU01 P1 P2 P3 P4 Table 5 Auto-mount parameters (HP-UX) P5 P6 P7 Parameter P1 P2 P3 P4 P5 P6 P7 Name Device to mount Mount point File system Mount options Enhance File system check (fsck pass) Comments Enter Block-type device file name Mount directory name Type of file system (for example, hfs, vxfs) "defaults" or other appropriate mount options 0 Order for performing file system checks Comment statement 2. Reboot the system. Configuring disk array devices 29

  • 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

/ldev/vg00/lvol1
59797
59364
0
100%
/
:
/ldev/vg06/lvol1
2348177
9
2113350
0%
/AHPMD-LU00
4.
As a final verification, perform some basic UNIX operations (for example file creation, copying,
and deletion) on each logical device to make sure that the devices on the disk array are fully
operational.
Example
#cd /AHPMD-LU00
#cp /bin/vi /AHPMD-LU00/vi.back1
#ls -l
drwxr-xr-t 2 root root 8192 Mar 15 11:35 lost+found
-rwxr-xr-x 1 root sys 217088 Mar 15 11:41 vi.back1
#cp vi.back1 vi.back2
#ls -l drwxr-xr-t 2 root root 8192 Mar 15 11:35 lost+found
-rwxr-xr-x 1 root sys 217088 Mar 15 11:41 vi.back1
-rwxr-xr-x 1 root sys 217088 Mar 15 11:52 vi.back2
Setting and verifying the auto-mount parameters
Set up and verify the auto-mount parameters for each new volume. The
/etc/checklist
file
(which can also be called the
/etc/fstab
file) contains the auto-mount parameters for the logical
volumes.
To set up and verify the auto-mount parameters:
1.
Edit the
/etc/checklist
(
/etc/fstab
) file to add a line for each OPEN-
x
device on the
disk array. This example and the following table show the auto-mount parameters.
Example
#cp -ip /etc/checklist /etc/checklist.standard
#vi /etc/checklist
/dev/vg00/lvol1
/
hfs
rw
0
1
# root
/dev/vg00/lvol2
swap
ignore rw
0
0
# primary swap
:
/dev/vg06/lvol1
/AHPMD-LU00
hfs
defaults
0
2
# AHPMD-LU00
/dev/vg06/lvol2
/AHPMD-LU01
hfs
defaults
0
2
# AHPMD-LU01
P1
P2
P3
P4
P5 P6
P7
Table 5 Auto-mount parameters (HP-UX)
Enter
Name
Parameter
Block-type device file name
Device to mount
P1
Mount directory name
Mount point
P2
Type of file system (for example, hfs, vxfs)
File system
P3
“defaults” or other appropriate mount options
Mount options
P4
0
Enhance
P5
Order for performing file system checks
File system check (fsck pass)
P6
Comment statement
Comments
P7
2.
Reboot the system.
Configuring disk array devices
29