Sponsored Content
Full Discussion: Disk inconsistency
Top Forums UNIX for Dummies Questions & Answers Disk inconsistency Post 302096870 by Carmen123 on Monday 20th of November 2006 05:38:35 AM
Old 11-20-2006
Disk inconsistency

Hi, it seems I've got an hw error on more than one device.
I use an AIX 5.2.
this is the problem desc.

Description
DISK OPERATION ERROR

Probable Causes
DASD DEVICE

Failure Causes
DISK DRIVE
DISK DRIVE ELECTRONICS

I wish to read the SYSLOG file, where is it ?

tk
 

10 More Discussions You Might Find Interesting

1. Ubuntu

packet inconsistency problem

Hello everyone, I was trying to install db2 on Ubuntu, but got messed up with manual installation and Synaptic. At the moment, I find myself with a filesystem where DB2 is NOT installed ( I removed it with a sudo rm :o ) and with Synaptic still flagging db2exc as installed. The problem is that... (1 Reply)
Discussion started by: clalfa
1 Replies

2. HP-UX

Backspace stty inconsistency

I have this in my .profile: stty erase `tput kbs` which sets erase to ^H for a vt and ^? for an xterm. This has been fine up until now on all systems whether I login using a vt terminal emulator or an xterm. On this new system though, if I log in directly using an xterm, backspace doesn't... (1 Reply)
Discussion started by: Runrig
1 Replies

3. UNIX for Dummies Questions & Answers

File System inconsistency

