03-14-2012
end -request: i/o error / dev hdb, sector 2566830
That should be your reason right there. You have a disk error on read. Time to get the backup tapes out and a new hard drive.
Also, this is a web forum. a "Plz reply soon" won't get you any expedited help. There is an emergency forum elsewhere, but I suggest if you have urgent needs, that you get a support contract in place.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I can't excute any commands in /usr/bin
when I try to excute commands in /usr/bin
the error message is displayed " No Such device or
address"
Can you Help?
Thanks in Advance (6 Replies)
Discussion started by: hassan2
6 Replies
2. UNIX for Advanced & Expert Users
Hi Expert,
I have encountered some problem with my SUN system. Everytime when i issue command #init 6 OR #init 0 it just logout and prompt for login again instead of rebooting the server when run init 6 and system shutdown when run init 0..
I can only reboot the system using reboot ... Was... (6 Replies)
Discussion started by: sc2005
6 Replies
3. Shell Programming and Scripting
Hello
i have script that show me stuff , i need to excute this script every N seconds , is there any way to do it with one liner ? ( mybe perl )
thanks (7 Replies)
Discussion started by: umen
7 Replies
4. Shell Programming and Scripting
I have a text file with only the command:
MyTextFile:
ls -l
in it..
So in my sript im trying..
sh MyTextFile.txt >> MyTextFile.txt
Just to overwrite and replace the command with its output.
sh MyTextFile.txt 2>1 MyTextFile.txt
isnt redirecting either.. :(
Im getting the... (3 Replies)
Discussion started by: omgsomuchppl
3 Replies
5. Shell Programming and Scripting
Hi All,
Greetings.
I am working with an awk file say "Test.awk".
My Input file is say "test"
I am executing the awk file using
awk -f Test.awk test
I am new to awk. I wanted to know how can we execute the above awk command from a ksh file. Please help me on this.
Thanks in advance!! (9 Replies)
Discussion started by: dinesh1985
9 Replies
6. Linux
Dear all,
I typed in init 1 on my redhat box as root and according to wikipedia (http://en.wikipedia.org/wiki/Runlevel):
1 Single-User Mode Does not configure network interfaces, start daemons, or allow non-root logins
So now I can't connect back to it. How do I change the init back to 3?... (8 Replies)
Discussion started by: z1dane
8 Replies
7. UNIX for Advanced & Expert Users
Hi,
I am experiencing a weird thing on my SUNFIRE machine with Solaris 9 OS.
When I do init 0 to shutdown the machine to go to ok prompt, what it did was shutdown and reboot like an init 6 command do. I did check the corresponding rc scripts that were involved with init 0 and compared with rc... (2 Replies)
Discussion started by: Yenthanh
2 Replies
8. Solaris
i did my research in finding the answer but couldn't find right one. Please give your inputs. (6 Replies)
Discussion started by: ranumala
6 Replies
9. Red Hat
I encountered a problem on one of our database servers.
OS: CentOS 5.5 final
Kernel: 2.6.18-238.5.1.el5.028stab085.2 (OpenVZ kernel)
We wrote some DB-Start/Stop-scripts ("/db2/admin/scripts_dba/start_services.ksh" and ".../stop_services.ksh") to start the database instances. (Database... (1 Reply)
Discussion started by: bakunin
1 Replies
10. OS X (Apple)
Hi,
I am a new user of Mac OSX 10.7 (Lion). I am trying to compile a program and followed steps as:
1: qmake program_name.pro
Not to mention I have installed qt and program compile perfectly without error and create a Makefile.
2: make
Again everything worked fine and I got an executable... (1 Reply)
Discussion started by: karun25u
1 Replies
hdio(7I) Ioctl Requests hdio(7I)
NAME
hdio - SMD and IPI disk control operations
SYNOPSIS
#include <sys/hdio.h>
DESCRIPTION
Note - The SMC and IPI drivers have been discontinued. dkio(7I) is now the preferred method for retrieving disk information.
The SMD and IPI disk drivers supplied with this release support a set of ioctl(2) requests for diagnostics and bad sector information.
Basic to these ioctl() requests are the definitions in <sys/hdio.h>.
IOCTLS
HDKIOCGTYPE The argument is a pointer to a hdk_type structure (described below). This ioctl() gets specific information from the hard
disk.
HDKIOCSTYPE The argument is a pointer to a hdk_type structure (described below). This ioctl() sets specific information about the hard
disk.
/*
* Used for drive info
*/
struct hdk_type {
ushort_t hdkt_hsect; /* hard sector count (read only) */
ushort_t hdkt_promrev; /* prom revision (read only) */
uchar_t hdkt_drtype; /* drive type (ctlr specific) */
uchar_t hdkt_drstat; /* drive status (ctlr specific, ro) */
};
HDKIOCGBAD The argument is a pointer to a hdk_badmap structure (described below). This ioctl() is used to get the bad sector map from
the disk.
HDKIOCSBAD The argument is a pointer to a hdk_badmap structure (described below). This ioctl() is used to set the bad sector map on
the disk.
/*
* Used for bad sector map
*/
struct hdk_badmap {
caddr_t hdkb_bufaddr; /* address of user's map buffer */
};
HDKIOCGDIAG The argument is a pointer to a hdk_diag structure (described below). This ioctl() gets the most recent command that failed
along with the sector and error number from the hard disk.
/*
* Used for disk diagnostics
*/
struct hdk_diag {
ushort_t hdkd_errcmd; /* most recent command in error */
daddr_t hdkd_errsect; /* most recent sector in error */
uchar_t hdkd_errno; /* most recent error number */
uchar_t hdkd_severe; /* severity of most recent error */
};
SEE ALSO
ioctl(2), dkio(7I)
SunOS 5.10 13 Aug 2002 hdio(7I)