If you use a lofi device for the global-devices namespace on one or more nodes of the global cluster, perform this procedure to change the size of the device.
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.
The global-devices file system mounts locally.
phys-schost# umount /global/.devices/node\@`clinfo -n` > /dev/null 2>&1
Ensure that the lofi device is detachedphys-schost# lofiadm -d /.globaldevices The command returns no output if the device is detached
umount: warning: /global/.devices/node@2 not in mnttab ====>>>> not mounted
This warning is safe to ignore.
The following example shows the creation of a new /.globaldevices file that is 200 Mbytes in size.
phys-schost# rm /.globaldevices phys-schost# mkfile 200M /.globaldevices
phys-schost# lofiadm -a /.globaldevices phys-schost# newfs `lofiadm /.globaldevices` < /dev/null
The global devices are now populated on the new file system.