Disconnecting Snapshot copy with LUNs and no storage entities

Contributors netapp-ivanad Download PDF of this page

You can use the snapdrive snap disconnect command to disconnect a Snapshot copy that contains LUNs having no storage entities.

Steps
  1. Enter the following command syntax:

    snapdrive snap disconnect -lun long_lun_name [lun_name …​] [-devicetype {shared | dedicated}] [-split]

SnapDrive for UNIX removes the mappings for the storage entities specified in the command line.

The following command removes the mappings to luna and lunb on the storage system toaster:

# snapdrive snap disconnect -lun toaster:/vol/vol1/luna lunb