Sun Cluster 2.2 System Administration Guide

4.7.1 How to Repair a Full /var File System

In this example, phys-hahost1 has a full /var file system.

  1. Perform a switchover.

    Move all logical hosts off the node experiencing the problem.

    phys-hahost2# haswitch phys-hahost2 hahost1 hahost2
    
  2. Remove the node from the cluster membership.

    If you have an active login to phys-hahost1, enter the following:

    phys-hahost1# scadmin stopnode
    

    If you do not have an active login to phys-hahost1, halt the node.

  3. Reboot the node in single-user mode.

    (0) ok boot -s
    INIT: SINGLE USER MODE
    
     Type Ctrl-d to proceed with normal startup,
     (or give root password for system maintenance): root_password
     Entering System Maintenance Mode
    
     Sun Microsystems Inc. SunOS 5.6 Generic August 1997
  4. Perform the steps you would normally take to clear the full file system.

  5. After the file system is cleared, enter multiuser mode.

    # exit
    
  6. Use the scadmin startnode command to cause the node to rejoin the configuration.

    # scadmin startnode