我有以下 Synology RS3412RPxs
NAS:
$ uname -u
synology_bromolow_rs3412rpxs
$
/dev/sdkb3
在扩展单元上重建以下 MD-RAID 阵列RX1211rp-1
:
$ sudo mdadm -D /dev/md4 | egrep -i "rebuild|raid"
Raid Level : raid6
Raid Devices : 12
Rebuild Status : 6% complete
Number Major Minor RaidDevice State
18 65 499 1 spare rebuilding /dev/sdkb3
$
当我看一下时/dev/sdkb3
,它看起来像一个物理磁盘:
$ sudo smartctl -i /dev/sdkb3
smartctl 6.5 (build date Mar 2 2021) [x86_64-linux-3.10.105] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Constellation CS
Device Model: ST3000NC002-1DY166
Serial Number: Z1F4MEC0
LU WWN Device Id: 5 000c50 065f59db7
Firmware Version: CN02
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Fri Jun 23 18:16:18 2023 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
$
但parted
无法识别其型号和“磁盘标签”:
$ sudo parted /dev/sdkb3 print
Error: /dev/sdkb3: unrecognised disk label
Model: Unknown (unknown)
Disk /dev/sdkb3: 2996GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
$ lsblk
-sh: lsblk: command not found
$
是/dev/sdkb3
物理磁盘还是逻辑磁盘?
EDIT0:/dev/sdkb3 指向:
$ readlink -f /sys/class/block/sdkb3
/sys/devices/pci0000:00/0000:00:01.1/0000:02:00.0/0000:03:05.0/0000:07:00.0/ata12/host11/target11:1:0/11:1:0:0/block/sdkb/sdkb3
$
它似乎/dev/sdkb3
是一个分区,并sfdisk
确认了这一点:
$ sudo sfdisk -l /dev/sdkb3
[/dev/sdkb3] is a partition
$
EDIT1:输出与导致我陷入错误的结果smartctl
相同的结果。/dev/sdkb3
/dev/sdkb
因此,我相信/dev/sdkb
是一个物理磁盘:
$ sudo parted /dev/sdkb print
Model: ATA ST3000NC002-1DY1 (scsi)
Disk /dev/sdkb: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2551MB 2550MB raid
2 2551MB 4699MB 2147MB raid
3 4832MB 3001GB 2996GB raid
$
很抱歉给您带来不便。