:mad: Dear All, Here I am sending the error msg that come to to the terminal when I attempt to start my linux redhat 2.4.18-3 system. cheking file system /boot clean /home : clean /usr :containing file system with errors,check forced error reading block 35924(attempt to... (3 Replies)
Discussion started by: callitdctr
3 Replies

4. Shell Programming and Scripting

Variable value inconsistency on BASH and CSH

May God never give you the bane of working on Solaris. Now, I am trying to run this simple shell script: #!/bin/sh input="a b c" data="123" while read eachline do data="$data$eachline" done << EOF $(echo "$input") EOF... (2 Replies)
Discussion started by: pavanlimo
2 Replies

5. Shell Programming and Scripting

'find' command inconsistency

I am seeing a strange behavior of the 'find' command on AIX. As you can see, the find command sometimes finds the file and sometimes does not based on how many characters I specified between the wildcards. I know all of these issues can be resolved by using double quotes like "*est*". But I... (3 Replies)
Discussion started by: soleil4716
3 Replies

6. UNIX for Dummies Questions & Answers

Inconsistency between passwd and group

Hi, I have a passwd file with 3 users belonging to the the root group (gid=0), but the group file does not list these users as members of the root group? Shoud I be worried and apart from manually changing it, how can it be remediated? thx Norgaard (1 Reply)
Discussion started by: Norgaard
1 Replies

7. Red Hat

file system inconsistency

here in one of the server the lvol4 is having 20G and used space is 181M but it showing 98% used kindly advice any one can i run fsck -y after unmounted that lvol4 /dev/mapper/vg01-lvol4 20G 19G 418M 98% /var/opt/fedex aymara.emea $ du -sh /var/opt/fedex/... (3 Replies)
Discussion started by: venikathir
3 Replies

8. Solaris

VCS Crashing due to inconsistency in opt (managed by VxvM)

We have a Sun Server running Solaris 10 and Veritas Cluster Server. The RAID Volumes in the Server (/ , swap, opt, var, usr) are managed by VxVm and UFS is grown on all these volumes. Lately the system has been crashing due to an inconsistency in the opt filesystem. Upon reboot we did a fsck on... (1 Reply)
Discussion started by: aji1729
1 Replies

9. Solaris

Svccfg listprop, inconsistency in service property

hi all, Please see below -> bash-3.2# svccfg svc:> select network/http svc:/network/http> select apache2 svc:/network/http:apache2> listprop httpd application httpd/stability astring Evolving httpd/ssl boolean true ... (0 Replies)
Discussion started by: javanoob
0 Replies

10. Linux

Inconsistency with parallel run

Hi All, I am running a parallel processing on aggregating a file. I am splitting the process into 7 separate parallel process and processing the same input file and the process will do the same for each 7 run. The issue I am having is for some reason the 1st parallel processes complete first... (7 Replies)
Discussion started by: arunkumar_mca
7 Replies
DISK(9) 						   BSD Kernel Developer's Manual						   DISK(9)

NAME
disk -- kernel disk storage API SYNOPSIS
#include <geom/geom_disk.h> struct disk * disk_alloc(void); void disk_create(struct disk *disk, int version); void disk_gone(struct disk *disk); void disk_destroy(struct disk *disk); DESCRIPTION
The disk storage API permits kernel device drivers providing access to disk-like storage devices to advertise the device to other kernel com- ponents, including GEOM(4) and devfs(5). Each disk device is described by a struct disk structure, which contains a variety of parameters for the disk device, function pointers for various methods that may be performed on the device, as well as private data storage for the device driver. In addition, some fields are reserved for use by GEOM in managing access to the device and its statistics. GEOM has the ownership of struct disk, and drivers must allocate storage for it with the disk_alloc() function, fill in the fields and call disk_create() when the device is ready to service requests. disk_gone() orphans all of the providers associated with the drive, setting an error condition of ENXIO in each one. In addition, it prevents a re-taste on last close for writing if an error condition has been set in the provider. After calling disk_destroy(), the device driver is not allowed to access the contents of struct disk anymore. The disk_create() function takes a second parameter, version, which must always be passed DISK_VERSION. If GEOM detects that the driver is compiled against an unsupported version, it will ignore the device and print a warning on the console. Descriptive Fields The following fields identify the disk device described by the structure instance, and must be filled in prior to submitting the structure to disk_create() and may not be subsequently changed: u_int d_flags Optional flags indicating to the storage framework what optional features or descriptions the storage device driver supports. Cur- rently supported flags are DISKFLAG_NEEDSGIANT (maintained by device driver), DISKFLAG_OPEN (maintained by storage framework), DISKFLAG_CANDELETE (maintained by device driver), and DISKFLAG_CANFLUSHCACHE (maintained by device driver). const char * d_name Holds the name of the storage device class, e.g., ``ahd''. This value typically uniquely identifies a particular driver device, and must not conflict with devices serviced by other device drivers. u_int d_unit Holds the instance of the storage device class, e.g., ``4''. This namespace is managed by the device driver, and assignment of unit numbers might be a property of probe order, or in some cases topology. Together, the d_name and d_unit values will uniquely identify a disk storage device. Disk Device Methods The following fields identify various disk device methods, if implemented: disk_open_t * d_open Optional: invoked when the disk device is opened. If no method is provided, open will always succeed. disk_close_t * d_close Optional: invoked when the disk device is closed. Although an error code may be returned, the call should always terminate any state setup by the corresponding open method call. disk_strategy_t * d_strategy Mandatory: invoked when a new struct bio is to be initiated on the disk device. disk_ioctl_t * d_ioctl Optional: invoked when an I/O control operation is initiated on the disk device. Please note that for security reasons these opera- tions should not be able to affect other devices than the one on which they are performed. dumper_t * d_dump Optional: if configured with dumpon(8), this function is invoked from a very restricted system state after a kernel panic to record a copy of the system RAM to the disk. Mandatory Media Properties The following fields identify the size and granularity of the disk device. These fields must stay stable from return of the drivers open method until the close method is called, but it is perfectly legal to modify them in the open method before returning. u_int d_sectorsize The sector size of the disk device in bytes. off_t d_mediasize The size of the disk device in bytes. u_int d_maxsize The maximum supported size in bytes of an I/O request. Requests larger than this size will be chopped up by GEOM. Optional Media Properties These optional fields can provide extra information about the disk device. Do not initialize these fields if the field/concept does not apply. These fields must stay stable from return of the drivers open method until the close method is called, but it is perfectly legal to modify them in the open method before returning. u_int d_fwsectors, u_int d_fwheads The number of sectors and heads advertised on the disk device by the firmware or BIOS. These values are almost universally bogus, but on some architectures necessary for the correct calculation of disk partitioning. u_int d_stripeoffset, u_int d_stripesize These two fields can be used to describe the width and location of natural performance boundaries for most disk technologies. Please see src/sys/geom/notes for details. char d_ident[DISK_IDENT_SIZE] This field can and should be used to store disk's serial number. Driver Private Data This field may be used by the device driver to store a pointer to private data to implement the disk service. void * d_drv1 Private data pointer. Typically used to store a pointer to the drivers softc structure for this disk device. SEE ALSO
GEOM(4), devfs(5) AUTHORS
This manual page was written by Robert Watson. BSD
February 18, 2004 BSD
All times are GMT -4. The time now is 07:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy