My Oracle Support Banner

Solaris Cluster 3.x and 4.x How to fsck Global Devices on a lofi File System (Doc ID 1915267.1)

Last updated on APRIL 23, 2021

Applies to:

Solaris Cluster - Version 3.2 U3 to 4.4 [Release 3.2 to 4.4]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)

Goal

 

Prerequisite:
The following objects are required for global device filesystem to mount at boot time.
  1. Every node in Solaris Cluster must have a directories to mount global devices. Each node must have the following directories:
    drwxr-xr-x   5 root     root           5 Mar 11  2019 node@1
    drwxr-xr-x   5 root     root           5 Mar 11  2019 node@2
         ...
    drwxr-xr-x   2 root     sys            2 Mar 11  2019 node@64
    There are maximum of 64 nodes in Solaris Cluster. The nodeid may be found in /etc/cluster/nodeid.  All directories should be present.

  2. Global device filesystem
  • Each node in cluster  must have a file "/.globaldevices". 

    -rw------T   1 root     root     1073741824 Sep 22 07:43 /.globaldevices
  • If this is a fresh install of Solaris Cluster 4.4, then this filesystem is built on  root pool on each node. The number at the end of the filesystem name corresponds to nodeid.
     
    # zfs list | grep global
    rpool/ROOT/solaris114-osc44/globaldevices_1           106K  40.9G  1.21M  /globaldevices_1


 

This document will show how to fsck a global devices file system of Solaris Cluster mouted with lofi.

Verify that lofi devices are being used for the /global/.devices/node@<nodeid> file systems.

  

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.