Bug 994279

Summary: IOException: Input/output error during write on /dev/sda
Product: [Fedora] Fedora Reporter: cleaver.xero
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: anaconda-maint-list, dshea, g.kaviyarasu, jonathan, mkolman, sbueno, stephent98, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:06d631f0200b404061eb6f9967face0edf3f182f626afdc5049254cc7f74d12c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-07 14:22:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: messages
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description cleaver.xero 2013-08-07 00:06:19 UTC
Version-Release number of selected component:
anaconda-19.30.13-1.fc19.x86_64

The following was filed automatically by anaconda:
anaconda 19.30.13-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/parted/disk.py", line 221, in commitToDevice
    return self.__disk.commit_to_dev()
  File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 41, in new
    ret = fn(*args, **kwds)
  File "/usr/lib/python2.7/site-packages/blivet/formats/disklabel.py", line 304, in commitToDisk
    self.partedDisk.commitToDevice()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 363, in doIt
    dev.disk.format.commitToDisk()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 169, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 140, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
IOException: Input/output error during write on /dev/sda

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
cmdline_file:   initrd=initrd0.img root=live:CDLABEL=LIVE rootfstype=vfat ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.5-301.fc19.x86_64
other involved packages: python-blivet-0.17-1.fc19.noarch, python-libs-2.7.5-1.fc19.x86_64, pyparted-3.9-3.fc19.x86_64
product:        Fedora
release:        Fedora release 19 (Schrödinger’s Cat)
type:           anaconda
version:        19

Comment 1 cleaver.xero 2013-08-07 00:06:29 UTC
Created attachment 783569 [details]
File: anaconda-tb

Comment 2 cleaver.xero 2013-08-07 00:06:33 UTC
Created attachment 783570 [details]
File: anaconda.log

Comment 3 cleaver.xero 2013-08-07 00:06:37 UTC
Created attachment 783571 [details]
File: environ

Comment 4 cleaver.xero 2013-08-07 00:06:41 UTC
Created attachment 783572 [details]
File: lsblk_output

Comment 5 cleaver.xero 2013-08-07 00:06:48 UTC
Created attachment 783573 [details]
File: messages

Comment 6 cleaver.xero 2013-08-07 00:06:52 UTC
Created attachment 783574 [details]
File: nmcli_dev_list

Comment 7 cleaver.xero 2013-08-07 00:06:56 UTC
Created attachment 783575 [details]
File: os_info

Comment 8 cleaver.xero 2013-08-07 00:06:59 UTC
Created attachment 783576 [details]
File: program.log

Comment 9 cleaver.xero 2013-08-07 00:07:04 UTC
Created attachment 783577 [details]
File: storage.log

Comment 10 cleaver.xero 2013-08-07 00:07:10 UTC
Created attachment 783578 [details]
File: ifcfg.log

Comment 11 David Shea 2013-08-07 14:22:03 UTC
There are a lot of log entries from the kernel in the messages like:

Aug  6 20:03:07 localhost kernel: [  133.883947] ata1.00: exception Emask 0x0 SAct 0x7fffffff SErr 0x0 action 0x6 frozen
Aug  6 20:03:07 localhost kernel: [  133.883956] ata1.00: failed command: WRITE FPDMA QUEUED
Aug  6 20:03:07 localhost kernel: [  133.883964] ata1.00: cmd 61/00:00:00:10:ff/04:00:36:00:00/40 tag 0 ncq 524288 out
Aug  6 20:03:07 localhost kernel: [  133.883964]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)

and

Aug  6 20:04:07 localhost kernel: [  194.072167] sd 0:0:0:0: [sda] Unhandled error code
Aug  6 20:04:07 localhost kernel: [  194.072171] sd 0:0:0:0: [sda]  
Aug  6 20:04:07 localhost kernel: [  194.072173] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Aug  6 20:04:07 localhost kernel: [  194.072176] sd 0:0:0:0: [sda] CDB: 
Aug  6 20:04:07 localhost kernel: [  194.072178] Write(10): 2a 00 36 ff 0c 00 00 04 00 00
Aug  6 20:04:07 localhost kernel: [  194.072188] end_request: I/O error, dev sda, sector 922684416
Aug  6 20:04:07 localhost kernel: [  194.072195] Buffer I/O error on device dm-2, logical block 6346624
Aug  6 20:04:07 localhost kernel: [  194.072197] lost page write due to I/O error on dm-2


Your hard drive appears to be failing.

Comment 12 Steve Tyler 2013-08-07 20:01:34 UTC
Aug  6 20:01:12 localhost kernel: [    2.681253] ata1.00: ATA-8: TOSHIBA MK5056GSY, LH003D, max UDMA/100

The smartctl command will give you SMART disk status. You can install and run it from the Live environment:

$ sudo yum install smartmontools -y
$ sudo smartctl -H /dev/sda
http://smartmontools.sourceforge.net/

Contacting Toshiba for disk diagostics would be even better.