I have never wondered where is the mapping of the link names to physical device path display under
until today.
fmadm list reported nic port failure and i am trying to mapped it to the correct linkname in dladm show-link / dladm show-phys to see if the link is actually up and running or down.
I remember it used to be under /etc/dladm/ , so i went to list it
Everything has a .obsolete tag behind and i remember that i have recently updated to 11.4
So i went back to mount my old 11.3 boot environment and realize those files in the same path doesn't have a .obsolete behind.
So long story short,
a) do you guys on 11.4 have these .obsolete files as well ?
b) if these files are obsolete, where does 11.4 store these link-to-device information now ?
Regards,
Noob
Last edited by javanoob; 10-29-2018 at 02:43 PM..
Reason: clarity
hi experts,
i had create wrong symbolic link on my server use this ln -s /opt/EBS /export/home/EBS, cause i had create an EBS directory on /export/home/EBS/ so the command ln create EBS directory on /export/home/EBS/EBS/....
how to remove the EBS that had created by ln command ?
thank you... (1 Reply)
Thanks to DukeNuke for the suggestion of dladm before. I was able to upgrade my machine to Solaris 10. I am checking out the sue of dladm, but I am a bit confused. In order to team 2 NIC ports together on my qud ethernet card do I just do this:
dladm create aggr -d ce0 -d ce1 key
Do I need to... (1 Reply)
Can anyone reference me where I can find info
or if someone knows the mapping of Solaris kernel parameters to HP-UX 11i v2 O/S on Integrity server?
Your response would be greatly appreciated.
Thanks.
-Lou :) (1 Reply)
Hi All,
Can any body guide me towards the x86 link? I need to understand the disk slice and booting sequences in x86 as I have to give my SA1.
Please help. (4 Replies)
Greetings
how can i remove an interface from dladm?
i want to remove ce3 and ce4 which are not even plumbed but still shown in dladm output :(
dladm show-dev
ce0 link: unknown speed: 1000 Mbps duplex: full
ce1 link: unknown speed: 1000 Mbps duplex:... (3 Replies)
Can anyone please explain what does these means ?
# dladm show-dev
nxge0 link: up speed: 1000 Mbps duplex: full
nxge1 link: up speed: 1000 Mbps duplex: full
e1000g0 link: up speed: 1000 Mbps duplex: full
e1000g1 ... (6 Replies)
hello everyone, I'm a new user and unix-beginner.
I've just installer solaris 11 on my home server, disabled some services, created a fallback BE, enabled speedstep, etc
and now I'm trying to create some zones. I'd like to have an exclusive ip zone and, as far as I know, I sould assignate it... (12 Replies)
Hello,
I do not know if this is the right title to use. I have a large dictionary database which has the following structure:
where a b c d e are in English and p q r s t are in a target language., the two separated by the delimiter =.
What I am looking for is a perl script which will take... (5 Replies)
Is there a way by which we could map Oracle SGA memory into physical files in solaris.
We could find these physical files in /dev/shm/ folder in linux environment but they are missing in solaris. (1 Reply)
Discussion started by: arjun_chauhan
1 Replies
LEARN ABOUT OPENSOLARIS
di_walk_minor
di_walk_minor(3DEVINFO) Device Information Library Functions di_walk_minor(3DEVINFO)NAME
di_walk_minor - traverse libdevinfo minor nodes
SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ]
#include <libdevinfo.h>
int di_walk_minor(di_node_t root, const char *minor_nodetype,
uint_t flag, void *arg, int (*minor_callback)(di_node_t node,
di_minor_t minor, void *arg));
PARAMETERS
arg Pointer to caller- specific user data.
flag Specify 0. Reserved for future use.
minor The minor node visited.
minor_nodetype A character string specifying the minor data type, which may be one of the types defined by the Solaris DDI framework,
for example, DDI_NT_BLOCK. NULL matches all minor_node types. See ddi_create_minor_node(9F).
node The device node with which to the minor node is associated.
root Root of subtree to visit.
DESCRIPTION
The di_walk_minor() function visits all minor nodes attached to device nodes in a subtree rooted at root. For each minor node that matches
minor_nodetype, the caller-supplied function minor_callback() is invoked. The walk terminates immediately when minor_callback() returns
DI_WALK_TERMINATE.
RETURN VALUES
Upon successful completion, di_walk_minor() returns 0. Otherwise, -1 is returned and errno is set to indicate the error.
The minor_callback() function returns one of the following:
DI_WALK_CONTINUE Continue to visit subsequent minor data nodes.
DI_WALK_TERMINATE Terminate the walk immediately.
ERRORS
The di_walk_minor() function will fail if:
EINVAL Invalid argument.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO dladm(1M), di_minor_nodetype(3DEVINFO), dlpi_walk(3DLPI), libdevinfo(3LIB), attributes(5), filesystem(5), ddi_create_minor_node(9F)
Writing Device Drivers
NOTES
The di_walk_minor() function is no longer an accurate method for walking network datalink interfaces on the system. Applications should use
dlpi_walk(3DLPI) instead. It has been common for applications to use di_walk_minor() to walk networking devices by passing in a minor_node-
type of DDI_NT_NET, in most cases to discover the set of DLPI devices on the system. Solaris now makes a layering distinction between net-
working devices (the objects displayed in the DEVICE field by dladm show-phys) and network datalink interfaces (the objects displayed by
dladm show-link). Datalink interfaces are represented as the set of DLPI device nodes that applications can open by using dlpi_open(3DLPI)
or by opening DLPI nodes out of the /dev/net filesystem (see filesystem(5)). The dlpi_walk(3DLPI) function is the proper function to walk
these nodes.
SunOS 5.11 14 Jan 2009 di_walk_minor(3DEVINFO)