Professional Documents
Culture Documents
Device Management
Device Management
Submitted by PRATHESH PK
Device terminology
Physical devices- actual hardware Ports-physical connector/adapter Device drivers-software in the kernel Logical devices-software interface/special files
Types of devices
Block devices - Structured random access device. - Buffering is used to acess. - Usually only disk file systems. - Eg: cd0 CD-ROM hdisk0 Physical Volume
Type of devices
Character devices: - Character device is a sequential, stream oriented device. - no buffering is required. -eg: tty0 Terminal tape devices
description
Most block devices also have an equivalent character device. hdisk0=rhdisko Devices has two numbers major number-software section code in the kernel minor number-particular device of that type
ls l /dev
Predefined devices: Information about all supported devices on AIX system. Customized devices: Information about all configured devices on the system.
Commands:
Device states
Configuring devices
Cfgmgr command Checks in predefined database(pdDv) Entry in the customized database(cuDv) Loads device driver into the AIX kernel Logical device entry in /dev
Device addressing
The location code for a device is information about where exactly is that devices connection in your machine.
Its a path from the adapter, through the bus and to the device. Location code is made up of 4 fields of information.
Device commands
Lsattr El sys0 list all attributes under sys0
adapter
Lscfg vpl ent0 shows location code,mac address Lscfg v manufacture,type, model etc.
THANK U