08-12-2003
While looking for some command help last night, I found a command somewhere that would run a disk scan. I was afraid to run it destructive as I am not sure where we are going from this point and didn't want to do anything that was non-repairable... The command was "badtrk," this will apparently block that section of the drive and keep it from being used. From my best guess it seems to be a lot like Windows Scan Disk in that reguard. Except I am not familiar with it enough to know what it will and won't do and I do not want it deleting the data that is located in that block of the drive.
When the system boots, it comes up to the login screen. Once you enter the user and password, then it starts showing all the errors. I am able to navigate the file structure and access most anything, so I am under the impression that I am logged into root.
There is a floppy drive in this machine. The local technician was very adimant about running daily backups of the database. So, we should be able to rebuild without too much problems.
I will check into the .profile file and see what I can find. We were able to find some other software in another location as well, so we may very well be able to replace the hard drive and reload without too many more problems.
10 More Discussions You Might Find Interesting
1. HP-UX
fatal server error:
couldn't open x pointer device! is one attached?
xinit: connection refused (errno 239): unable to connect to X server
xinit: no such process (errno3): server error. (1 Reply)
Discussion started by: nobody
1 Replies
2. UNIX for Advanced & Expert Users
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies
3. AIX
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies
4. UNIX for Advanced & Expert Users
root@INTSETICADB # su - oracle
Killed
root@INTSETICADB # su - selectica
Killed
root@INTSETICADB # man prstat
Reformatting page. Please Wait...Segmentation Fault - core dumped
sys(cd /usr/man; /usr/lib/sgml/sgml2roff /usr/man/sman1m/prstat.1m > /tmp/sman_iUaW5x) fail!
aborted (sorry) (3 Replies)
Discussion started by: abhijeetkul
3 Replies
5. UNIX for Dummies Questions & Answers
I'm trying to set up x2x between my desktop and laptop, and as a precondition to that, I'm just trying to get each to be able to display programs on the other (e.g. "desktop$ xterm -display laptop:0").
OS is Ubuntu 5.10 and X version is X.org 6.8.2
I've set up X to run without -nolisten, and... (1 Reply)
Discussion started by: vertigo23
1 Replies
6. Programming
hi
i have written a program to display files in a directory
but it doesnt compile on the sun/solaris system....
im using gcc(inbuilt compiler)
im generally used to working on a windows environment so maybe im overlookiing something
ive added comments to help readability of the program
i also... (2 Replies)
Discussion started by: anything2
2 Replies
7. UNIX for Dummies Questions & Answers
Hi all, dummy here.... I have major errors on entering the shell. On login I get:
-bash: dircolors: command not found
-bash: tr: command not found
-bash: fgrep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: id: command not found
-bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies
8. UNIX for Advanced & Expert Users
Hi,
I can see "udpInOverflows" errors when I execute 'netstat -s' on my Solaris box.
The number of errors are small - about 40.
e.g.
$ netstat -s|grep udp
UDP udpInDatagrams =1249190732 udpInErrors = 0
udpOutDatagrams =31663030 udpOutErrors = 0... (1 Reply)
Discussion started by: chaandana
1 Replies
9. Shell Programming and Scripting
Hi I am new to shell scripting. I am using a shell script to create a SQL script file and then call it as well. The created SQL script file has calls to 2 other sql script file, as well as compile and execute a procedure. all this works fine. I am getting some simple errors. My code is as below
... (8 Replies)
Discussion started by: man_expo
8 Replies
10. Shell Programming and Scripting
ln: Filename1 and Filename2 are identical.
Seems to be an error.. Unable to proceed further
Can you ppl help me? (5 Replies)
Discussion started by: DevM
5 Replies
LEARN ABOUT HPUX
diskinfo
diskinfo(1M) diskinfo(1M)
NAME
diskinfo - describe characteristics of a disk device
SYNOPSIS
character_devicefile
DESCRIPTION
The command determines whether the character special file named by character_devicefile is associated with a SCSI or floppy disk drive. If
so, summarizes the disk's characteristics.
The command displays information about the following characteristics of disk drives:
Vendor name Manufacturer of the drive (SCSI only)
Product ID Product identification number or ASCII name
Type Floppy or SCSI classification for the device
Disk Size of disk specified in bytes
Sector Specified as bytes per sector
Both the size of disk and bytes per sector represent formatted media.
Options
The command recognizes the following options:
Return the size of the disk in 1024-byte sectors.
Display a verbose summary of all of the information
available from the device. For floppy drives, this option has no effect.
SCSI disk devices return the following:
Vendor and product ID
Device type
Size (in bytes and in logical blocks)
Bytes per sector
Revision level
SCSI conformance level data
DIAGNOSTICS
Most of the diagnostic messages from are self-explanatory. However, one diagnostic message deserves further clarification. If the command
fails to access the lunpath corresponding to a given special file, it displays the following diagnostics data, which contains device iden-
tification and capability information:
device type 127 (unknown); device is inaccessible
iso ecma ansi rmb dtq resv rdf
WARNINGS
As of release 10.20 of HP-UX, certain IDE devices, CD-ROMs in particular, will respond to inquiries as if they were SCSI devices. There-
fore, the text "SCSI describe" in the output of the command does not definitively mean that the disk is in fact a SCSI drive (especially in
the case of CD-ROMs). Use to check which type of INTERFACE node, SCSI or IDE, the device's hardware path lies beneath, in order to defini-
tively determine a drive's interface.
DEPENDENCIES
General
The command supports floppy and HP SCSI disk devices.
SCSI Devices
The SCSI specification provides for a wide variety of device-dependent formats. For non-HP devices, may be unable to interpret all of the
data returned by the device. Refer to the drive operating manual accompanying the unit for more information.
AUTHOR
was developed by HP.
SEE ALSO
ioscan(1M), lsdev(1M), disktab(4), disk(7).
diskinfo(1M)