Obtaining names for devices attached to NAS file servers

For paths from a NAS data mover, the value of the DEVICE parameter in the DEFINE PATH command is the name by which the NAS file server knows a library or drive.

About this task

You can obtain these device names, also known as special file names, by querying the NAS file server. For information about how to obtain names for devices that are connected to a NAS file server, see the product information for the file server.

Procedure

  • To obtain the device names for tape libraries on a NetApp Release ONTAP 10.0 GX, or later, file server, connect to the file server by using telnet and issue the SYSTEM HARDWARE TAPE LIBRARY SHOW command. To obtain the device names for tape drives on a NetApp Release ONTAP 10.0 GX, or later, file server, connect to the file server by using telnet and issue the SYSTEM HARDWARE TAPE DRIVE SHOW command. For details about these commands, see the NetApp ONTAP GX file server product documentation.
  • For releases earlier than NetApp Release ONTAP 10.0 GX, continue to use the SYSCONFIG command. For example, to display the device names for tape libraries, connect to the file server by using telnet and issue the following command:
    sysconfig -m
    To display the device names for tape drives, issue the following command:
    sysconfig -t
  • For Fibre Channel attached drives and the Celerra data mover, complete the following steps:
    1. Log on to the EMC Celerra control workstation by using an administrative ID. Issue the following command:
      server_devconfig server_1 -l -s -n
      Tip: The -l option for this command lists only the device information that was saved in the database of the data mover. The command and option do not display changes to the device configuration that occurred after the last database refresh on the data mover. For details about how to obtain the most recent device configuration for your data mover, see the EMC Celerra documentation.
      The output for the server_devconfig command includes the device names for the devices that are attached to the data mover. The device names are listed in the addr column, for example:
      server_1:
      Scsi Device Table
      name        addr      type   info
      tape1       c64t0l0   tape   IBM ULT3580-TD2 53Y2
      ttape1      c96t0l0   tape   IBM ULT3580-TD2 53Y2
    2. Map the Celerra device name to the device worldwide name (WWN):
      1. To list the WWN, log on to the EMC Celerra control workstation and issue the following command. Remember to enter a period (. ) as the first character in this command.
        .server_config server_# -v "fcp bind show"
        The output for this command includes the WWN, for example:
        Chain 0064: WWN 500507630f418e29 HBA 2 N_PORT Bound
        Chain 0096: WWN 500507630f418e18 HBA 2 N_PORT Bound
        Tip: The .server_config command is an undocumented EMC Celerra command. For more information about how to use it, contact EMC.
      2. Use the chain number to identify the tape device that was listed in the output of the server_devconfig command and that has the same WWN, for example:
        Tape device name Chain number WWN
        c64t0l0 0064 500507630f418e29
        c96t0l0 0096 500507630f418e18
    Celerra commands might behave differently on different EMC Celerra systems and operating system levels. For details, see the EMC Celerra documentation or contact EMC.