Home > Output Error > Bash /sbin/fdisk Input/output Error

Bash /sbin/fdisk Input/output Error


Ubuntu Logo, Ubuntu and Canonical Canonical Ltd. As I recall, the legacy ntfs driver had no stable write support and was largely abandoned when it turned out ntfs-3g was significantly more stable and secure. Tango Icons Tango Desktop Project. The kernel version is 2.6.24-19-generic. navigate here

If you press Tab-Tab at the terminal, it hangs and then there is no way other than hard-boot to get stuff to work again. User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. Not the answer you're looking for? BTW, dmesg is more of a startup log I think. /var/log/messages is the on-going log.

Linux Bash: Input/output Error

Looks like I have a bad block (possibly more). Of course you need to check if you receive the cron mails in your mailbox (which is often not the case by default). Adv Reply Quick Navigation Dell Ubuntu Support (CLOSED) Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support I got: /sbin/reboot init Input/output error I hoped that at least /sbin/shutdown or /sbin/init commands might work out and since I couldn't use the reboot command I tried this two as

  1. chrism01 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by chrism01 08-25-2004, 05:10 PM #5 rob19 Member Registered: Mar 2003 Location: New
  2. Once rebooted it started working fine. –droope Nov 29 '12 at 20:51 add a comment| You must log in to answer this question.
  3. Is your logrotate working?
  4. Most Linux distros run with Bash as the primary shell now.
  5. Sometimes you might need to format the disk.
  6. Can anyone suggest something to repair this annoying recurrence.
  7. For details and our forum data attribution, retention and privacy policy, see here current community blog chat Super User Meta Super User your communities Sign up or log in to customize
  8. tail -n 100 /var/log/messages tail -f /var/log/messages If you notice any disk issues , try any disk utility to confirm this.
  9. I still have not found any problems, though I am taking this as a warning sign that the disk is not reliable and could go at some point.
  10. This is a production Web server and I do not want to have to rebuild everything or lose any data.

You can issue a surface scan of your disk from Linux /sbin/badblocks /dev/sda. What can I do to get to the bottom of this? Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help Dell Ubuntu Support (CLOSED) [ubuntu] Bash: Input/output Error Centos Code: mkdir testing mkdir: cannot create directory `testing': Input/output error I tried to search for this and found people had similar errors but they mostly seemed to be tampering with their

View Comment Reply admin says: June 4, 2012 at 12:08 pm Firefox 3.0.10 Windows VistaMozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv: Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)Try with "last" ccmd View Mkdir: Cannot Create Directory : Input/output Error Adopt A Jet/Book What does Sauron need with mithril? Miller's question: "But really, how often does one need to shut down a system (or reboot) with no filesystem?", I would have to reply more often then we wished. Check /var/log/messages at the same time as trying the file and dir creates; ie open a separate xterm and run tail -f /var/log/messages and watch for any reports.

Can I not format the whole drive, just reclaim the space from the directory in question? –Tim Jun 3 '12 at 1:12 @Tim , you had to copy all -bash: /root/.bash_profile: Input/output Error Can you create a simple file there? Get the Guide October 2016 Video Preview September 2016 Video Preview August 2016 Video Preview Click here for more videos First Name Last Name Address 1 Address 2 City State Zip View Comment Reply deep says: June 4, 2012 at 12:02 pm Google Chrome 19.0.1084.52 Windows 7 x64 EditionMozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5Hi, I usually work

Mkdir: Cannot Create Directory : Input/output Error

Assorted VMs (via VBox). I wanted to know, is there any command or procedure to know, when the pc got last rebooted and from which IP. Linux Bash: Input/output Error rob19 View Public Profile View LQ Blog View Review Entries View HCL Entries Visit rob19's homepage! Input/output Error Kali Linux Find More Posts by rob19 08-25-2004, 05:42 PM #7 rob19 Member Registered: Mar 2003 Location: New Zealand Distribution: Red Hat Linux 8 & 9 Posts: 32 Original Poster Rep:

You can also try fsck but it really dont fix most time if it bad block issue. check over here The "magic SysRq key" provides a way to send commands directly to the kernel through the /proc filesystem. Why can a Gnome grapple a Goliath? After a normal boot, I can't run fdisk because I get: [root]# fdisk -bash: /sbin/fdisk: Input/output error Here is the output of a df command. Reading Directory Input Output Error Linux

but 'h' is easy to remember :-) 'i' - Send a SIGKILL to all processes, except for init. 'k' - Secure Access Key (SAK) Kills all programs on the current virtual Maybe trying the backup remotely will work (or not...) Worst case, shutdown every service you can and pull the plug.... But I wanted to know from which IP the reboot command was given. http://onlinetvsoftware.net/output-error/bash-usr-sbin-aireplay-ng-input-output-error.php Also, running 'mount' will show you which partition is now read-only.

A new drive will take care of the impending drive failure. Input/output Error Ubuntu You can follow any responses to this entry through the RSS 2.0 feed. Leave about half a second between each command.

echo 1 > /proc/sys/kernel/sysrq bash: /proc/sys/kernel/sysrq: No such file or directory :'( and that's how you learn not to be such a dick when building your own kernel.

Ultimately (after a full backup), try a machine reboot and see if it does a fsck. However one should be careful with using the sysrq-trigger because it's not a complete substitute for /sbin/reboot or /sbin/shutdown -r commands. Usually fsck will fail in between as when it try to read the file at bad block. .bashrc Input/output Error Unexpected parent process id in output When taking passengers, what should I do to prepare them?

systemd vs sysVinit Linux Cheatsheet Intro to Configure IPsec VPN (Gateway-to-Gateway ) using Strongswan Linux ntopng - Network Monitoring Tool Installation (Screenshots) How to Install CentOS 7 Step by Step with generally using the commands last reboot (or) ps -fp 1 only gives us the info regarding the last time of reboot. thanks for sites Sync and umount with magic sysrq keys Submitted by messageid (not verified) on Fri, 08/22/2008 - 05:59. http://onlinetvsoftware.net/output-error/bash-sbin-shutdown-input-output-error.php Keep an eye on it though.

Type dmesg and check the last few lines of output. Do you recommend me buying a new machine itself or this could be made to work ...?