Let say currently you have hdisk0 -hdisk8, and you want the new disks to start with number 10 instead of hdisk9.
You can create a dummy disk device with the name hdisk9:
# mkdev -l hdisk9 -p dummy -c disk -t hdisk -w 0000
Note that running the command above may result in an error. However, if you run the following command afterwards, you will notice that the dummy disk device indeed has been created:
# lsdev -Cc disk | grep -w hdisk9
hdisk9 Defined SSA Logical Disk Drive
Now run the cfgmgr command to discover the new disk. You’ll notice that the new disk will now be discovered as hdisk10.
You can choose to remove the dummy disk device.
# rmdev -dl hdisk1
A little toolset IBM has provided for checking if SAN port/ FC adapter / cable are broken, it is really handy if you are working remotely.
1. Download efc_power.tar file or request the latest version from IBM support.
Direct Link: efc_power
2. Upload it to the server and untar it.
tar xvf efc_power.tar
3. Add executable permission to efc_power file.
chmod +x efc_power
4. Run the command againt the desired fscsix as root:
TX: 0eda -> 0.3802 mW, -4.20 dBm
RX: 0c68 -> 0.3176 mW, -4.98 dBm
The efc_power program to measure the transmit (TX) and RX (receive) strength. They stated it works with most Emulex fiber cards. If a server reports the TX less than -10, then the card is probably bad. If the RX is less than -10, then cabling or the SAN port is probably bad.
You want to modify the default value of hcheck_mode from nonactive to enabled for PCM/friend/vscsi in the PdAt ODM class.
Here is the current deflt value:
# odmget -q 'attribute = hcheck_mode and uniquetype = PCM/friend/vscsi' PdAt
uniquetype = "PCM/friend/vscsi"
attribute = "hcheck_mode"
deflt = "nonactive"
values = "enabled,failed,nonactive"
width = ""
type = "R"
generic = "DU"
rep = "sl"
nls_index = 6
One line command to change:
First, you should also make sure you have backup:
# odmget PdAt > /tmp/PdAtbackup_$(date +%Y%m%d)
odmget -q 'attribute = hcheck_mode AND uniquetype = PCM/friend/vscsi' PdAt \
| sed 's/deflt = \"nonactive\"/deflt = \"enabled\"/' \
| odmchange -o PdAt -q 'attribute = hcheck_mode AND uniquetype = PCM/friend/vscsi'