#volume modify bypassing confirmation

1 messages · Page 1 of 1 (latest)

lofty magnet
#

I just did a migration/snapmirror cutover I need to set autogrow and snapshot info on the new target side.

I have simple list of commands I need to paste but when setting the snapshot policy its giving me a warning. Is there a way to bypass this confirmation. I did not see a -force option.

us-wcp-spk-nta-prd-01::> volume modify -vserver wcpnas04 -volume wcp_n2_prd_cifs_hsn_ECO_Archive -autosize-mode grow -max-autosize 630G -autosize-grow-threshold-percent 90 -percent-snapshot-space 5 -snapshot-policy daily-7-copies

Warning: You are changing the Snapshot policy on volume "wcp_n2_prd_cifs_hsn_ECO_Archive" to "daily-7-copies". Snapshot copies on this volume that do
         not match any of the prefixes of the new Snapshot policy will not be deleted. However, when the new Snapshot policy takes effect, depending
         on the new retention count, any existing Snapshot copies that continue to use the same prefixes might be deleted. See the "volume modify"
         man page for more information.
Do you want to continue? {y|n}:
#

and nm got it

#

set -confirmations off