Hitachi

Hitachi Advanced Database Setup and Operation Guide


3.11.3 Deleting the directories that store communication-information files

Once you have uninstalled the HADB server, delete the directories that store communication-information files.

Organization of this subsection

(1) Executing the command for deleting the directories that store communication-information files

The communication-information file directories to be deleted differ depending on the OS version of the server machine.

(a) Red Hat Enterprise Linux Server 6

Delete the following directories:

  • /dev/HADB/pth

  • /lib/udev/devices/HADB/pth

  1. Delete the /dev/HADB/pth directory.

    As a superuser, enter the following operating system command, and then press the Enter key. The /dev/HADB/pth directory is deleted.

    rm -rf /dev/HADB/pth
  2. Delete the /lib/udev/devices/HADB/pth directory.

    As a superuser, enter the following operating system command, and then press the Enter key. The /lib/udev/devices/HADB/pth directory is deleted.

    rm -rf /lib/udev/devices/HADB/pth

(b) Red Hat Enterprise Linux Server 7

Delete the following directory and file:

  • /dev/HADB/pth

  • /etc/tmpfiles.d/dev-HADB-pth.conf

  1. Delete the /dev/HADB/pth directory.

    As a superuser, enter the following operating system command, and then press the Enter key. The /dev/HADB/pth directory is deleted.

    rm -rf /dev/HADB/pth
  2. Delete the /etc/tmpfiles.d/dev-HADB-pth.conf file.

    As a superuser, enter the following operating system command, and then press the Enter key. The /etc/tmpfiles.d/dev-HADB-pth.conf file is deleted.

    rm -f /etc/tmpfiles.d/dev-HADB-pth.conf

(2) Checking that the directories for storing communication-information files have been deleted

Check that the directories for storing communication-information files have been deleted correctly.

The items to be checked differ depending on the OS version of the server machine.

(a) Red Hat Enterprise Linux Server 6

  1. Check whether the /dev/HADB/pth directory has been deleted.

    As a superuser, enter the following operating system command, and then press Enter:

    ls -d -l /dev/HADB/pth

    From the execution result of the ls command, you can check whether the /dev/HADB/pth directory has been deleted. The following shows an example of the execution result.

    ▪ Execution result example

    ls: cannot access /dev/HADB/pth: No such file or directory

    If the execution result such as the preceding one is displayed, the /dev/HADB/pth directory has been deleted.

  2. Check whether the /lib/udev/devices/HADB/pth directory has been deleted.

    As a superuser, enter the following operating system command, and then press Enter:

    ls -d -l /lib/udev/devices/HADB/pth

    From the execution result of the ls command, you can check whether the /lib/udev/devices/HADB/pth directory has been deleted. The following shows an example of the execution result.

    ▪ Execution result example

    ls: cannot access /lib/udev/devices/HADB/pth: No such file or directory

    If the execution result such as the preceding one is displayed, the /lib/udev/devices/HADB/pth directory has been deleted.

(b) Red Hat Enterprise Linux Server 7

  1. Check whether the /dev/HADB/pth directory has been deleted.

    As a superuser, enter the following operating system command, and then press Enter:

    ls -d -l /dev/HADB/pth

    From the execution result of the ls command, you can check whether the /dev/HADB/pth directory has been deleted. The following shows an example of the execution result.

    ▪ Execution result example

    ls: cannot access /dev/HADB/pth: No such file or directory

    If the execution result such as the preceding one is displayed, the /dev/HADB/pth directory has been deleted.

  2. Check whether the /etc/tmpfiles.d/dev-HADB-pth.conf file has been deleted.

    As a superuser, enter the following operating system command, and then press Enter:

    ls -l /etc/tmpfiles.d/dev-HADB-pth.conf

    From the execution result of the ls command, you can check whether the /etc/tmpfiles.d/dev-HADB-pth.conf file has been deleted. The following shows an example of the execution result.

    ▪ Execution result example

    ls: cannot access /etc/tmpfiles.d/dev-HADB-pth.conf: No such file or directory

    If the execution result such as the preceding one is displayed, the /etc/tmpfiles.d/dev-HADB-pth.conf file has been deleted.