How to Migrate the Global-Devices Namespace From a Dedicated Partition to a lofi Device
1. Become superuser on the global-cluster voting node whose namespace location you want to change. 2. Ensure that no file named /.globaldevices already exists on the node. If the file does exist, delete it. 3. 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 4. In the /etc/vfstab file, comment out the global-devices namespace entry. This entry has a mount path that begins with /global/.device/node at nodeID. 5. Unmount the global-devices partition /global/.devices/node at nodeID. 6. 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. 7. Repeat these steps on any other nodes whose global-devices namespace you want to migrate from a partition to a lofi device. 8. 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. -- This message posted from opensolaris.org