This procedure plus a procedure to reverse the process is currently 
documented in the Sun Cluster 3.2 1/09 Release Notes:

http://wikis.sun.com/display/SunCluster/%28English%29+Sun+Cluster+3.2+1-09+Release+Notes#%28English%29SunCluster3.21-09ReleaseNotes-migrategd

In the next Sun Cluster release, you will be able to find these 
procedures in the Sun Cluster System Administration Guide.

Lisa Shepherd
Sun Cluster Technical Publications
"We're the M in RTFM"



a wrote:
> 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.
>   

Reply via email to