Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 160293 Details for
Bug 238413
[NetApp-S 4.6 feat] iscsi lun resize dosen't take effect without a restart
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
rescan devices
rescan-devs.patch (text/plain), 994 bytes, created by
Mike Christie
on 2007-07-31 05:00:35 UTC
(
hide
)
Description:
rescan devices
Filename:
MIME Type:
Creator:
Mike Christie
Created:
2007-07-31 05:00:35 UTC
Size:
994 bytes
patch
obsolete
>--- linux-iscsi-4.0.3.0/misc/scripts/iscsi-rescan 2007-07-28 08:57:44.000000000 -0500 >+++ linux-iscsi-4.0.3.0.work/misc/scripts/iscsi-rescan 2007-07-29 17:15:07.000000000 -0500 >@@ -43,6 +43,19 @@ find_host_ids() > done > } > >+# TODO: we should only rescan the devices that were here already >+# new devices added from the host scan should already be up to date. >+rescan_devices() >+{ >+ for file in `ls $SCSI_HOST/host${1}/device/target${1}:0:0` >+ do >+ if [ -e "$SCSI_HOST/host${1}/device/target${1}:0:0/$file/rescan" ] >+ then >+ echo 1 > $SCSI_HOST/host${1}/device/target${1}:0:0/$file/rescan >+ fi >+ done >+} >+ > while getopts i: opt; do > case $opt in > i) >@@ -80,6 +93,7 @@ i=0 > while [ $i -lt $no_hosts ]; do > if [ `cat $SCSI_HOST/host${host_ids[$i]}/session_established` -eq 1 ]; then > echo "Rescanning host${host_ids[$i]} " >+ rescan_devices ${host_ids[$i]} > echo "0 0 -" > $SCSI_HOST/host${host_ids[$i]}/scan > else > echo "Skipping host${host_ids[$i]} - session not established"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 238413
: 160293