티스토리 뷰
가끔 리눅스 서버의 장애로
네트워크 카드를 교체 하거나 위치가 바뀌어 기존 eth0 이 3으로 eth1 이 2로 바뀌어 서비스가 안올라 오는 문제가 종종 생겼다.
원인은 etc/udev/70-persistent-net.rules 파일에 저장된 nic 의 이름과 Macaddress 가 서로 엉켜서 생기는 문제인데
이 파일을 수정하여 해결이 가능하다 ..
가끔 이런 메시지의 에러다 ㅋ
root> service network restart
라고 치면
디바이스가 없다고 뜨지 안나?
root> vi /etc/udev/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device xxxxxxxxxxxxxx (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="55:66:35:76:28:93", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device xxxxxxxxxxxxxx (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="99:66:55:44:55:66", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device xxxxxxxxxxxxxx (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:22:33:66:77", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
그전에 확인 할게
###>dmesg | grep -i eth
# lspci (-v)
# lsmod
해당 명령어로 확인 합시다.
'Redhat Lunix' 카테고리의 다른 글
rhel booting error , 커널패치 후 os lvm인식이 안되고 dracut shell 로 떨어질때 (0) | 2018.07.29 |
---|---|
리눅스에서 i/o scan 과 같은 명령어 (0) | 2018.07.25 |
Device Mapper Lun 삭제와 안될 경우 참고 (0) | 2018.07.25 |
- Total
- Today
- Yesterday
- IOMeter
- hpe g9
- G9
- remotecopy
- lun삭제
- 리눅스
- HPE
- 원도우 서버 원격 종료
- 디스크성능분석
- gcc 4.8.5
- 3par
- i/oscan
- 성능분석
- 멀티매스
- devicemapper
- Linux
- 디스크성능
- dracutshell
- hp서버에 vmware
- 네트워크카드인식안될때
- 원격 리부팅
- lundelete
- rhel
- 멀티패스
- redhat gcc
- Environment Modules
- linux module
- gcc 9.1.0
- 네트워크카드
- multipath
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |