Specifies the name of the node from which to move resource or device groups

Reboot the node.

# shutdown -g0 -y -i6

Attach the second submirror to each mirror.

This attachment starts a synchronization of the submirrors.

# metattach mirrorsubmirror2

Wait for the synchronization of the mirrors, started in Step 9, to complete.

Use the metastat(1M) command to view mirror status and to verify that mirror synchronization is complete.

# metastatmirror

If the disk that is used to mirror the unmountable file system is physically connected to more than one node (is multihosted), enable the localonly property.

Perform the following steps to enable the localonly property
of the raw-disk device group for the disk that is used to mirror the unmountable file system. You must enable the localonly property to prevent unintentional fencing of a node from its boot device if the boot device is connected to multiple nodes.

If necessary, use the scdidadm-L command to display the full device-ID path name of the raw-disk device group.

In the following example, the raw-disk device-group name dsk/d2 is part of the third column of output, which is the full device-ID path name.

If the node list contains more than one node name, remove all nodes from the node list except the node whose root disk is mirrored.

Only the node whose root disk is mirrored should remain in the node list for the
raw-disk device group.

# scconf -r -D name=dsk/dN,nodelist=node

-D name=dsk/dN

Specifies the cluster-unique name of the raw-disk device group

nodelist=node

Specifies the name of the node or nodes to remove from the node list

Enable the localonly property.

When the localonly property is enabled, the raw-disk device group is used exclusively by the node in its node list. This usage prevents unintentional fencing of the node from its boot device
if the boot device is connected to multiple nodes.

Example 3–4 Mirroring File Systems That Cannot Be Unmounted

The following example shows the creation of mirror d1 on the node phys-schost-1 to mirror /usr, which resides on c0t0d0s1. Mirror d1 consists of submirror d11 on partition c0t0d0s1 and submirror d21 on partition c2t2d0s1. The /etc/vfstab file entry for /usr is updated to use the mirror name d1. Device c2t2d0 is a multihost disk, so the localonly property is enabled.