UX:vxfs mount: ERROR: V-3-21272: mount option(s) incompatible with file system /dev/vx/dsk//
The above error will appear under the following conditions
-- Storage Foundation Cluster File System 5.x is installed and configured.
-- Administrator uses command fsadm to change the cluster file system attribute from largefiles to nolargefiles.
example,
# fsadm -o nolargefiles /cfs
-- After the file system attribute is changed administrator checks all nodes are now configured with the nolargefiles attribute and mounted with nolargefiles.
example,
# mount -v|grep /cfs
/dev/vx/dsk/cfsdg/cfs on /cfs type vxfs (rw,mntlock=VCS,cluster,crw,log,nolargefiles,ioerror=mdisable)
-- If a node is rebooted or if an offline/online operation of one of the nodes that contains the secondary CFSMount resource attempts to mount the CFSMount resource after the reboot or offline/online operation the following error will be seen. The error will occur even if the user attempts to mount the file system with nolargefiles option in the mount command.
example,
# mount -F vxfs -o cluster,nolargefiles /dev/vx/dsk/cfsdg/cfs /cfs
UX:vxfs mount: ERROR: V-3-21272: mount option(s) incompatible with file system /dev/vx/dsk/cfsdg/cfs
Reason for the failure:
-- The fsadm command that was executed, changes the mountinfo structure only and not the mount flags.
Solution:
Do a remount operation on all nodes that currently have the file systems mounted with nolargefiles. The remount operation overwrites the fst_moflag with the correct mount options. This will then allow the mount to succeed on the host which was having trouble mounting..
example,
# mount -t vxfs -o remount,cluster,log,nolargefiles /dev/vx/dsk/cfsdg/cfs /cfs
Note: the remount operations on all of the nodes (above) is perfectly safe to run while the mount point is mounted.