Top
PRIMECLUSTER Global Disk Services  Configuration and AdministrationGuide 4.7

6.5.3 Checking System Disk Settings

This section explains how to check that the system disk mirroring is set properly.

[Procedure]

1) Check the GDS configuration.

Execute the sdxinfo -c command to check the GDS configuration (class information, disk information, group information, volume information, and slice information).

# sdxinfo -c Class_Name

See

For detailed information on contents displayed by the sdxinfo command, refer to "B.1.6 sdxinfo - Display Object Configuration and Status Information."

(Example)

# sdxinfo -c RootClass
OBJ    NAME      TYPE     SCOPE       SPARE
------ -------   -------- ----------- -----
class  RootClass root     (local)     0

OBJ    NAME         TYPE   CLASS     GROUP     DEVNAM  DEVBLKS   DEVCONNECT       STATUS
------ -------      ------ -------   -------   ------- --------  ---------------- -------
disk   rootDisk0001 mirror RootClass rootGroup sda     286749488 *                ENABLE
disk   rootDisk0002 mirror RootClass rootGroup sdb     286749488 *                ENABLE

OBJ    NAME      CLASS     DISKS                     BLKS      FREEBLKS      SPARE
------ -------   -------   -------------------       --------  --------      -----
group  rootGroup RootClass rootDisk0001:rootDisk0002 286749488 256344880     0

OBJ    NAME       CLASS     GROUP     SKIP JRM 1STBLK   LASTBLK  BLOCKS     STATUS
------ -------    -------   -------   ---- --- -------- -------- --------   --------
volume *          RootClass rootGroup *    *          0     2047     2014   FREE
volume efiVolume  RootClass rootGroup off  on      2048   411647   409600   ACTIVE
volume bootVolume RootClass rootGroup off  on    411648  1435647  1024000   ACTIVE
volume rootVolume RootClass rootGroup off  on   1435648 22407167 20971520   ACTIVE
volume swapVolume RootClass rootGroup off  on  22407168 30795775  8388608   ACTIVE
volume *          RootClass rootGroup *    *   30795776 30816255    20480   PRIVATE
volume *          RootClass rootGroup *    *   30816256 286749454 255933199 FREE

OBJ    CLASS     GROUP     DISK         VOLUME     STATUS
------ -------   -------   -------      -------    --------
slice  RootClass rootGroup rootDisk0001 efiVolume  ACTIVE
slice  RootClass rootGroup rootDisk0002 efiVolume  ACTIVE
slice  RootClass rootGroup rootDisk0001 bootVolume ACTIVE
slice  RootClass rootGroup rootDisk0002 bootVolume ACTIVE
slice  RootClass rootGroup rootDisk0001 rootVolume ACTIVE
slice  RootClass rootGroup rootDisk0002 rootVolume ACTIVE
slice  RootClass rootGroup rootDisk0001 swapVolume ACTIVE
slice  RootClass rootGroup rootDisk0002 swapVolume ACTIVE

2) Check fstab.

Execute the following command to check that the device names have been modified.

# cat /etc/fstab

(Example)

[Before setting up the GDS configuration]

# cat /etc/fstab
# /dev/sda3 / ext4 defaults 1 1 /dev/sda2 /boot ext4 defaults 1 2 /dev/sda1 /boot/efi vfat umask=0077,shortname=winnt 0 0 /dev/sda4 swap swap defaults 0 0 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0

[After setting up the GDS configuration]

# /etc/fstab
#
/dev/sfdsk/gdssys2      /...
/dev/sfdsk/gdssys5      /boot ...
/dev/sfdsk/gdssys6      /boot/efi ...
/dev/sfdsk/gdssys32     swap            swap    defaults                        0       0
tmpfs                   /dev/shm        tmpfs   defaults                        0       0
devpts                  /dev/pts        devpts  gid=5,mode=620                  0       0
sysfs                   /sys            sysfs   defaults                        0       0
proc                    /proc           proc    defaults                        0       0

3) Check the swapon device.

Execute the following command to check that the swap device name has been modified.

# swapon -s

(Example)

[Before setting up the GDS configuration]

# swapon -s
Filename                                Type            Size    Used    Priority
/dev/sda4                               partition       4194296 0       -1

[After setting up the GDS configuration]

# swapon -s
Filename                                Type            Size    Used    Priority
/dev/sfdsk/gdssys32                     partition       4194296 0       -1
                  (*1)

(*1) In RHEL8.6 or later, the path for the GDS logical volume is /dev/sfdsksys32.