Friday, September 19, 2008

Solaris when LUN dynamically removed JNI

When the driver dynamically removes a LUN, not all references to that
LUN are removed. This is because the file system nodes in the
/dev/dsk and /dev/rmt directories are scanned to show the devices.
However, when devices are removed dynamically via EZ Fibre or the
jnic146x_update_drv command, only the kernel device nodes are
removed. To remove the actual file system nodes, execute the
following command:

#devfsadm -C -v

No comments:

UNIX: How to print column nicely using printf

[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...