- 论坛徽章:
- 0
|
HPUX SGeRAC - vgchange -a s vg01 : Bad file number
ISSUE:
Shared-mode volume group activation is only available through Serviceguard extension for RAC (Real Application Cluster)
First, the volume group is modified such that it will only activate in shared mode:
#srv1143:root: vgchange -S y -c y vg01
Performed Configuration change.
Volume group "vg01" has been successfully changed.
The problem occurs when the admin attempts to activate the VG in shared mode:
#srv1143:root: vgchange -a s vg01
vgchange: Couldn't activate volume group "vg01":
Bad file number
Configuration:
Serviceguard version A.11.16
SGeRAC is also loaded along with patch PHSS_32659
SOLUTION:
This issue has been identified as a problem and patches for HP-UX 11.11 and 11.23 will be produced.
The cause of the problem is due to setting the MWC bit in the logical volume area.
The workaround is to set the MWC bit to NO or NONE on the logical volume. Since no modifications can be made to volume groups activated in shared mode, the VG must first be changed to activate in standard mode or exclusive mode. Then set the MWC bit to NOMWC and then set the VG back to shared-mode activation.
Example:
# vgchange -c n vgname
# lvchange -M n -c y (for all the mirrored logical volume in the VG)
or
# lvchange -M n -c n (for all the mirrored logical volume in the VG)
# vgchange -a s -x vgname
or
# vgchange -a n vgname; vgchange -a s vgname |
|