Raid Input Output Error
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour 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 ls cannot access input output error Stack Overflow the company Business Learn more about hiring developers or posting ads with us xfs_check Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 RAID array: cannot access files on one partition, getting Input/output error up vote 0 down vote favorite I'm hitting an access error with part of a raid array and need help in troubleshooting this. History: Several raid partitions live on 4 disks. Four days ago some ticking noises were heard from the workstation, and the GUI ubuntu disk utility showed some bad sectors, but things were otherwise green. Yesterday (Thurs, April 17) we got hit with a power failure and a hard reboot. Following the hard reboot the system comes up and mounts most of the raid partitions, but one large critical one (containing /home) is throwing input/output errors. bpbrown@eguzki:/$ ls home ls: cannot access home: Input/output error bpbrown@eguzki:/$ We're in Ubuntu 12.04, and owing to the loss of /home, we're at command line only. On reboot, mdadm showed that the array was resyncing; that seems to have completed but still no luck in accessing /home. Here are the results of mdadm: bpbrown@eguzki:/$ sudo mdadm -D /dev/md10 /dev/md10: Version : 0.90 Creation Time : Thu Feb 4 16:49:43 2010 Raid Level : raid5 Array Size : 2868879360 (2735.98 GiB 2937.73 GB) Used Dev Size : 956293120 (911.99 GiB 979.24 GB) Raid Devices : 4 Total Devices : 4 Preferred Minor : 10 Persistence : Superblock is persistent Update Time : Fri Apr 19 10:03:46 2013 State : clean Active Devices : 4 Working Devices : 4 Failed Devices : 0 Spare Devices : 0 Layout : left-symmetric Chunk Size : 64K UUID : 317df11d:4e2edc70:fa3efedc:498284d3 Events : 0.2121101 Number Major Minor RaidDevice State 0 8 10 0 active sync /dev/sda10 1 8 26 1 active sync /dev/sdb10 2 8 42 2 active sync /dev/sdc10 3 8 58 3 active sync /dev/sdd10 bpbrown@eguzki:/$
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 the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating http://askubuntu.com/questions/283237/raid-array-cannot-access-files-on-one-partition-getting-input-output-error systems. 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 “Input/output error” when accessing a directory up vote 40 down vote favorite 9 I want to list and remove the content of a directory on a removable http://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory hard drive. But I have experienced "Input/output error": $ rm pic -R rm: cannot remove `pic/60.jpg': Input/output error rm: cannot remove `pic/006.jpg': Input/output error rm: cannot remove `pic/008.jpg': Input/output error rm: cannot remove `pic/011.jpg': Input/output error $ ls -la pic ls: cannot access pic/60.jpg: Input/output error -????????? ? ? ? ? ? 006.jpg -????????? ? ? ? ? ? 006.jpg -????????? ? ? ? ? ? 011.jpg I was wondering what the problem is? How can I recover or remove the directory pic and all of its content? My OS is Ubuntu 12.04, and the removable hard drive has ntfs filesystem. Other directories not containing or inside pic on the removable hard drive are working fine. Added: Last part of output of dmesg after I tried to list the content of the directory: [19000.712070] usb 1-1: new high-speed USB device number 2 using ehci_hcd [19000.853167] usb-storage 1-1:1.0: Quirks match for vid 05e3 pid 0702: 520 [19000.853195] scsi5 : usb-storage 1-1:1.0 [19001.856687] scsi 5:0:0:0: Direct-Access ST316002 1A 0811 PQ: 0 ANSI: 0 [19001.858821] sd 5:0:0:0: Attached scsi
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss http://serverfault.com/questions/508602/raid-1-hard-disks-errors-file-system-is-not-mounting the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions http://www.centos.org/forums/viewtopic.php?t=16556 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 input output Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top RAID 1 hard disks errors, file system is not mounting up vote 0 down vote favorite I have a Server with 2 HDDs in soft RAID 1, the OS is Debian Wheezy. After some database testing, input output error the file system has gone to read-only mode, after which I have rebooted the machine. The server is not starting again, so I have booted a rescue system to look after the HDDs. Now the problems start: fdisk -l is giving no output, and fdisk /dev/sda says Unable to read /dev/sda, while smartctl -a gives me a SMART overall-health self-assessment test result: PASSED. All the problems occur with /dev/sdb as well. mdadm isn't helpful as well: mdadm: no recogniseable superblock on /dev/sda mdadm: /dev/sda has no superblock - assembly aborted Output from dmesg: ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 ata5.00: irq_stat 0x40000001 ata5.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in res 61/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error) ata5.00: SB600 AHCI: limiting to 255 sectors per cmd ata5.00: SB600 AHCI: limiting to 255 sectors per cmd ata5.00: configured for UDMA/133 ata5: EH complete testdisk is listing the drives with the correct size, but when I am trying to test the disk, every block is return a read error: ... file_pread(4,2,buffer,34(0/0/35)) read err: Input/output er
mount RAID General support questions including new installations Post Reply Print view Search Advanced search 8 posts • Page 1 of 1 AdrianPoputoaia Posts: 4 Joined: 2010/07/21 06:53:27 Contact: Contact AdrianPoputoaia Website [SOLVED] can not mount RAID Quote Postby AdrianPoputoaia » 2010/11/18 09:41:14 root@rescue ~ # uname -aLinux rescue 2.6.30 #14 SMP Thu Jul 23 16:08:38 CEST 2009 x86_64 GNU/Linuxroot@rescue ~ # cat /proc/mdstatPersonalities : [raid1] [raid6] [raid5] [raid4]md2 : inactive sda3[0] sdc3[2] 2917660800 blocksmd1 : active raid1 sda2[0] sdc2[2] 2104448 blocks [3/2] [U_U]md0 : active raid1 sda1[0] sdc1[2] 4200896 blocks [3/2] [U_U]unused devices: root@rescue ~ # mdadm -A /dev/md2 /dev/sda3 /dev/sdc3mdadm: device /dev/md2 already active - cannot assemble itroot@rescue ~ # dmesg | tailraid5: device sda3 operational as raid disk 0raid5: device sdc3 operational as raid disk 2raid5: allocated 3220kB for md2raid5: cannot start dirty degraded array for md2RAID5 conf printout: --- rd:3 wd:2 disk 0, o:1, dev:sda3 disk 2, o:1, dev:sdc3raid5: failed to run raid set md2md: pers->run() failed ...root@rescue ~ # mount /dev/md2 /mnt/data2mount: you must specify the filesystem typeI can not to mount md2 to recovery my file form hdd, any suggestions? Must be active md2 to can be mounted? root@rescue ~ # mdadm -R /dev/md2mdadm: failed to run array /dev/md2: Input/output error Top pjwelsh Posts: 2570 Joined: 2007/01/07 02:18:02 Location: Central IL USA Re: can not mount RAID Quote Postby pjwelsh » 2010/11/18 13:09:29 provide detail of the md2 via "mdadm -D /dev/md2" Top AdrianPoputoaia Posts: 4 Joined: 2010/07/21 06:53:27 Contact: Contact AdrianPoputoaia Website Re: can not mount RAID Quote Postby AdrianPoputoaia » 2010/11/18 13:18:26 root@rescue ~ # mdadm -D /dev/md2mdadm: md device /dev/md2 does not appear to be active.root@rescue /etc # mdadm -R /dev/md2mdadm: failed to run array /dev/md2: Input/output errorroot@rescue /etc # dmesg |tailraid5: device sda3 operational as raid disk 0raid5: device sdc3 operational as raid disk 2raid5: allocated 3220kB for md2raid5: cannot start dirty degraded array for md2RAID5 conf printout:--- rd:3 wd:2disk 0, o:1, dev:sda3disk 2, o:1, dev:sdc3raid5: failed to run raid set md2md: pers->run() failed ... Top pjwelsh Posts: 2570 Joined: 2007/01/07 02:18:02 Location: Central IL USA Re: can not mount RAID Quote Postby pjwelsh » 2010/11/18 13:32:0