Prepare a PCIe Card For Removal
bw-percent = 0
...
/SYS/CMIOU9/PCIE2/IOVFC.PF0.VF3 VF pci_45 ldg4
[pci@32d/pci@1/SUNW,qlc@0,5]
Class properties [FIBRECHANNEL]
port-wwn = 10:00:00:14:4f:fb:27:29
node-wwn = 20:00:00:14:4f:fb:27:29
bw-percent = 0
#
2.
Save the current I/O configuration.
Before removing any virtual functions, save the original configuration in a file you can use to
restore the configuration after you replace the card.
# ldm ls-io slot-name>file-name
where:
â–
slot-name is a format similar to /SYS/CMIOU9/PCIE2
â–
file-name is a format similar to /var/tmp/before_removal.txt
3.
Identify the names of the virtual functions you need to remove from the I/O
domains.
Display these details from the backup file you created in the previous step, for example:
# cat /var/tmp/before_removal.txt
NAME TYPE BUS DOMAIN STATUS
---- ---- --- ------ ------
/SYS/CMIOU9/PCIE2 PCIE pci_45 primary OCC
/SYS/CMIOU9/PCIE2/IOVFC.PF0 PF pci_45 primary
/SYS/CMIOU9/PCIE2/IOVFC.PF1 PF pci_45 primary
/SYS/CMIOU9/PCIE2/IOVFC.PF0.VF0 VF pci_45 ldg4
/SYS/CMIOU9/PCIE2/IOVFC.PF0.VF1 VF pci_45 ldg4
/SYS/CMIOU9/PCIE2/IOVFC.PF0.VF2 VF pci_45 ldg4
/SYS/CMIOU9/PCIE2/IOVFC.PF0.VF3 VF pci_45 ldg4
4.
Remove all virtual functions of the card from all I/O domains listed by the cat
command.
Typically, a card has two or more physical functions, so you must ensure that all virtual
functions from all physical functions are removed from the I/O domains. As shown in the
preceding example, these virtual functions are indicated under the TYPE column as VF.
Note - You can remove virtual functions dynamically without shutting down the domains.
152 SPARC M8 and SPARC M7 Servers Service Manual • September 2017