Aix Vi There Is An Input Or Output Error
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
Input/output Error Linux
the company Business Learn more about hiring developers or posting ads with us Unix linux bash: input/output error & 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 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 39 down vote favorite 9 I want to list and remove the content of a directory on a removable 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 generic sg2 type 0 [19001.861733] sd 5:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB) [19001.862969] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled [19001.865223] sd 5:0:0:0: [sdb] Cache data unavailable [19001.865232] sd 5:0:0:0: [sdb] Assuming drive cache: write through [19001.867597] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled [19001.869214] sd 5:0:0:0: [sdb] Cache data unavailable [19001.869218] sd 5:0:0:0: [sdb] Assuming drive cache: write through [19001.891946] sdb: sdb1 [19001.894713] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled [19001.895950] sd 5:0:0:0: [sdb] Cache data unava
system that meets the demands of applications that businesses rely upon in today's marketplace. Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... unix and linux commands - unix shell scripting v3fshelper: There is an input or output error AIX Tags aix, unix Thread Tools Search this Thread Display Modes #1 10-30-2007 padawan75 Registered User Join Date: Oct 2007 Last Activity: 26 June 2008, 10:33 AM EDT Posts: 9 Thanks: http://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory 0 Thanked 0 Times in 0 Posts v3fshelper: There is an input or output error Hello, I encountered a never-seen-before error message soon after the extension of a file system on an AIX 5.2: $ sudo chfs -a size=+1G /filesystemtest v3fshelper: /dev/lvfilesystemtest: There is an input or output error. No error reported by errpt, file system correctly extended. Can you please help me to understand at http://www.unix.com/aix/44656-v3fshelper-there-input-output-error.html least in which direction investigate? Thank you in advance! Remove advertisements Sponsored Links padawan75 View Public Profile Find all posts by padawan75 #2 10-30-2007 bakunin Bughunter Extraordinaire Join Date: May 2005 Last Activity: 29 September 2016, 4:33 AM EDT Location: In the leftmost byte of /dev/kmem Posts: 5,162 Thanks: 89 Thanked 1,336 Times in 1,002 Posts GIYF! From the second link i found after typing "v3fshelper" into google: IY56801: CHFS OCCASIONALLY FAILS WITH V3FSHELPER ERROR IBM - IY56801: CHFS OCCASIONALLY FAILS WITH V3FSHELPER ERROR go to the given link (IBM fixdist), get yourself the fix, install it and be done. bakunin Remove advertisements Sponsored Links bakunin View Public Profile Find all posts by bakunin #3 11-21-2007 padawan75 Registered User Join Date: Oct 2007 Last Activity: 26 June 2008, 10:33 AM EDT Posts: 9 Thanks: 0 Thanked 0 Times in 0 Posts Thanks, seems to be the right solution. padawan Quote: Originally Posted by bakunin GIYF! From the second link i found after typing "v3fshelper" into google: IY56801: CHFS OCCASIONALLY FAILS WITH V3FSHELPER ERROR IBM - IY56801: CHFS OCCASIONALLY FAILS WITH V3FSHELPER ERROR go to the given link
Updated June 19, 2016 Every process in Linux is provided with three open files( usually called file descriptor). These files http://www.linuxtechi.com/standard-input-output-error-in-linux/ are the standard input, output and error files. By default : Standard Input is the keyboard, abstracted as a file to make it easier to write shell scripts. Standard https://www.tutorialspoint.com/unix/unix-io-redirections.htm Output is the shell window or the terminal from which the script runs, abstracted as a file to again make writing scripts & program easier Standard error is the output error same as standard output:the shell window or terminal from which the script runs. A file descriptor is simply a number that refers to an open file. By default , file descriptor 0 (zero) refers to the standard input & often abbreviated as stdin. File descriptor 1 refers to standard output (stdout) and file descriptor 2 refers to aix vi there standard error (stderr). These numbers are important when you need to access a particular file , especially when you want to redirect these files to the other locations, File descriptors numbers go up from zero. Redirecting Standard Output Syntax to redirect the output of a command to a file. # Command_options_and_arguments > output_file Example : linuxtechi@localhost:~$ cat /proc/cpuinfo > command.txt We can see the data that would have gone to the screen with more command : linuxtechi@localhost:~$ more command.txt processor   : 0 vendor_id   : GenuineIntel cpu family   : 6 model      : 37 model name   : Intel(R) Core(TM) i3 CPU      M 370 @ 2.40GHz stepping   : 5 microcode   : 0x616 cpu MHz     : 0.000 cache size   : 6144 KB physical id  : 0 siblings   : 2 core id     : 0 cpu cores   : 2 apicid      : 0 initial apicid   : 0 fpu      : yes fpu_exception   : yes cpuid level   : 5 wp   Â
- Directories Unix - File Permission Unix - Environment Unix - Basic Utilities Unix - Pipes & Filters Unix - Processes Unix - Communication Unix - The vi Editor Unix Shell Programming Unix - What is Shell? Unix - Using Variables Unix - Special Variables Unix - Using Arrays Unix - Basic Operators Unix - Decision Making Unix - Shell Loops Unix - Loop Control Unix - Shell Substitutions Unix - Quoting Mechanisms Unix - IO Redirections Unix - Shell Functions Unix - Manpage Help Advanced Unix Unix - Regular Expressions Unix - File System Basics Unix - User Administration Unix - System Performance Unix - System Logging Unix - Signals and Traps Unix Useful Resources Unix - Useful Commands Unix - Quick Guide Unix - Builtin Functions Unix - System Calls Unix - Commands List Unix - Useful Resources Unix - Discussion Selected Reading Developer's Best Practices Questions and Answers Effective Resume Writing HR Interview Questions Computer Glossary Who is Who Unix - Shell Input/Output Redirections Advertisements Previous Page Next Page Most Unix system commands take input from your terminal and send the resulting output back to your terminal. A command normally reads its input from a place called standard input, which happens to be your terminal by default. Similarly, a command normally writes its output to standard output, which is also your terminal by default. Output Redirection The output from a command normally intended for standard output can be easily diverted to a file instead. This capability is known as output redirection: If the notation > file is appended to any command that normally writes its output to standard output, the output of that command will be written to file instead of your terminal − Check following who command which would redirect complete output of the command in users file. $ who > users Notice that no output appears at the terminal. This is because the output has been redirected from the default standard output device (the terminal) into the specified file. If you would check users file then it would have complete content − $ cat users oko tty01 Sep 12 07:30 ai tty15 Sep 12 13:32 ruth tty21 Sep 12 10:10 pat tty24 Sep 12 13:07 steve tty25 Sep 12 13:03 $ If a command has its output redirected to a file and the file already contains some data, that data will be lost. Consider this example − $ ech