![为什么我的 WD blue 4tb 磁盘在 gparted、gdisk、parted 和 fdisk 中显示为 2tb](https://linux22.com/image/921459/%E4%B8%BA%E4%BB%80%E4%B9%88%E6%88%91%E7%9A%84%20WD%20blue%204tb%20%E7%A3%81%E7%9B%98%E5%9C%A8%20gparted%E3%80%81gdisk%E3%80%81parted%20%E5%92%8C%20fdisk%20%E4%B8%AD%E6%98%BE%E7%A4%BA%E4%B8%BA%202tb.png)
它们使用双 sas raid 卡连接。目标是使用 mdadm 为 nas 目的和 plex 服务器创建一个大型 raid 6 阵列。但如果我甚至无法格式化 4tb,我不会尝试创建一个巨大的 24tb 阵列。
nasplex@nasplex-pc:~$ sudo gdisk /dev/sdc
GPT fdisk (gdisk) version 1.0.4
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): ^C
nasplex@nasplex-pc:~$ sudo parted /dev/sdc
GNU Parted 3.2
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA WDC WD40EZRZ-19G (scsi)
Disk /dev/sdc: 2199GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2199GB 2199GB Linux filesystem
(parted) ^C
nasplex@nasplex-pc:~$ sudo fdisk -l /dev/sdc
Disk /dev/sdc: 1.102 TiB, 2199023254528 bytes, 4294967294 sectors
Disk model: WDC WD40EZRZ-19G
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B128F58D-0CAC-4EF4-B57A-B0883ACD65EC
Device Start End Sectors Size Type
/dev/sdc1 2048 4294967260 4294965213 2T Linux filesystem
nasplex@nasplex-pc:~$
nasplex@nasplex-pc:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G 0 disk
└─sda1 8:1 0 111.8G 0 part /
sdb 8:16 0 465.8G 0 disk
├─sdb1 8:17 0 5.6G 0 part
└─sdb2 8:18 0 460.2G 0 part
sdc 8:32 0 2T 0 disk
└─sdc1 8:33 0 2T 0 part
sdd 8:48 0 2T 0 disk
sde 8:64 0 2T 0 disk
sdf 8:80 0 2T 0 disk
sdg 8:96 0 2T 0 disk
sdh 8:112 0 2T 0 disk
sdi 8:128 0 2T 0 disk
sdj 8:144 0 2T 0 disk
sr0 11:0 1 1024M 0 rom
答案1
因为我使用的是旧的 raid 卡。lsi sas 3801E 仅支持最多 2tb 磁盘。请参阅:Broadcom.com/support/knowledgebase/1211161495837/using-drives-2tb-in-capacity-with-lsi-sas-hbas
感谢 reddit 以及这里的所有人