FRU Replacement Guide
4 Storage Node Replaceable Units
54
a) Run the following command:
Tip:
Check the hardware paths in the command below, as they might be different on the new
chassis.
root@HGST-S3-DC01-R01-SN06:
for add in `ls /sys/devices/pci*/*/*/net/*/
address`; do echo $add; cat $add; done
For example, the output of the above command looks like this:
/sys/devices/pci0000:00/0000:00:02.0/
0000:02:00.0
/net/
eth0
/address
90:e2:ba:7e:b8:30
/sys/devices/pci0000:00/0000:00:02.0/
0000:02:00.1
/net/
eth1
/address
90:e2:ba:7e:b8:31
/sys/devices/pci0000:00/0000:00:1c.4/
0000:07:00.0
/net/
eth2
/address
0c:c4:7a:33:38:10
/sys/devices/pci0000:00/0000:00:1c.4/
0000:07:00.1
/net/
eth3
/address
0c:c4:7a:33:38:11
Tip:
As an alternative to the command above, you can use the command below to print only the
serial bus paths and MAC addresses in uppercase.
for add in `ls /sys/devices/pci*/*/*/net/*/address`; do echo -en
"`echo $add|sed 's/\// /g' | awk '{print $5}'`\t"; cat $add|tr 'a-f'
'A-F'; done
b) Compare the output of the command above to the contents of the file
/etc/udev/rules.d/70-
persistent-net.rules
.
For example, the contents of this file look like this:
root@HGST-S3-DC01-R01-SN06:~# cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", KERNELS=="
0000:02:00.0
", KERNEL=="eth*",
NAME="
eth0
"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="
0000:02:00.1
", KERNEL=="eth*",
NAME="
eth1
"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="
0000:07:00.0
", KERNEL=="eth*",
NAME="
eth2
"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="
0000:07:00.1
", KERNEL=="eth*",
NAME="
eth3
"
If they do not match, update
/etc/udev/rules.d/70-persistent-net.rules
to match the output
of the command above, then reboot the node again.
reboot