On the system where GDS object such as class is created, even when you reconfigure the system from the reinstallation of the OS, delete the GDS settings as described in "9.3 Removing Volumes, Groups, and Classes" and "9.4 System Disk Mirroring Cancellation [EFI]."
If you re-install the operating system without deleting the GDS settings, execute the following restoration procedure.
Restoration procedure
1) If you re-install the operating system without canceling the system disk mirroring, delete the root class information.
If GDS is installed without taking this procedure, it may take about 10 minutes to start GDS. In this case, it takes time to start the cluster application in which the class resources are registered.
1-1) Delete the configuration data from the EFI environment variables.
# cd /sys/firmware/efi/vars/ # cat sysvol-db2-*/raw_var > del_var # cat sysvol-db2-*/data -> Make sure that nothing is displayed.
1-2) Delete SDX disk entries from the boot option of the EFI boot manager.
1-2-1) Check the current setting of the EFI boot manager.
# efibootmgr
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0001,0002,0000
Boot0000* sda
Boot0001* RootDisk1
Boot0002* RootDisk2
In this example, the SDX disk entries are RootDisk1 of the number 0001 and RootDisk2 of the number 0002.
1-2-2) Remove the SDX disk entries from the boot option.
# efibootmgr -B -b 0001 BootCurrent: 0000 Timeout: 5 seconds BootOrder: 0002,0000 Boot0000* sda Boot0002* RootDisk2 # efibootmgr -B -b 0002 BootCurrent: 0000 Timeout: 5 seconds BootOrder: 0000 Boot0000* sda
1-3) Remove the private slice of the disk that has been registered in the root class.
An example below shows the procedure when the physical disks sda and sdb have been registered in the root class, and the physical slices sda8 and sdb8 have been the private slices before the OS is reinstalled.
1-3-1) Execute the parted command.
# parted /dev/sda
See
For details of the parted command, see the manual of parted(8).
1-3-2) Display the partition table using the print subcommand.
(parted) print
Disk /dev/sdf: 34.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 630MB 629MB fat32 EFI System Partition boot, esp
2 630MB 15.0GB 14.4GB xfs
3 15.0GB 17.0GB 2000MB xfs
4 17.0GB 19.0GB 2001MB xfs
5 19.0GB 21.0GB 2000MB xfs
6 21.0GB 23.0GB 2001MB xfs
7 23.0GB 25.0GB 2000MB linux-swap(v1) swap
8 25.0GB 25.0GB 10.5MB <== Private slice
1-3-3) Remove the private slice.
(parted) rm 8
1-3-4) Remove the private slice sdb8 as well.
Take step 1-3-2) and 1-3-3) for the physical disk sdb.
1-3-5) Finish the parted command.
(parted) quit
1-4) Restart the system.
2) The following errors may occur when you re-install the operating system and GDS without deleting the GDS setting and setup GDS.
SDX:sdxdisk: ERROR: physical_slice_name is private slice SDX:sdxdisk: ERROR: physical_disk_name: configuration information exists in private slice
In this case, setup GDS after deleting private slices with the following procedure;
2a) When the error message is output for the physical disk that has been registered in the root class before the OS is re-installed.
Take step 1-3).
2b) When the error message is output for the physical disk that has been registered in the shared class or in the local class before the OS is re-installed.
As an example, the procedure when physical_disk_name is "sdb" is described below.
# dd if=/dev/zero of=/dev/sdb count=35