I O Error Unix Server
Contents |
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
Linux I/o Error Dev Sda Sector
Business Learn more about hiring developers or posting ads with us Unix & Linux Questions linux simulate io error Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD linux disk fault injection and other Un*x-like operating 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 Linux
I/O errors on hard disk on Linux boot up vote 2 down vote favorite 1 Here is a screenshot of booting Arch. I guess the reason is that I force poweroff my Arch linux many times. (I already force poweroff my Arch because my firefox flash plugin use too much memory to stop my system.) Note: I can boot my Windows 7 system on the same drive disk. So I think it is not a disk
Fsck
problem, mostly is a partion problem. Update: I check out more information, the partion /dev/sda9 is /home directory. And always error on same sector 798717984. I use DiskGenius software under Windows to check error. Then found an error. and that partion is not formated. I want to recover my Arch linux. How to solve this ? If I can not fix this error, then how to get the partion data out ? Update2: I really hope to save this partion data out. Because I have a lot of important things in this partion. I think the first step is backup this bad partion or whole hard drive into an image file (what image file ?), then let someone who can fix this partion to fix. More update: After I use DiskGenius software to fix the partion sector error. Then I use e2fsck to check. get error: fsck.ext4: Bad magic number in super-block while trying to open /dev/sda9. /dev/sda9: The superblock could not be read or does not describe a correct ext2 filesystem. VFS: can't find ext4 filesystem. (my this broken partion /home -> /dev/sda9 is ext4 when I create it before.) And I execute command # mke2fs /dev/sda9 to get block information: OS type: Linux Block size: 4096 (log=2) Fragment size=4096 (log=2) Stride = 0 blocks, stripe width = 0 blocks 65536 inodes, 261888 blocks 1
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 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 Intentionally cause an I/O error in Linux? up vote 38 down vote favorite 13 Is there anyway, with Linux, to purposely http://unix.stackexchange.com/questions/68147/i-o-errors-on-hard-disk-on-linux-boot cause a block device to report an I/O error, or possibly simulate one for testing purposes? linux linux-kernel block-device share|improve this question asked Apr 12 '13 at 20:15 Dok 50347 Are you simulating a disk failure? Perhaps you could mount a directory and then unmount it while it was in use. –Shef Apr 12 '13 at 20:50 2 I'd write a little kernel module that you could load with modprobe, behaving like a block device, and then another http://serverfault.com/questions/498900/intentionally-cause-an-i-o-error-in-linux little program that sends ioctl()'s to the driver to make it return the value you want. –ott-- Apr 12 '13 at 21:06 Same question on Stack Overlflow and on Unix and Linux. –Gilles May 29 '13 at 21:30 To follow up the comment @Gilles made, this was was also asked on stackoverflow.com/questions/1361518/… (several different fault injection answers) and stackoverflow.com/questions/1870696/… (use device mapper). –Anon Jun 14 '14 at 5:30 add a comment| 5 Answers 5 active oldest votes up vote 48 down vote accepted Yes, theres a very plausible way to do this with device mapper. The device mapper can recombine block devices into a new mapping/order of your choosing. LVM does this. It also supports other targets, (some which are quite novel) like 'flakey' to simiulate a failing disk and 'error' to simulate failed regions of disk. One can construct a device which deliberate has IO blackholes on it which will report IO errors when crossed. First, create some virtual volume to use as a target and make it addressable as a block device. dd if=/dev/zero of=/var/lib/virtualblock.img bs=512 count=1048576 losetup /dev/loop0 /var/lib/virtualblock.img So, to start this creates a 512M file that is the basis of our virtual block device which we will punch a 'hole' in. No hole exists yet though. If you were to mkfs.ext4 /dev/loop0 you'd get a perfectly valid filesystem. So, lets use dmsetup which, using this block device -- will create a new dev
2009The Blue Screen of Death (BSoD) is used by Microsoft Windows, after encountering a critical system error. Linux / UNIX like operating system may get a kernel panic. It http://www.cyberciti.biz/tips/tag/error-logs is just like BSoD. The BSoD and a kernel panic generated using http://unix.ittoolbox.com/groups/technical-functional/solaris-l/find-cannot-open-io-error-724915 a Machine Check Exception (MCE). MCE is nothing but feature of AMD / Intel 64 bit systems which is used to detect an unrecoverable hardware problem. MCE can detect:Communication error between CPU and motherboard.Memory error - ECC problems.CPU cache errors and so on. [click to continue…]Test If o error Linux Server SCSI / SATA Hard Disk Going Bad by Vivek Gite on July 4, 2007 last updated July 10, 2012One of our regular reader sends us a question:How can I test if my hard disk is going bad? I see few errors in /var/log/messages file.I/O errors in /var/log/messages indicates that something is wrong with the hard disk and i o error it may be failing. You can check hard disk for errors using smartctl command, which is control and monitor utility for SMART disks under Linux / UNIX like operating systems. [click to continue…] Featured Articles:30 Cool Open Source Software I Discovered in 201330 Handy Bash Shell Aliases For Linux / Unix / Mac OS XTop 30 Nmap Command Examples For Sys/Network Admins25 PHP Security Best Practices For Sys Admins20 Linux System Monitoring Tools Every SysAdmin Should Know20 Linux Server Hardening Security TipsLinux: 20 Iptables Examples For New SysAdminsTop 20 OpenSSH Server Best Security Practices Top 20 Nginx WebServer Best Security Practices20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors15 Greatest Open Source Terminal Applications Of 2012My 10 UNIX Command Line MistakesTop 10 Open Source Web-Based Project Management SoftwareTop 5 Email Client For Linux, Mac OS X, and Windows UsersThe Novice Guide To Buying A Linux Laptop Don't Miss Any Linux TipsGet nixCraft in your inbox. It's free: ©2000-2016 nixCraft. All rights reserved. Privacy - Terms of Service - Questions or Comments
Technology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management SAP SCM Security Siebel Storage UNIX Visual Basic Web Design and Development Windows < Back CHOOSE A DISCUSSION GROUP Research Directory TOPICS Database Hardware Networking SAP Security Web Design MEMBERS Paul_Pedant DACREE MarkDeVries MacProTX Inside-ERP VoIP_News Inside-CRM I_am_the_dragon maxwellarnold Michael Meyers-Jouan TerryCurran Chris_Day Ramnath.Awate JoeTorre Andrew.S.Baker bracke Locutus Dennis Stevenson Craig Borysowich Richard DukeGanote mircea_luca iudithm Clinton Jones Nikki Klein AbhaiTripathi Iqbalyk bluesguyAZ59 blrvenkat jakarman COMPANIES Compuware SendGrid Webroot Evault View All Topics View All Members View All Companies Toolbox for IT Topics UNIX Groups Ask a New Question Solaris The Solaris group is a forum where peers share technical expertise, solve problems, and discuss issues related to the Solaris operating system, including OS-related malfunctions, security issues, and network performance. Home | Invite Peers | More UNIX Groups Your account is ready. You're now being signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. Find: cannot open /: I/O error User299412 asked May 3, 2005 | Replies (8) Hi all, I am getting the following error -- # find / -name "*.log" -print find: cannot open /: I/O error # find /var -name "*.log" -print find: cannot open /var: I/O error FYI --- # ls -ld / drwxr-xr-x 25 root root 1024 Apr 22 03:29 / # ls -ld /var drwxr-xr-x 34 root sys 1024 May 3