Prepare a PCIe Card For Removal
8.
Verify that the backup file stored the correct configuration information.
Display the details from the backup file you created in the previous step, for example:
# cat /var/tmp/vf_config.txt
NAME TYPE BUS DOMAIN STATUS
---- ---- --- ------ ------
pci_45 BUS pci_45 primary IOV
[pci@32d]
/SYS/CMIOU9/PCIE2 PCIE pci_45 primary OCC
[pci@32d/pci@1]
SUNW,qlc@0/fp/disk
SUNW,qlc@0/fp@0,0
SUNW,qlc@0,1/fp/disk
SUNW,qlc@0,1/fp@0,0/ssd@w20350080e518b846,1f
fibre-channel@0,2
fibre-channel@0,3
fibre-channel@0,4
fibre-channel@0,5
...
/SYS/CMIOU9/PCIE2/IOVFC.PF0.VF0 VF pci_45 ldg4
[pci@32d/pci@1/SUNW,qlc@0,2]
Class properties [FIBRECHANNEL]
port-wwn = 10:00:00:14:4f:f8:74:85
node-wwn = 20:00:00:14:4f:f8:74:85
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
#
9.
Destroy the virtual functions in all physical functions of the card.
You can do this dynamically while the root domain is running.
# ldm destroy-vf -n max physical-function-name
where physical-function-name is a format similar to /SYS/CMIOU9/PCIE2/IOVFC.PF0.
10.
Verify that the virtual functions were removed from all physical functions of the
card.
Display the details for the slot, for example:
154 SPARC M8 and SPARC M7 Servers Service Manual • September 2017