Kernel End_request I/o Error Dev Dm
Contents |
hp com>, Alasdair G Kergon
Kernel Buffer I O Error On Device Dm 2 Logical Block
is the problem description and steps to reproduce. Problem : I/O Error on DM device on one host when HBA ports of another host are disabled. OS distros : RHEL4.0 U2/U3. HOW-TO reproduce the problem : 1. Configure 2
Buffer I/o Error On Device Dm-3
storage arrays (A1 , A2) and two host (H1, H2) in the same zone, so that both the hosts can see both the arrays. Create and p resent LUNs (L1, L2) from array (A1) to host (H1) 2. Stop the multipathd daemon (for testing purpose on why the IO error when ports of other hosts are failed) . Not stopping it may take long time to reproduce the problem. 3. Start I/O on DM device representing luns L1 blk_update_request i/o error and L2 on host H1. We used dt tool for IO exercising. 4. Disable host ports of host H2 or any port of array A2 one after the other (few times) OR disable and enable the same port of the other host – few times (may be 4-5 times). 5. Application (dt tool) aborts with IO error on host H1. ===== Snippet of sys log output (while do ing I/O on /dev/dm-0 ) Feb 1 11:47:14 apwtest52 kernel: SCSI error : <2 0 0 1> return code = 0x20000 Feb 1 11:47:14 apwtest52 kernel: end_request: I/O error, dev sda, sector 1584600 Feb 1 11:47:14 apwtest52 kernel: device-mapper: dm-multipath: Failing path 8:0. <=================path failed, after disabling/enabling the H2 host port 1 Feb 1 11:47:14 apwtest52 kernel: end_request: I/O error, dev sda, sector 1584608 Feb 1 11:47:45 apwtest52 kernel: SCSI error : <3 0 1 1> return code = 0x20000 Feb 1 11:47:45 apwtest52 kernel: end_request: I/O error, dev sdg, sector 861400 Feb 1 11:47:45 apwtest52 kernel: device-mapper: dm-multipath: Failing path 8:96. <=================path failed, after disabling/enabling the H2 host port 2 Feb 1 11:47:45 apwtest52 kernel: end_request: I/O error, dev sdg, sector 861408 Feb 1 11:47:45 apwtest52 kernel: SCSI error : <3 0 0 1> return code = 0x20000 Feb 1 11:47:45 apwtest52 kernel: end_request: I/O error, dev sde, sector 452760 Feb 1 11:47:45 apwtest52 kernel: device-mapper: dm-multipath: Failing path 8:64. <=================path failed a
Red Hat Certificate System Red Hat Satellite Subscription Asset Manager Red Hat Update Infrastructure Red Hat Insights Ansible Tower by Red Hat Cloud Computing Back Red Hat CloudForms Red Hat OpenStack Platform Red Hat Cloud Infrastructure Red Hat Cloud Suite Red Hat OpenShift Container Platform Red Hat OpenShift Online Red Hat OpenShift Dedicated Storage Back Red Hat Gluster Storage Red Hat Ceph Storage JBoss Development and Management Back Red https://www.redhat.com/archives/dm-devel/2006-March/msg00160.html Hat JBoss Enterprise Application Platform Red Hat JBoss Data Grid Red Hat JBoss Web Server Red Hat JBoss Portal Red Hat JBoss Operations Network Red Hat JBoss Developer Studio JBoss Integration and Automation Back Red Hat JBoss Data Virtualization Red Hat JBoss Fuse Red Hat JBoss A-MQ Red Hat JBoss BPM Suite https://access.redhat.com/solutions/18746 Red Hat JBoss BRMS Mobile Back Red Hat Mobile Application Platform Services Back Consulting Technical Account Management Training & Certifications Red Hat Enterprise Linux Developer Program Support Get Support Production Support Development Support Product Life Cycle & Update Policies Knowledge Search Documentation Knowledgebase Videos Discussions Ecosystem Browse Certified Solutions Overview Partner Resources Tools Back Red Hat Insights Learn More Red Hat Access Labs Explore Labs Configuration Deployment Troubleshooting Security Additional Tools Red Hat Access plug-ins Red Hat Satellite Certificate Tool Security Back Product Security Center Security Updates Security Advisories Red Hat CVE Database Security Labs Resources Overview Security Blog Security Measurement Severity Ratings Backporting Policies Product Signing (GPG) Keys Community Back Discussions Red Hat Enterprise Linux Red Hat Virtualization Red Hat Satellite Customer Portal Private Groups All Discussions Start a Discussion Blogs Customer Portal Red Hat Product Security Red Hat Access Labs Red Hat Insights All Blogs Events Customer Events Red Hat Summit Stori
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow http://serverfault.com/questions/556909/kvm-lvm-based-guest-kernel-buffer-i-o-error-on-device-failing-drive the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top KVM LVM-based guest… kernel: o error Buffer I/O error on device. Failing drive? up vote 0 down vote favorite Currently setting up a small KVM host to run a few VMs for a small business. The server has 2 drives in software md RAID 1, then I have it set as a PV in an LVM setup. Guests and hosts are all CentOS 6.4 64bit. The / partition of the KVM guests are disk images but with one particular error on device guest that will have higher i/o requirements, I've added a 2nd HDD to the VM which is a logical volume from the host storage pool. I was running some pretty intense i/o on this LV this evening within the guest, extracting a 60GB multi-volume 7z archive of data. 7z barfed about 1/5th of the way through with E_FAIL. I tried to move some files around on this LV disk and was greeted with "cannot move ... read-only file system". All devices are mounted rw. I looked in /var/log/messages and saw the following errors... Nov 22 21:47:52 mail kernel: Buffer I/O error on device vdb1, logical block 47307631 Nov 22 21:47:52 mail kernel: lost page write due to I/O error on vdb1 Nov 22 21:47:52 mail kernel: Buffer I/O error on device vdb1, logical block 47307632 Nov 22 21:47:52 mail kernel: lost page write due to I/O error on vdb1 Nov 22 21:47:52 mail kernel: Buffer I/O error on device vdb1, logical block 47307633 Nov 22 21:47:55 mail kernel: end_request: I/O error, dev vdb, sector 378473448 Nov 22 21:47:55 mail kernel: end_request: I/O error, dev vdb, sector 378474456 Nov 22 21:47:55 mail kernel: end_request: I/O error, dev vdb, sector 378475464 Nov 22 21:47:55 mail kernel: JBD: Detected IO errors while flushing file data on vdb1 Nov 22 2