Become superuser on the global-cluster voting node whose namespace location you want to change.
Ensure that a file named /.globaldevices does not exist on the node. If the file does exist, delete it.
Create the lofi device.
# mkfile 100m /.globaldevices# lofiadm -a /.globaldevices# \ LOFI_DEV=`lofiadm /.globaldevices`# newfs `echo ${LOFI_DEV} | \ sed -e 's/lofi/rlofi/g'` < /dev/null# lofiadm -d /.globaldevices |
In the /etc/vfstab file, comment out the global-devices namespace entry. This entry has a mount path that begins with /global/.devices/node@nodeID.
Unmount the global-devices partition /global/.devices/node@nodeID.
Disable and re-enable the globaldevices and scmountdev SMF services.
# svcadm disable globaldevices# svcadm disable scmountdev# \ svcadm enable scmountdev# svcadm enable globaldevices |
A lofi device is now created on /.globaldevices and mounted as the global-devices file system.
Repeat these steps on other nodes whose global-devices namespace you want to migrate from a partition to a lofi device.
From one node, populate the global-device namespaces.
# /usr/cluster/bin/cldevice populate |
On each node, verify that the command has completed processing before you perform any further actions on the cluster.
# ps -ef \ grep scgdevs |
The global-devices namespace now resides on a lofi device.