Sponsored Content
Full Discussion: Disk I/O error 5
Top Forums UNIX for Advanced & Expert Users Disk I/O error 5 Post 302830443 by migurus on Monday 8th of July 2013 09:54:47 PM
Old 07-08-2013
I said this is a plain file with binary data in it, so the strings command is not meaningful.

Code:
 
$ file FNAME.dat
FNAME.dat:      data

What do you mean by
Quote:
file is corrupted
?

The binary content of the file is corrupted? Only application would be able to tell, as it know how to interpret the content, but I was getting I/O error 5 when doing plain old copy.

Anybody ever seen this on RAID SAN?

Sorry for repeating question, I really would love to understand when guest OS decides to throw disk I/O and the h/w manufacturer's tools show disk is good.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Fatal error in disk

I have a doubt with an error message, and i want to be sure if this is a normal situation or not. Situation: I was formating and installing a SCSI 36Gb HD with UNIX SCO 5.05, the problem happens when is making the division and filesystem on disk 1, and the message error is "Exit value 139... (1 Reply)
Discussion started by: jav_v
1 Replies

2. UNIX for Advanced & Expert Users

Disk error

Hi, I have a Linux - Mandrake box at home that run as a web server and a Internet router. So often to the system after reboot that it come has the messages saying that the hda1 (I think is the root file system) has some inconsitencies and some inodes has to be removed. When the drive is fixed,... (2 Replies)
Discussion started by: vtran4270
2 Replies

3. AIX

Disk space error.

Dear All, I am working on AIX 5.2, and I have allocated 3072M disk space to /home filesystem. Now system has no free space at /home filesystem. But when I checked data on /home, I have only 900M data. Please if anybody can tell me about this difference and how this can be resolved. Thank You.... (9 Replies)
Discussion started by: system-admin
9 Replies

4. Solaris

Disk error

How to Check the disk error (both hard disk & DVD Rom) In Sun Netra 20 Server..Pls help (2 Replies)
Discussion started by: gini
2 Replies

5. Solaris

flarcreate disk error 28

I want to image solaris 8 with flarcreate like ghost in windows. the error come like errno 28, No space left? this is error message absapp@nepalabs1 # flarcreate -n "sol8utl" -S -R / -x /var/tmp /var/tmp/s8.utl.061222 Determining which filesystems will be included in the archive... Creating... (15 Replies)
Discussion started by: 197oo302
15 Replies

6. AIX

Disk operation Error

Hi to all, Hope you can help me to figure out this problem that I have with one of our servers. I get disk errors but I cannot explain the reason why it is happening. Below is the error: Thanks in advance. By the way were using NETAPPS data storage and using 5.3 O.S version. LABEL: ... (1 Reply)
Discussion started by: cabloy
1 Replies

7. Solaris

Solaris disk error

I received a new error that I have not seen before on my Solaris 10 server last night: From /var/adm/messages Jan 8 04:59:26 nediaccomp005j scsi: /pci@780/pci@0/pci@9/scsi@0 (mpt0): Jan 8 04:59:26 nediaccomp005j Log info 31010000c received for target 1. Jan 8 04:59:26 nediaccomp005j ... (4 Replies)
Discussion started by: FredSmith
4 Replies

8. Solaris

I/O Error on SAN Disk

Hi, I have a production solaris 10 SPARC system (portal). Yesterday legato/Networker gave an I/O Error on one of the files on its SAN mounted disk. I went to that particular file on the system, did an ls and it showed the file. However, ls -l did not work and it said IO error. ... (6 Replies)
Discussion started by: Mack1982
6 Replies

9. Solaris

Error 25:Disk Read Error

Hi Guys, Wondering if anyone has seen/has a fix for this, when i try boot my system from CDROM at the solaris/ttya/ttyb selection menu i get stuck in a loop: kernel$ /boot/multiboot kernel/$isadir/unix -B install_media=cdrom,console=ttya loading "/boot/multiboot kernel/$isadir/unix -B... (0 Replies)
Discussion started by: A-Train
0 Replies

10. Solaris

Solaris 8 disk error

Hello, We are running solaris 8 and there is a disk having problem with consistency The following devices (soft partitions from NetApp are inconsistent, unable to be repaired with fsck and need to be restored: root@server1 # df -k Filesystem kbytes used ... (4 Replies)
Discussion started by: gull05
4 Replies
dbm(3UCB)					     SunOS/BSD Compatibility Library Functions						 dbm(3UCB)

NAME
dbm, dbminit, dbmclose, fetch, store, delete, firstkey, nextkey - data base subroutines SYNOPSIS
/usr/ucb/cc [ flag ... ] file ... -ldbm #include <dbm.h> typedef struct { char *dptr; int dsize; }datum; int dbminit(file); char *file; int dbmclose(); datum fetch( key); datum key; int store( key, dat); datum key, dat; int delete(key); datum key; datum firstkey() datum nextkey(key); datum key; DESCRIPTION
The dbm() library has been superseded by ndbm (see ndbm(3C)). These functions maintain key/content pairs in a data base. The functions will handle very large (a billion blocks) databases and will access a keyed item in one or two file system accesses. key/dat and their content are described by the datum typedef. A datum specifies a string of dsize bytes pointed to by dptr. Arbitrary binary data, as well as normal ASCII strings, are allowed. The data base is stored in two files. One file is a directory containing a bit map and has .dir as its suffix. The second file contains all data and has .pag as its suffix. Before a database can be accessed, it must be opened by dbminit(). At the time of this call, the files file.dir and file.pag must exist. An empty database is created by creating zero-length .dir and .pag files. A database may be closed by calling dbmclose(). You must close a database before opening a new one. Once open, the data stored under a key is accessed by fetch() and data is placed under a key by store. A key (and its associated contents) is deleted by delete(). A linear pass through all keys in a database may be made, in an (apparently) random order, by use of firstkey() and nextkey(). firstkey() will return the first key in the database. With any key nextkey() will return the next key in the database. This code will traverse the data base: for (key = firstkey; key.dptr != NULL; key = nextkey(key)) RETURN VALUES
All functions that return an int indicate errors with negative values. A zero return indicates no error. Routines that return a datum indi- cate errors with a NULL(0) dptr. SEE ALSO
ar(1), cat(1), cp(1), tar(1), ndbm(3C) NOTES
Use of these interfaces should be restricted to only applications written on BSD platforms. Use of these interfaces with any of the system libraries or in multi-thread applications is unsupported. The .pag file will contain holes so that its apparent size may be larger than its actual content. Older versions of the UNIX operating sys- tem may create real file blocks for these holes when touched. These files cannot be copied by normal means ( cp(1), cat(1), tar(1), ar(1)) without filling in the holes. dptr pointers returned by these subroutines point into static storage that is changed by subsequent calls. The sum of the sizes of a key/content pair must not exceed the internal block size (currently 1024 bytes). Moreover all key/content pairs that hash together must fit on a single block. store will return an error in the event that a disk block fills with inseparable data. delete() does not physically reclaim file space, although it does make it available for reuse. The order of keys presented by firstkey() and nextkey() depends on a hashing function, not on anything interesting. There are no interlocks and no reliable cache flushing; thus concurrent updating and reading is risky. The database files (file.dir and file.pag) are binary and are architecture-specific (for example, they depend on the architecture's byte order.) These files are not guaranteed to be portable across architectures. SunOS 5.10 20 Feb 1997 dbm(3UCB)
All times are GMT -4. The time now is 04:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy