Where is rescan scsi bus.sh




















IT Modernization. SAP Solutions. AI and Analytics. Hybrid Cloud Solutions. Nonstop IT. Exit Federal Government. Partner Program. Find a Partner.

Become a Partner. Open Source Projects. SUSE Italia. SUSE Israel. SUSE Luxembourg. SUSE Nederland. SUSE Polska. SUSE Suomi. About Us. Device exists: Test whether it's still online. Well known lun transition case. Only for Direct-Access devs type 0. This is a lun 0 with no block directory.

Special case: lun 0 just got added for reportlunscan ,. Don't do this if we're deleting a well known lun to replace it.

Try readding, should fail if device is gone. In the event we're replacing with a well known node, we need to let it continue, to create the replacement node. Device does not exist, try to add. Device not present. Phase one: If LUN0 does not exist, try to add. Find alternative LUN to send getluns to. Same thing if the device does not. Check existing luns. Stale lun. Add new ones and check stale ones. Nothing came back on this host, so we should skip it.

Go through all of the existing devices and figure out any that have been remapped. Trigger udev to update the info. See what changed and reload the respective multipath device if applicable.

If udev events updated the disks already, but the multipath device isn't update. The multipath device is already in the list. Need a sdev, and executable multipath and dmsetup command here. With two arguments, look up current uuid from sysfs.

Normal mode: Find the first multipath with the sdev. Return 1 to signal that a duplicate was found to the calling function. Pass 1 as the argument to reload all mpaths. Reload the multipath devices. Find resized luns. Make sure sg is there. Scan options. Update existing mappings. If you've changed the mapping, there's a chance it's a different size. Search for resized LUNs. Normal rescan mode.



0コメント

  • 1000 / 1000