This incompatibility between LMI and the snapshot directory is resolved in LMI 6.3.0 and higher. For users still using older versions listed in the version field above you can follow TIBCO's recommendation which is to disable the snapshot feature on the NetApp volume. You can also hide it by being completely invisible to clients but that has disadvantages as described below. Disabling can be accomplished using this command:
netapp::> vol modify -vserver mynfssrv1 -volume vol_logs_1234 -snapdir-access false
Volume modify successful on volume vol_logs_1234 of Vserver mynfssrv1.Hiding the snapshot directory can be accomplished using the procedure
documented on NetApp's site and provided below. The disadvantages to this method are:
1. It's completely hidden from the client (i.e. LMI appliance) which can make troubleshooting more complicated when item #2 occurs
2. the hidden snapshot directories steal storage away from the file share for storing the snapshot data. This can cause a 5TB share to only have, for example, approx. 3 TB as usable storage because the other 2TB are consumed by snapshot data. This causes the du command on LMI to differ in results from the df command. The du command will only show what's actually used by what LMI can see but the df command will reflect the real usage by including the snapshot data. This can be confusing when troubleshooting issues when LMI starts performing emergency purging even though the du command will not reflect usage being high enough to trigger the purging. The only way to see the snapshot data usage in this configuration is to view the NetApp interface. If you still want to proceed with hiding the snapshots then follow the procedure below.
From NetApp: You can use System Manager to hide the Snapshot copy directory (.snapshot) so that it is not visible when you view your volume directories. By default, the .snapshot directory is visible.
- Click the SVMs tab.
- Select the SVM, and then click Manage.
- Click the Volumes tab.
- Select the volume for which you want hide the Snapshot copy directory.
- Click .
- Ensure that Make snapshot directory (.snapshot) visible is not selected, and then click Ok.