
나는 Linux 커널을 만들었고 어떤 이유로 부팅 시 항상 추가 드라이브가 추가됩니다.
내 하드 드라이브는 다음과 같이 표시됩니다 /dev/sdb
. /dev/sda
도 생성되며 크기는 8MB입니다. 이것을 생성하는 커널 구성에서는 아무 것도 찾을 수 없지만, 다른 커널을 사용하면 거기에 없습니다. 커널 로그에는 연결된 SCSI 장치로 표시되며 내 하드 드라이브와 비슷하지만 크기가 8MB에 불과하고 파티션 테이블이 없습니다. 또한 물리적 장치가 아닌 것 같습니다. 저는 다양한 PC 모델에서 커널을 사용해 보았지만 항상 그 자리에 있었습니다.
제거하는 방법 아시는 분 계신가요?
/dev/disk/by-id
나에게 제공 :
scsi-1AMCC_U21413034D98EB000584
scsi-1AMCC_U21413034D98EB000584-part1
scsi-353333330000007d0
scsi-SATA_ST3250312AS_5VY7SH42
scsi-SATA_WDC_WD800JD-60L_WD-WMAM9Y085675
scsi-SATA_WDC_WD800JD-60L_WD-WMAM9Y085675-part1
scsi-SATA_WDC_WD800JD-60L_WD-WMAM9Y085675-part2
hdparm -i /dev/sda
나에게 "잘못된 인수"를 제공합니다.
dd if=/dev/sda of=sda.img
결과 파일에는 내용이 없습니다
sdparm results:
/dev/sda: Linux scsi_debug 0004 Device identification VPD page: Addressed logical unit: designator type: T10 vendor identification, code set: ASCII vendor id: Linux vendor specific: scsi_debug 2000 designator type: NAA, code set: Binary 0x53333330000007d0 Target port: designator type: Relative target port, code set: Binary transport: Serial Attached SCSI (SAS) Relative target port: 0x1 designator type: NAA, code set: Binary transport: Serial Attached SCSI (SAS) 0x52222220000007ce designator type: Target port group, code set: Binary transport: Serial Attached SCSI (SAS) Target port group: 0x100 Target device that contains addressed lu: designator type: NAA, code set: Binary transport: Serial Attached SCSI (SAS) 0x52222220000007cd designator type: SCSI name string, code set: UTF-8 transport: Serial Attached SCSI (SAS) SCSI name string: naa.52222220000007CD
답변1
아마도 당신은SCSI 디버그 장치커널을 만드는 동안?