-
Assume the root role on the global-cluster node whose namespace location
you want to change.
-
Evacuate services off the node and reboot the node into noncluster mode.
Do this to ensure that global devices are not served from this node while you perform this
procedure. For instructions, see How to Boot a Node in Noncluster Mode.
-
On a local disk of the node, create a new partition that meets the following
requirements:
-
Add an entry to the /etc/vfstab file for the new partition to be mounted
as the global-devices file system.
For example, if the partition that you choose to use is
/dev/did/rdsk/d5s3, the new entry to add to the/etc/vfstab
file would then be as follows:
/dev/did/dsk/d5s3 /dev/did/rdsk/d5s3 /global/.devices/node@3 ufs 2 no global
-
Unmount the global devices partition
/global/.devices/node@nodeID.
-
Remove the lofi device that is associated with the
/.globaldevices file.
# lofiadm -d /.globaldevices
-
Delete the /.globaldevices file.
# rm /.globaldevices
-
Disable and re-enable the globaldevices and
scmountdev SMF services.
# svcadm disable globaldevices# svcadm disable scmountdev
# svcadm enable scmountdev
# svcadm enable globaldevices
The partition is now mounted as the global-devices namespace file system.
-
Repeat these steps on other nodes whose global-devices namespace you might want to migrate
from a lofi device to a partition.
-
Boot into cluster mode and populate the global-devices namespace.
-
From one node in the cluster, populate the global-devices namespace.
# cldevice populate
-
Ensure that the process completes on all nodes of the cluster before you perform any further
action on any of the nodes.
# ps -ef | grep cldevice populate
The global-devices namespace now resides on the dedicated partition.
-
Migrate to the node any services that you want to run on that node.