If that doesn't work, the errors from dmesg could help. Fsck can fix only if it related to any filesystem related issues. rob19 View Public Profile View LQ Blog View Review Entries View HCL Entries Visit rob19's homepage! They did mention fsck again so I thought I might as well go ahead and try it. navigate here
In your case, it sounds like that will be sudo fdisk /dev/sdb, but note that in some cases the device name can change with time. If it doesn't show any differences (empty output), unplug the disk and try it again increasing the delay. You can also try fsck but it really dont fix most time if it bad block issue. I was getting the same error when trying to format the usb drive, "udisks-error-quark, 0". this page
In your case use sudo fdisk /dev/sdb. TerryNet, Feb 3, 2011 #7 Vyomgrisham Thread Starter Joined: Jan 27, 2011 Messages: 7 Hi Lotuseclat79 , It worked now... On Linux, a disk is referred to as e.g. /dev/sdb, whereas the partitions on it are referred to as /dev/sdb1, /dev/sdb2 etc. I am going to try using badblocks command to see if that will repair it.
You can check smartool option to fix bad blocks. 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 lneto77 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by lneto77 08-21-2012, 09:35 PM #15 Spechal LQ Newbie Registered: Apr 2007 Posts: http://askubuntu.com/questions/274368/formatting-hard-drive-failed If you need to reset your password, click here.
it is giving me :/var/log/messages : Input/output error .. Input/output Error Linux 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 Search this Thread 08-25-2004, 06:19 AM #1 rob19 Member Registered: Mar 2003 Location: New Zealand Distribution: Red Hat Linux 8 & 9 Posts: 32 Rep: Input/output error I have Create partition(s) on it with fdisk: $ sudo fdisk /dev/sdb and then format all partitions with mkfs.
Ultimately (after a full backup), try a machine reboot and see if it does a fsck. http://www.linuxquestions.org/questions/linux-newbie-8/input-output-error-222152/ There must have been something funky going on with the hard drive but with the power cut completely it has been behaving fine ever since and fsck finds nothing wrong - Fdisk: Unable To Read /dev/sdb: Input/output Error No, create an account now. Fdisk Unable To Read /dev/sda Input/output Error I am assuming this is ok with you - if not, then do not try it.
Is a food chain without plants plausible? check over here EDIT I am able to successfully create two partitions -- one at 100MB and the other 7.3GB. Advertisement Recent Posts Please Help! I noticed one line that mentioned adding swap though... Input/output Error (udisks-error-quark, 0)
Adjust as needed below. Formatting it from the command line, as well as formatting it from the utillity returns the same result. The bug seems to affect more people with RAID configurations. his comment is here They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
rob19 View Public Profile View LQ Blog View Review Entries View HCL Entries Visit rob19's homepage! Error Fsyncing/closing /dev/sdb: Input/output Error What is the meaning of the so-called "pregnant chad"? permalinkembedsavegive gold[–]playaspec 0 points1 point2 points 1 year ago(0 children)You should reboot once.
It formatted suspiciously fast (a few seconds; it's a 1TB drive). There are advantages and disadvantes to each, whether it is playing nice with windows or a mac, or loading large media files.) Then I verified one more time that I had It would only mount as read-only. Error Deleting Partition Ubuntu Pls help.
Are you looking for the solution to your computer problem? Publishing a mathematical research article on research which is already done? Short URL to this thread: https://techguy.org/977983 Log in with Facebook Log in with Twitter Log in with Google Your name or email address: Do you already have an account? weblink fdisk /dev/sdb1 or fdisk /dev/sdb2 and so on. –Arammil Mar 28 '13 at 9:35 Sorry, I edited the post.
I suspect, but cannot verify based on what you said in post#5 whether your /dev/sda disk was mounted.