Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionOlivier Kaloudoff
2016-04-08 08:46:01 UTC
Description of problem:
Hi,
in rh-DM_Multipath(EN)-6 (2015-4-13T15:15):
in the multipath documentation, paragraph 5.2 (Resizing an Online Multipath Device), we see:
Resize your paths. For SCSI devices, writing a 1 to the rescan file for the device causes the SCSI driver to rescan, as in the following command:
# echo 1 > /sys/block/device_name/device/rescan
on the local rhel6.6 system, /sys is mounted correctly, multipath -ll reports our lun and the associated paths, multipath kernel modules are installed correctly .. BUT ...
there is NO "rescan" file below /sys/block/<device_name>/device/rescan
there is even NO "/sys/block/<device_name>/device/"
Version-Release number of selected component (if applicable):
rhel6.6
How reproducible:
log to an rhel6.6 system, setup multipath, connect a san volume,
perform the command:
find /sys/block -name rescan
NO RESULT IS GIVEN
Steps to Reproduce:
1. setup multipath on rhel6.6
2. setup a lun
3. perform the command find /sys/block -name rescan
Actual results:
Expected results:
Command
find /sys/block -name rescan
Should report at least one result
Additional info:
Document URL:
Section Number and Name:
Describe the issue:
Suggestions for improvement:
Additional information:
No. This is not a documentation problem. This command
# find /sys/block -name rescan
isn't going to show you any "rescan" files. /sys/block is a directory of symlinks. For instance (from a rhel-6 system)
# ls -l /sys/block
<snip>
lrwxrwxrwx. 1 root root 0 Feb 25 05:30 sda -> ../devices/pci0000:00/0000:00:01.0/0000:03:0e.0/host2/target2:0:0/2:0:0:0/block/sda
lrwxrwxrwx. 1 root root 0 Feb 25 05:30 sdb -> ../devices/pci0000:00/0000:00:0a.0/0000:06:00.0/host6/rport-6:0-0/target6:0:0/6:0:0:0/block/sdb
lrwxrwxrwx. 1 root root 0 Feb 25 05:30 sdc -> ../devices/pci0000:00/0000:00:0a.0/0000:06:00.0/host6/rport-6:0-0/target6:0:0/6:0:0:1/block/sdc
<snip>
find won't follow symlinks by default. But RHEL-6 definitely should be storing links to all block devices in /sys/block/<devname>. By the way, "/sys/block/<devname>/device" is also a symlink, and at least for all scsi devices, it is definitely supposed to be there.
Description of problem: Hi, in rh-DM_Multipath(EN)-6 (2015-4-13T15:15): in the multipath documentation, paragraph 5.2 (Resizing an Online Multipath Device), we see: Resize your paths. For SCSI devices, writing a 1 to the rescan file for the device causes the SCSI driver to rescan, as in the following command: # echo 1 > /sys/block/device_name/device/rescan on the local rhel6.6 system, /sys is mounted correctly, multipath -ll reports our lun and the associated paths, multipath kernel modules are installed correctly .. BUT ... there is NO "rescan" file below /sys/block/<device_name>/device/rescan there is even NO "/sys/block/<device_name>/device/" Version-Release number of selected component (if applicable): rhel6.6 How reproducible: log to an rhel6.6 system, setup multipath, connect a san volume, perform the command: find /sys/block -name rescan NO RESULT IS GIVEN Steps to Reproduce: 1. setup multipath on rhel6.6 2. setup a lun 3. perform the command find /sys/block -name rescan Actual results: Expected results: Command find /sys/block -name rescan Should report at least one result Additional info: Document URL: Section Number and Name: Describe the issue: Suggestions for improvement: Additional information: