我正在经历从 520 字节到 4096 本机字节扇区的 sg_format 低级格式化 - 在此过程中,系统断电,服务器严重崩溃。现在在内核中,我收到以下错误,现在我无法获取 /dev 设备来尝试再次重试低级格式化。
有什么帮助吗?
Aug 28 14:15:48 nas kernel: hpsa 0000:03:00.0: Acknowledging event: 0x80000002 (HP SSD Smart Path configuration change)
Aug 28 14:15:48 nas kernel: hpsa 0000:03:00.0: scsi 0:0:6:0: added Direct-Access SAMSUNG P043S1T9 EMC1920 PHYS DRV SSDSmartPathC ap- En- Exp=1
Aug 28 14:15:48 nas kernel: hpsa can't handle SMP requests
Aug 28 14:15:48 nas kernel: scsi 0:0:6:0: Direct-Access SAMSUNG P043S1T9 EMC1920 ESFA PQ: 0 ANSI: 7
Aug 28 14:15:48 nas kernel: sd 0:0:6:0: [sde] 468975616 4096-byte logical blocks: (1.92 TB/1.75 TiB)
Aug 28 14:15:48 nas kernel: sd 0:0:6:0: Attached scsi generic sg8 type 0
Aug 28 14:15:48 nas kernel: sd 0:0:6:0: [sde] Write Protect is off
Aug 28 14:15:48 nas kernel: sd 0:0:6:0: [sde] Write cache: enabled, read cache: enabled, supports DPO and FUA
Aug 28 14:15:48 nas kernel: sd 0:0:6:0: [sde] Attached SCSI disk
Aug 28 14:15:49 nas kernel: hpsa 0000:03:00.0: CDB 28001bf3fff000000100000000000000 : protocol error
Aug 28 14:15:49 nas kernel: sd 0:0:6:0: [sde] tag#775 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s
Aug 28 14:15:49 nas kernel: sd 0:0:6:0: [sde] tag#775 CDB: Read(10) 28 00 1b f3 ff f0 00 00 01 00
Aug 28 14:15:49 nas kernel: blk_update_request: I/O error, dev sde, sector 3751804800 op 0x0:(READ) flags 0x80700 phys_seg 1 prio cla ss 0
Aug 28 14:15:49 nas kernel: sd 0:0:6:0: [sde] tag#304 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s
Aug 28 14:15:49 nas kernel: sd 0:0:6:0: [sde] tag#304 Sense Key : Illegal Request [current]
Aug 28 14:15:49 nas kernel: sd 0:0:6:0: [sde] tag#304 Add. Sense: Logical unit not supported
Aug 28 14:15:49 nas kernel: sd 0:0:6:0: [sde] tag#304 CDB: Read(10) 28 00 1b f3 ff f0 00 00 01 00
答案1
虽然你没有磁盘设备(由于磁盘未处于可以处理块存储请求的状态),您的 dmesg 表示您仍然拥有 SCSI“通用”设备,/dev/sg8
它将接受任何 SCSI 命令。
(它实际上与“sg_format”中的相同sg
,它来自“SCSI Generic Utilities”并且最初工作仅有的使用 /dev/sg 设备。)