NetApp volume has the fixed filesystem size option set

The following error is reported when trying to alter the size of a destination flex vol that is in a SnapMirror relation, or that was in a SnapMirror relation.

I most often run into this on volumes that were migrated off older hardware and no longer in a SnapMirror relation, but the fs_size_fixed option is not automatically changed after relationship is broken.

fs_size_fixed

This option causes the file system to remain the same size and not grow or shrink when a SnapMirrored volume relationship is broken, or when a volume add is performed on it. It is automatically set to true when a volume becomes a SnapMirrored volume. It stays set to true after the snapmirror break command is issued for the volume. This allows a volume to be SnapMirrored back to the source without needing to add disks to the source volume. If the volume is a traditional volume and the size is larger than the file system size, setting this option to false forces the file system to grow to the size of the volume. If the volume is a flexible volume and the volume size is larger than the file system size, setting this option to false forces the volume size to equal the file system size.

To change the option in Data ONTAP 7-Mode:
vol options volumename fs_size_fixed off  
To change the option in Clustered Data ONTAP:
volume modify -filesys-size-fixed false -volume volumename  
To change the option using Data ONTAP PowerShell Toolkit, 7-mode:
Get-NaVol volumename | Set-NaVolOption -key fs_size_fixed -value off  
To change the option using Data ONTAP PowerShell Toolkit, Clustered Data ONTAP:
Get-NcVol volumename | Set-NcVolOption -key fs_size_fixed -value off  

Leave a Reply

Your email address will not be published. Required fields are marked *