11-17-2009
kumarmani, it might not be true that the drive is failed just due to the hard errors.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I recently decided to install FreeBSD on an old 486 PC. I downloaded the iso and burnt it on my other computer. After that I went into the BIOS on the 486 to set the CD as my primary boot device.. but strangely there's no such option :confused:
And when i boot the machine the floppy drive makes... (2 Replies)
Discussion started by: J.P
2 Replies
2. UNIX for Dummies Questions & Answers
I am having problems booting to my external CD-ROM drive. When I try to run the command "boot cdrom" from my OK prompt I get the error "SCSI device 6,0 is not responding, Can't open boot device". Also, when I run the command "test cdrom", I get the error "SCSI device 6,0 is not responding, cdrom... (5 Replies)
Discussion started by: saucierm
5 Replies
3. UNIX for Dummies Questions & Answers
have a problem with mandrake, it doesnt let me take more than 3 files from a cd to the hard drive at once.
ie from a cd with 100 mp3s on, I have to take 3, then eject the cd and put it back and take 3 more.
very tidious, people tell me this is a default problem with mandrake, I say there must... (1 Reply)
Discussion started by: tayoz
1 Replies
4. Linux
I'm getting started on Linux coming from Windows. I've got Red Hat 8.0 (I think 8.0) installed. I'm going to install a program from the cd-rom. I hope this isn't to stupid of a question, how do I install it? I've done some research unfortunately I don't have a lot of time on my hands and I haven't... (3 Replies)
Discussion started by: seedogg99
3 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I would like to mount a cd device on a sun using the mount command.
But i do not know what device the cd drive is ie /dev/sr0 or /dev/cdrom0 bla bla. I need this info to run the command...
mount /dev/blah /mnt/cdrom
so i can access the cd. but i dont know what blah in the above is.... (1 Reply)
Discussion started by: rkap
1 Replies
6. UNIX for Dummies Questions & Answers
Hello
I was installing oracle 9 release 2 on solaris 9
everything was fine but when
the installation ask me for disk 2. I cant eject
cdrom. sends me this message:
/vol/dev/rdsk/c1t6d0/orc19201_1: Device busy
I open another terminal and with root user try this eject cdrom
and nothing. I... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
7. Solaris
hi all , how can i know the device associated with my CD-ROM under file system /dev/dsk/... ? (2 Replies)
Discussion started by: lid-j-one
2 Replies
8. Solaris
Hello,
I need to replace a cd rom drive with a dvd rom drive in a SunFire v120 running Solaris 8. My objective is to install Solaris 10 from dvd disc. Downloading Solaris 10 cd discs is not an option since I am in Baghdad, Iraq and connection speeds are horrible. So far, all I can get is power to... (9 Replies)
Discussion started by: 555
9 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am using a PC with XP at my office and using Solaris 9 via X-win32 (Sun WS is somewhere at server room). Is there anyway to use my pc's CDROM to install programs to Solaris 9 ..?
( they dont share the same file system. They are only connected through net. However, they both use same... (3 Replies)
Discussion started by: titanic
3 Replies
10. UNIX for Dummies Questions & Answers
hi
Am trying to mount a cdrom which has a blank cd into it, using the command:
mount -v cdrfs -o ro /dev/cd0 /mnt
Am getting this error:
# df -Ig
Filesystem GB blocks Used Free %Used Mounted on
/dev/hd4 0.50 0.19 0.31 38% /
/dev/hd2 ... (1 Reply)
Discussion started by: kamaldev
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)