VNX2: nas_syncrep -reverse command fails with: Error 5005: Syntax error on VDM management command: invalid option.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
File OE upgrade from 8.1.9.155 to 8.1.9.184 took place.
nas_syncrep -reverse fails:
[nasadmin@CS ~]$ nas_syncrep -reverse rep_abc
WARNING: You have just issued the nas_syncrep -reverse command. There will be a period of Data Unavailability during the reverse operation. After the reverse operation, the VDM/FS(s)/checkpoint(s) protected by the sync replication session will be reversed to the local site. Are you sure you want to proceed? [yes or no] yes
Now doing precondition check... done: 28 s
Now doing health check... done: 18 s
Now cleaning local... done: 3 s
Service outage start......
Now turning down remote network interface(s)... done: 11 s
Now unloading remote VDM/FS(s)/checkpoint(s)...
Error 5005: Syntax error on VDM management command: invalid option.
Error 13431996587: Failed to reverse sync replication session.
After that the VDM filesystems are inaccessible on either side.
The nas_syncrep session is left in status reverse_failed:
[nasadmin@VNX1CS ~]$ nsas-syn_syncrep -list
id name vdm_name remote_system session_status
12345 rep_abc vdm_abc -->VNX2CS reverse_failed
/nas/log/nas_syncrep.log shows this error:
2016-12-07 12:57:52:269 PID:13182 [DEBUG] - SyncRepExecutor::wrap_cel_remote_shell_call: command to wrap [/nas/bin/nas_server -vdm vdm_abc -setstate tempunloaded -skip_unregister_dns -Force]
2016-12-07 12:57:52:270 PID:13182 [DEBUG] - SyncRepExecutor::wrap_cel_remote_shell_call: command after wrap [/nas/bin/nas_cel -exec id=1 "nas_shell -exec /bin/sh -c %27v3="UEFUSD0vdXNyL2tlcmJlcm9zL2JpbjovdXNyL2xvY2FsL2JpbjovYmluOi91c3IvYmluOi9ob21lL25hc2FkbWluL2JpbjovbmFzL2JpbjovbmFzL3NiaW46L25hc21jZC9zYmluOiRQQVRIOy9uYXMvYmluL25hc19zZXJ2ZXIgLXZkbSB2ZG1fbWV0cm8wMiAtc2V0c3RhdGUgdGVtcHVubG9hZGVkIC1za2lwX3VucmVnaXN0ZXJfZG5zIC1Gb3JjZSAyPiYx"%3Beval %22%60printf \$v3 | /usr/bin/base64%20-w 0%20-d%60%22%3Bprintf%20%22;;;returncode:%25d;;;%22%20%24%3F%27"]
2016-12-07 12:57:52:271 PID:13182 [DEBUG] - Executing [/nas/bin/nas_server -vdm vdm_metro02 -setstate tempunloaded -skip_unregister_dns -Force] remotely
2016-12-07 12:58:02:509 PID:13182 [DEBUG] - Done with [/nas/bin/nas_server -vdm vdm_metro02 -setstate tempunloaded -skip_unregister_dns -Force] output:
Error 5005: Syntax error on VDM management command: invalid option.
/nas/log/cmd_log.err:
2016-12-07 12:57:54.550 db:201:15688:E: /nas/bin/nas_server -vdm vdm_metro02 -setstate tempunloaded -skip_unregister_dns -Force: Syntax error on VDM management command: invalid option.
nas_syncrep -reverse fails:
[nasadmin@CS ~]$ nas_syncrep -reverse rep_abc
WARNING: You have just issued the nas_syncrep -reverse command. There will be a period of Data Unavailability during the reverse operation. After the reverse operation, the VDM/FS(s)/checkpoint(s) protected by the sync replication session will be reversed to the local site. Are you sure you want to proceed? [yes or no] yes
Now doing precondition check... done: 28 s
Now doing health check... done: 18 s
Now cleaning local... done: 3 s
Service outage start......
Now turning down remote network interface(s)... done: 11 s
Now unloading remote VDM/FS(s)/checkpoint(s)...
Error 5005: Syntax error on VDM management command: invalid option.
Error 13431996587: Failed to reverse sync replication session.
After that the VDM filesystems are inaccessible on either side.
The nas_syncrep session is left in status reverse_failed:
[nasadmin@VNX1CS ~]$ nsas-syn_syncrep -list
id name vdm_name remote_system session_status
12345 rep_abc vdm_abc -->VNX2CS reverse_failed
/nas/log/nas_syncrep.log shows this error:
2016-12-07 12:57:52:269 PID:13182 [DEBUG] - SyncRepExecutor::wrap_cel_remote_shell_call: command to wrap [/nas/bin/nas_server -vdm vdm_abc -setstate tempunloaded -skip_unregister_dns -Force]
2016-12-07 12:57:52:270 PID:13182 [DEBUG] - SyncRepExecutor::wrap_cel_remote_shell_call: command after wrap [/nas/bin/nas_cel -exec id=1 "nas_shell -exec /bin/sh -c %27v3="UEFUSD0vdXNyL2tlcmJlcm9zL2JpbjovdXNyL2xvY2FsL2JpbjovYmluOi91c3IvYmluOi9ob21lL25hc2FkbWluL2JpbjovbmFzL2JpbjovbmFzL3NiaW46L25hc21jZC9zYmluOiRQQVRIOy9uYXMvYmluL25hc19zZXJ2ZXIgLXZkbSB2ZG1fbWV0cm8wMiAtc2V0c3RhdGUgdGVtcHVubG9hZGVkIC1za2lwX3VucmVnaXN0ZXJfZG5zIC1Gb3JjZSAyPiYx"%3Beval %22%60printf \$v3 | /usr/bin/base64%20-w 0%20-d%60%22%3Bprintf%20%22;;;returncode:%25d;;;%22%20%24%3F%27"]
2016-12-07 12:57:52:271 PID:13182 [DEBUG] - Executing [/nas/bin/nas_server -vdm vdm_metro02 -setstate tempunloaded -skip_unregister_dns -Force] remotely
2016-12-07 12:58:02:509 PID:13182 [DEBUG] - Done with [/nas/bin/nas_server -vdm vdm_metro02 -setstate tempunloaded -skip_unregister_dns -Force] output:
Error 5005: Syntax error on VDM management command: invalid option.
/nas/log/cmd_log.err:
2016-12-07 12:57:54.550 db:201:15688:E: /nas/bin/nas_server -vdm vdm_metro02 -setstate tempunloaded -skip_unregister_dns -Force: Syntax error on VDM management command: invalid option.
Cause
The File OE had been upgraded to 8.1.9.184, but the DMs were not booted yet and so running the previous version ( in this case 8.1.9.15505), therefore the new nas_server command option "-skip_unregister_dns" is not supported yet.
Resolution
To restore access:
o remount the unmounted filesystems on the source VDM
server_mount vdm_name -all
o reexport the shares / exports on source VDM
server_export vdm_name -P nfs-all
server_export vdm_name -P cifs -all
o bring up interface on source VDM
server_ifconfig server_2 if_abc up
o Reboot the DMs so they load the new DART version
o retry the nas_syncrep -reverse command
Affected Products
VNX2 SeriesProducts
VNX2 SeriesArticle Properties
Article Number: 000056825
Article Type: Solution
Last Modified: 25 Sept 2024
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.