10 More Discussions You Might Find Interesting
1. AIX
Hello Friends,
My question/problem is that I noticed 2 servers in my environment vscsi is showing up as defined (not available) or is defined and not showing the path to both vscsi's when ruining lspath command. I am new to AIX admin, work alone, and work in an small environment. My question is,... (12 Replies)
Discussion started by: Adnans2k
12 Replies
2. AIX
If you're familiar with vscsi mappings thru a VIO Server, you are probably aware, on an AIX 6.1 Client LPAR, that:
print cvai | kdbcan provide useful information to you.... like VIO Server name & vhost #. But, "cvai" does not appear to be part of the Kernel Debugger in AIX 5.3.
My question is... (3 Replies)
Discussion started by: The Doctor
3 Replies
3. AIX
Hello,
I have a VIOS System and would like to do mapping some hdisks, hdisk160 until hdisk165 to a vSCSi Adapter. I try to do this in the oem_setup_env like the following:
for i in $(lspv | grep hdisk* | awk {'print $1'};
do
mkdev -V $i -p vhost20
done
There where a mapping with... (4 Replies)
Discussion started by: torsten163
4 Replies
4. AIX
Hi,
I want to change from vscsi to npiv. Is it possible to use both on the same adapter, so we can change the systems one by one, or must we place a second FC adapter in the VIO servers?
Thanks,
Ronald (2 Replies)
Discussion started by: ronaldm60
2 Replies
5. AIX
Hi All,
I'm preparing to migrate some servers from vscsi to pass-thru NPIV. I am planning to have the SAN team move the exact LUNs from vio1/vio2 to those two VWWN through NPIV.
My question is on the partition itself.. right now, let's say I have hdisk0/1/2/3/4 that are part of datavg. They... (2 Replies)
Discussion started by: lapfrank
2 Replies
6. UNIX for Advanced & Expert Users
Hi people,
Does anyone know how the AIX form the hdisk addresses ? I mean, if the AIX use the SAN fields like switch id, domain id, port id and etc...
After I understand that my next question is: Why the AIX do not change the hdisks addressing if I change the AIX HBAs of the SAN switch and/or... (1 Reply)
Discussion started by: rapina
1 Replies
7. AIX
Good evening ...
does anyone of you know how to change major/minor numbers of disk devices ?
I had to migrate from raid1 to raid5 and this messed up my ASM cluster - I know which devices should have which IDs to match the content - but I have no idea how to change it.
Any help would be... (2 Replies)
Discussion started by: zxmaus
2 Replies
8. AIX
Hello,
I am trying to "deinstall devices.fcp.disk.array.rte" fileset from an AIX5.3 box. Have been unsuccessful so far. "smit remove" threw the below error:
FAILURES
--------
Filesets listed in this section failed pre-deinstall verification
and will not be removed.
... (2 Replies)
Discussion started by: ronykris
2 Replies
9. UNIX for Dummies Questions & Answers
I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment.
As an example, we have a tape library and giving the command
"camcontrol devlist" gives the following output:
akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies
10. Solaris
I'm trying to mirror 2 eide disks on a solaris 10 x86 system.
Im trying to use the prtvtoc | fmthard command to mirror the vtoc.
How do they represent the entire disk like in solaris 9 (c0t0d0s2 = entire device)
0. c0d0 <DEFAULT cyl 26497 alt 2 hd 16 sec 63>
... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
cfg_attr_t(9s) cfg_attr_t(9s)
NAME
cfg_attr_t - General: Contains information for managing the loading and unloading of kernel modules
SYNOPSIS
typedef struct cfg_attr {
char name[CFG_ATTR_NAME_SZ];
uchar type;
uchar operation;
uint status;
long index;
union {
struct {
caddr_t val;
ulong min_size;
ulong max_size;
void (*disposal)();
ulong val_size;
} bin;
struct {
caddr_t val;
ulong min_len;
ulong max_len;
void (*disposal)();
} str;
struct {
ulong val;
ulong min_val;
ulong max_val;
} num;
} attr; } cfg_attr_t;
MEMBERS
Specifies the ASCII name of the attribute. The name must be between 2 and CFG_ATTR_NAME_SZ characters in length, including the terminating
null character. Do not begin the ASCII name of the attribute with the Method_ or Device_ characters. The cfgmgr framework reserves certain
names that begin with the Method_ and Device_ characters. Specifies the data type associated with the name attribute. See the DESCRIPTION
section for the constants you can pass to the type member. Specifies the operations that the cfgmgr framework can perform on the
attribute. See the DESCRIPTION section for the constants you can pass to the operation member. Stores the return code from operations
(configure, unconfigure, query) that the cfgmgr framework performs. See the DESCRIPTION section for the operation codes that the cfgmgr
framework can return to the status member. Stores a value that scopes the target for indexed attributes. Specifies a union of the possi-
ble attribute types used for storing values, kernel locations, validation criteria, and disposal routines. The cfgmgr framework uses the
appropriate union element according to the attribute type. For example, attributes of type CFG_ATTR_ULONGTYPE use the union element num.
DESCRIPTION
The cfg_attr_t data structure contains information for managing the configuring and unconfiguring of kernel modules. The cfgmgr framework
passes a pointer to this data structure to the kernel module's configure routine. The kernel module can parse this structure pointer to
check the validity of the values associated with the module's associated sysconfigtab file fragment and the /etc/sysconfigtab database.
You must set the type member to one of the following constants: Data type is a null-terminated array of characters. Data type is a 32-bit
signed integer. Data type is a 32-bit unsigned integer. Data type is a 64-bit signed integer. Data type is a 64-bit unsigned integer.
Data type is an array of bytes. Data type is an 8-bit unsigned character. Data type is a 16-bit unsigned short integer.
You can set the operation member to one of the following constants: The cfgmgr framework configures the attribute. This means the cfgmgr
framework obtains a data value for the attribute from the /etc/sysconfigtab database. The configure operation occurs when the cfgmgr frame-
work calls the configure routine at its CFG_OP_CONFIGURE entry point. (That is, the optype argument of the configure routine evaluates to
the CFG_OP_CONFIGURE constant.) The cfgmgr framework queries (reads) the attribute. This means the kernel module cooperates with the cfg-
mgr framework to provide the value associated with the attribute as a result of user-initiated query requests. These requests are typically
the result of the sysconfig -q command. The query operation occurs when the cfgmgr framework calls the configure routine at its
CFG_OP_QUERY entry point. (That is, the optype argument of the configure routine evaluates to the CFG_OP_QUERY constant.) The cfgmgr
framework reconfigures the attribute. This means the cfgmgr framework reconfigures the data value for the attribute. This functionality
allows a user to modify the attribute. A reconfigure request is typically the result of the sysconfig -r command. The reconfigure opera-
tion occurs when the cfgmgr framework calls the configure routine at its CFG_OP_RECONFIGURE entry point. (That is, the optype argument of
the configure routine evaluates to the CFG_OP_RECONFIGURE constant.)
The cfgmgr framework can return one of the following operation codes: Successful operation. The attribute you specified in the name member
does not exist. The attribute you specified in the name member does not support the operation. The subsystem failed. The value or size
of the attribute you specified in the name member is too small. The value or size of the attribute you specified in the name member is too
large. The data type that you specified for the attribute you specified in the name member is invalid or is a mismatch. The index associ-
ated with the attribute that you specified in the name member is invalid. The cfgmgr framework could not allocate memory for the specified
attribute. The attribute that you specified in the name member cannot be converted to a number.
FILES
SEE ALSO
Data Structures: cfg_subsys_attr_t(9s)
cfg_attr_t(9s)