Thank you livin Free for all your help. We removed a lot of spool files and report files. Which should have freed up some space.
But now I think a major problem we have is we have lost or corrupt files which are preventing us from coming up correctly. Can we load or can you copy us a directory... (1 Reply)
Help!
SCO Unix 5.05.
A relatievely new system went down on me today. I got the dreaded error:
Out of Space on Device (1/42).
I was able to clear up some space in the /tmp directory, however, when I try to boot, the system prompts me to go into single user mode and I get the... (2 Replies)
Hi guys,
For some reason a client has given us a Sun Netra T1 with Solaris 8 to administer for them. That's always good business. However, the other day we rebooted the machine and to our amazement, after doing the preliminary hardware tests, we got an error messgae saying that /etc/inittab was... (3 Replies)
Hmm, how to ask this without sounding too malicious...
How might one go about causing a disk corruption in OS X specifically or via the command line in UNIX in general?
Doesnt matter the severity of the problem, I just want to scare the person a little, then fix the problem for them.
Any... (1 Reply)
Hi Everyone!
Would someone please tell me if it is still true that rootdg should not be used for production/primary data and that you should create additional disk groups so that if rootdg gets corrupt you can recreate rootdg and then bring in the other groups with no data loss. Or is it still... (0 Replies)
I have been fine adding/removing printers up until this week. Now when I go to add a new remote printer I get "corrupted member file". I go to /etc/lp/member and the byte count on the new printer name is 0. I VI the file and put /dev/null in to make it the correct size and it all looks fine and... (2 Replies)
Hello, I am currently dumping 30-40 reports on a Unix folder located here /home/apps/reports/prode/excel
I use K-shell to do this task. In that, I use the gzip command to compress these files. I want to be able to use a tar command to first load the entire directory into one file then gzip that... (2 Replies)
I don't know if I am asking this correctly, but I have a hard drive with some bad sectors and it appears that some of the data is corrupt. I am having allot of trouble copying the data to a new drive. The issue is not in copying files, but that the new drive to which files are copied is not acting... (17 Replies)
I am managing a linux cluster which has been build on Platform Cluster Manager PCM 1.2.1) from IBM Platform Computing. Unfortunately somebody deteled data files of postgresql from /var/lib directory. I somehow managed to start the postmaster service again, but all the administrative commands of... (2 Replies)
Discussion started by: ahsanpmd
2 Replies
LEARN ABOUT SUNOS
dad
dad(7D) Devices dad(7D)NAME
dad - driver for IDE disk devices
SYNOPSIS
dad@ target,lun:partition
DESCRIPTION
This driver handles the ide disk drives on SPARC platforms. The type of disk drive is determined using the ATA IDE identify device command
and by reading the volume label stored on block 0 of the drive. The volume label describes the disk geometry and partitioning; it must be
present or the disk cannot be mounted by the system.
The block-files access the disk using the system's normal buffering mechanism and are read and written without regard to physical disk
records. There is also a "raw" interface that provides for direct transmission between the disk and the user's read or write buffer. A
single read or write call usually results in one I/O operation; raw I/O is therefore considerably more efficient when many bytes are trans-
mitted. The names of the block files are found in /dev/dsk; the names of the raw files are found in /dev/rdsk.
I/O requests to the raw device must be aligned on a 512-byte (DEV_BSIZE) boundary and must have a length that is a multiple of 512 bytes.
Requests which do not meet the restrictions will cause the driver to return an EINVAL error. I/O requests to the block device have no
alignment or length restrictions.
Device Statistics Support
Each device maintains I/O statistics both for the device and for each partition allocated on that device. For each device/partition, the
driver accumulates reads, writes, bytes read, and bytes written. The driver also takes hi-resolution time stamps at queue entry and exit
points, which facilitates monitoring the residence time and cumulative residence-length product for each queue.
Each device also has error statistics associated with it. These must include counters for hard errors, soft errors and transport errors.
Other data may be implemented as required.
FILES
/dev/dsk/cntndnsn block files
/dev/rdsk/cntndnsn raw files
where:
cn controller n
tn IDE target id n (0-3)
dn Always 0.
sn partition n (0-7)
The target ide numbers are assigned as:
0 Master disk on Primary channel.
1 Slave disk on Primary channel.
2 Master disk on Secondary channel
3 Slave disk on Secondary channel.
IOCTLS
Refer to dkio(7I).
ERRORS
EACCES Permission denied.
EBUSY The partition was opened exclusively by another thread.
EFAULT The argument was a bad address.
EINVAL Invalid argument.
EIO An I/O error occurred.
ENOTTY This indicates that the device does not support the requested ioctl function.
ENXIO During opening, the device did not exist.
EROFS The device is a read-only device.
SEE ALSO format(1M), mount(1M), lseek(2), read(2), write(2), driver.conf(4), vfstab(4), dkio(7I)
X3T10 ATA-4 specifications.
DIAGNOSTICS
Command:<number>, Error:<number>, Status:<number>
Indicates that the command failed with an error and provides status register contents. Where <number> is a hexadecimal value.
offline
The driver has decided that the target disk is no longer there.
disk ok
The target disk is now responding again.
corrupt label - bad geometry
The disk label is corrupted.
corrupt label - label checksum failed
The disk label is corrupted.
corrupt label - wrong magic number
The disk label is corrupted.
disk not responding to selection
The target disk is not responding.
i/o to invalid geometry
The geometry of the drive could not be established.
incomplete read/write - retrying/giving up
There was a residue after the command completed normally.
no bp for disk label
A bp with consistent memory could not be allocated.
no memory for disk label
Free memory pool exhausted.
ATA transport failed: reason 'nnnn': {retrying|giving}
The host adapter has failed to transport a command to the target for the reason stated. The driver will either retry the command or,
ultimately, give up.
corrupt label - wrong magic number
The disk label is corrupted.
corrupt label - label checksum failed
The disk label is corrupted.
corrupt label - bad geometry
The disk label is corrupted.
no mem for property
Free memory pool exhausted.
transport rejected (<n>)
Host adapter driver was unable to accept a command.
Device Fault
There has been a Device Fault - reason for such error is vendor specific.
SunOS 5.10 15 Mar 2004 dad(7D)