它们使用双 sas raid 卡连接。目标是使用 mdadm 创建一个用于 nas 目的的大型 raid 6 阵列和一个 plex 服务器。但如果我似乎无法格式化 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
因为我用的是旧的raid卡。一个 lsi sas 3801E,它只支持最多 2tb 磁盘。请参阅:Broadcom.com/support/knowledgebase/1211161495837/using-drives-2tb-in-capacity-with-lsi-sas-hbas
感谢reddit,感谢这里的所有人