You are on page 1of 4
-y9r2020 a kemel shows ‘Mode parameters changed! messages for SAN devices - Red Hat Customer Portal customenr (https://access.redhat.com/) 2 PORTAL kernel shows 'Mode parameters changed’ messages for SAN devices SOLUTION UNVERIFIED - Updated April 3 2019 at 7:18 PM - English ~ () Environment * Red Hat Enterprise Linux 6.6 + IBM 1814 FAST SAN/Storage Issue + kernel shows lots of ‘Mode parameters changed’ messages for SAN devices bec 9 hosta vec 9 host vec 9 host vec 9 host bec 9 host bec 9 hosta bec 9 hosta bec 9 hosta bec 9 hosta bec 9 hosta Resolution kernel: kernel: kernel: kernel: kernel: kernel: kernel: kerne’ kerne! kernel: sd sd sd sd sd sd sd sd 1:0 2:0 1:0 1:0 1:0 1:0 1:0 1:0 2: 20) : Mode parameters changed 12: Mode parameters changed 17: Mode parameters changed 19: Mode parameters changed 1:11: Mode parameters changed :12: Mode parameters changed Mode parameters changed Mode parameters changed Mode parameters changed : Mode parameters changed 1 1 1 2: es + SAN/Storage sends out the @2h (Check Condition) status, ash sense key (Unit Attention), and 2A/@1 asc/ascq status when the mode parameters on the device or the device size are changed, this results in following messages. It would be recommended to please check with the SAN/Storage vendor to verify why the storage is returning @2h status code so frequently? hitpsaccess.redhat conm/solutons/1290893 1M ‘97020 kemel shows ‘Mode parameters changed! messages for SAN devices - Red Hat Customer Portal bec por 28: 83 host1CheS iO MER ChotAsd/AnEREPEPEHALEOTHInged 2 Dec “Wb9:28:44 hostaPRARMAL sd 2:0:1:12: Mode parameters changed Dec 9 09:28:45 hosti kernel: sd 1:0: Dec 9 09:28:46 host kennel: sd 2 Mode paraneters changed Mode paraneters changed * Itwould be advised to rescan the bus whenever "safe" configuration changes are made on the storage target that result in the target sending a UA warning, so the host has an up-to-date view of the storage target. To do so, follow the instructions outlined in the following article: How do | rescan the SCSI bus to add or remove a SCSI device without rebooting the computer? (https://access.redhat.com/solutions/3941) Root Cause + The sd 1:0:1:4: Mode parameters changed error messages are getting logged from following code block in drivers/scsi/scsi_error.c file: drivers/scsi/scsi_error.c nn * scsi_report_sense - Examine scsi sense information and log messages for * certain conditions, also issue uevents for some of then. * @sdev: Device reporting the sense code * @sshdr: sshdr to be examined / static void scsi_report_sense(struct scsi_device *sdev, struct scsi_sense_hdr *sshdr) { if (sshdr-rasc == @x2a 8& sshdr->ascq == @x@l) { evt_type = SDEV_EVT_MODE_PARAMETER_CHANGE_REPORTED; sdev_printk(KERN_WARNING, sdev, “Mode parameters changed"); + These error messages are logged when asc/ascq key @x2a / 0x01 is returned from target side: if (sense_hdr->asc == Ox2a && sense_hdr->ascq == 0x01) - * Mode Parameters Changed ” return ADD_TO_MLQUEUE; + The sense key of @x2a / @x01 indicates that HBA received a Check Condition for above LUNs. Storage is failing scsi commands back with @2h (Check Condition) status, @6h sense key (Unit Attention), and 20/01 asc/ascq. hitpsacess.redhat convsolutons/1290893 ae ‘1872020 kemel shows Mode parameters changed messages for SAN devices ~Red Hat Customer Portal From 7a0 scsi standard. «ro men (nttps://access redhat.com/) 2A/OMBK veiROIIAEBE YR RIODE PARAMETERS CHANGED 2 This error would be reported if the Mode parameters for target device are changed from SAN/Storage side. * Storage should only be sending out these status when the mode parameters on the device or the device size are changed. These messages could be harmless, but it would be recommended to please first check with the SAN/Storage vendor to verify why the storage is returning @2h status code so frequently? Product(s) Red Hat Enterprise Linux (/taxonomy/products/red-hat-enterprise-linux) Component kernel /components/kernel) Category Troubleshoot /category/troubleshoot) Tags thel.6 (/tags/thel.6) scsi(/tags/sesi)_ storage (/tags/storage) This solution is part of Red Hat's fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form. People who viewed this solution also viewed LTO-7 tape drive generates numerous Mode Parameters Changed dmesg logs in RHEL kernels Solution - Mar 17, 2018 "Used Network resources of host host! [100%] exceeded defined threshold [95% Solution - Oct 5, 2014 Getting ‘reservation conflict’ errors while none of the applications on server are using SCSI hitpsacess.redhat convsolutons/1290893 a -y9r2020 kemel shows ‘Mode parameters changed! messages for SAN devices - Red Hat Customer Portal ons customenr (https://access.redhat.com/) egy eee p Solution - Feb 12, 2018 Comments All systems operational _(https://status.redhat.com) Privacy Statement (http/www.redhat.com/en/about/privacy- policy) Customer Portal Terms of Use (httpsy/access.rechat.com/help/terms/) All Policies and Guidelines (httpy/wwwredhat.com/en/about/all-policies-guidelines) Copyright © 2020 Red Hat, Inc. hitpsacess.redhat convsolutons/1290893 48

You might also like