02-10-2014
With regards the suspected hard disk, if you boot into single user from the CD/DVD and run 'format' you will find a "analyse" option in there. Select the bad drive and analyse it. That will certainly check out that drive and possible fix it (re-vectoring bad sectors, etc).
Be aware though that it will take a looooooooooong time to run!!
Good luck with trying a different drive.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there any place where i can look for the commands that can be used on the ok> prompt (3 Replies)
Discussion started by: Jai
3 Replies
2. UNIX for Advanced & Expert Users
My workstation's graphic card had problem so unitl it's fixing if i want to have PROM env & run some commands like
OK probe-scsi or .....
what should i do ?
Rgrds
Nikk (1 Reply)
Discussion started by: nikk
1 Replies
3. UNIX for Advanced & Expert Users
I have a query. Its about the PROM password on a SUN ULTRA5.
I am the administrator of a UNIX network, which is actually a private network within the company that I work for. The IT department who supplied the workstations will not remove the PROM passwords - I need it removed in order to do... (1 Reply)
Discussion started by: Kanu77
1 Replies
4. UNIX for Dummies Questions & Answers
Can someone give me the reason why PROM passwords are put on UNIX machines??? Is there a genuinely good, sane and reasonable decision for this??? (1 Reply)
Discussion started by: Kanu77
1 Replies
5. Solaris
Hi,
I'm looking for a command to be able to disable a network card under the boot PROM.
I need it to force my Jumpstart to use the Ethernet card of my server (V880) instead of my fiber card (gem0).
Thanks,
Fabien (6 Replies)
Discussion started by: unclefab
6 Replies
6. Solaris
Hi there
How do i get the openboot version from within solaris 8-sparc.
i cant seem to run "banner" or ".version" using eeprom
cheers (2 Replies)
Discussion started by: hcclnoodles
2 Replies
7. Solaris
Hi there, I have a Sunfire v210 running solaris 8 and the PROM banner shows that the openboot version is 4.11.4, I have nbeen asked to make sure that the PROM is at the latest version.
Does anybody know the procedure for upgrading openboot, and indeed , where i can get the software from
any... (6 Replies)
Discussion started by: hcclnoodles
6 Replies
8. Shell Programming and Scripting
hi guys,
i have a directory.inside that so many directories and files are there.i want to search the complete directory for a pattern in all the .txt files.if i will find that pattern then i want to delete that pattern from that file.
please help me out.
i want it urgent (18 Replies)
Discussion started by: suvendu4urs
18 Replies
9. Solaris
Hi,
I would like to know if it's possible find a openboot simulator for solaris to can practice some exercices
Thanks a lot and sorry for my english! (11 Replies)
Discussion started by: mierdatuti
11 Replies
10. Solaris
Hey guys I just inherited a sun netra 210 from an old Avaya system we had setup and I want to use i for studying for my SCSA/OCA exams but I'm running into alot of problems installing SOL 10 on here. I have no experience with SUN hardware at all but familiar with Solaris. It has SOL 9 but no one... (7 Replies)
Discussion started by: blackmantis
7 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)