My Retain Tip/X Series

LINUX에서 DS나RAID추가시 SDA SDB변경되는 문제점

엔지니어-FIXER 2012. 7. 23. 13:15

리눅스에서 sda sdb가변경되는문제점

 

Hard disk 0 in UEFI is not reported as sda in Linux

 

Source

RETAIN tip: H204008

 

http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5088886

Symptom

When multiple ServeRAID adapters are installed, Hard Disk 0 in Unified Extensible Firmware Interface (UEFI) is not reported as sda in Linux.

Affected configurations

The system may be any of the following IBM servers:

  • System x3550 M2, type 4198, any model
  • System x3550 M2, type 7946, any model
  • System x3550 M3, type 4254, any model
  • System x3550 M3, type 7944, any model
  • System x3650 M2, type 4199, any model
  • System x3650 M2, type 7947, any model
  • System x3650 M3, type 4255, any model
  • System x3650 M3, type 7945, any model

The system is configured with at least one of the following:

  • Red Hat Enterprise Linux 5 Update 4, Update 5, Update 6
  • SUSE Linux Enterprise Server 10, any Service Pack
  • SUSE Linux Enterprise Server 11, any Service Pack

This tip is not option specific.

Note: This does not imply that the network operating system will work under all combinations of hardware and software.

Please see the compatibility page for more information: http://www.ibm.com/systems/info/x86servers/serverproven/compat/us/

Workaround

  1. Install Linux on the disk array of a ServeRAID adapter located on a PCI-E riser card instead of one located in a PCI-E slot dedicated for Redundant Array of Independent Disks (RAID).
  2. In UEFI, set HD1 as the first boot device.

Additional information

The UEFI POST PCI scan order is as follows:

  1. Video Basic Input/Output System (BIOS) (fixed)
  2. system board Ethernet 1 Preboot eXecution Environment (PXE) (fixed)
  3. system board Ethernet 2 PXE (fixed)
  4. system board Serial Attached SCSI (SAS), or PCIe slot dedicate for RAID, Default setting for PCI Device Boot Priority
  5. Slot 1
  6. Slot 2
  7. Slot 3
  8. Slot 4

Red Hat Enterprise Linux 5 (RHEL5) and SUSE Linux Enterprise Server (SLES) 10.0 or 11.0 Linux kernel scan order is as follows:

  1. Slot 1
  2. Slot 2
  3. Slot 3
  4. Slot 4
  5. system board SAS, or PCIe slot dedicate for RAID, Default setting for PCI Device Boot Priority.

UEFI and Linux scan orders are different, preventing the disk array from being mapped as sda in Linux.

 

 

해결법은 나와있는데 해본사람이 없는 불편한진실

 

일단 해석을 하자면 새로설치해야하는것 같고

추가된 RAID카드에 있는 어레이에 리눅스가 설치되어야하고

순서 변경해주면 이젠잘된다고 하네요

 

리눅스 랑 UEFI가 부팅 순서를 가져오는게 달라서 생기는 문제네요.

 

오랜문제가 해결되어서 다행 ㅎㅎ