• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Solaris – Changing from iSCSI Static Discovery to SendTargets Discovery

by admin

This post is to provide steps from changing iSCSI Static Discovery to SendTargets Discovery. If zones are configured, zones need to be halted before changing the iSCSI discovery method then boot afterward. If zpool is configured, zpool needs to be exported before changing the iSCSI discovery method then import afterward.

Below are high level steps:

  1. halt zones
  2. export -f zfs pools
  3. remove static disks
  4. disable static discovery service
  5. restart target discovery service
  6. import pools
  7. boot zones

Below are detailed steps of changing from iSCSI Static to SendTargets Discovery method.

Note: No shutdown is required, but it will cause momentarily disruption to the connection.

1. Remove the luns from static-config and discovery address file.

# iscsiadm remove static-config iqn.2001-05.com.equallogic:0-8a0906-7fe02640d-3a76220fcab566f1-hddirswebep04-01,192.168.238.2:3260
# iscsiadm remove static-config iqn.2001-05.com.equallogic:0-8a0906-2e802640d-175003dddfc55491-hddirsappip01-01,192.168.238.2:3260

2. Disable static discovery

# iscsiadm modify discovery -s disable

3. Disable/enable SendTargets discovery to bring in the luns again.

# iscsiadm modify discovery -t disable
# iscsiadm modify discovery -t enable

4. Then list the target again to make sure all the luns are discovered.

Filed Under: Solaris, Solaris 11, ZFS, Zones

Some more articles you might also be interested in …

  1. M4000 / M5000 : How to assign IP address to XSCFU
  2. How to remove a failed disk using luxadm and cfgadm
  3. Determining which network interface will be used for jumpstart installation / network boot
  4. Solaris : How To Create and Mount NFS share that is Restricted to Certain Hosts
  5. Solaris Interview Questions – Inodes and the Filesystem Troubleshooting
  6. Solaris : How to set limit on the maximum number of open files per process
  7. A beginners guide to Solaris performance monitoring and troubleshooting
  8. Complete Hardware Reference : SPARC T7-1 / T7-2 / T7-4
  9. A beginners guide to Veritas Dynamic Multipathing (VxDMP)
  10. ZFS Tutorials : Creating ZFS snapshot and clones

You May Also Like

Primary Sidebar

Recent Posts

  • nixos-rebuild Command Examples in Linux
  • nixos-option: Command Examples in Linux
  • nixos-container : Command Examples in Linux
  • nitrogen Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright