ext3文件系统大于8T
有台存储有12T的磁盘,需要使用gpt分区,并且格式化的时候需要加“-F”,具体如下:
[Copy to clipboard]View Code TEXTparted /dev/sdb
 
(parted) print
Error: Unable to open /dev/sdb - unrecognised disk label.  //这里无需理会
 
(parted) mklabel
New disk label type? gpt
(parted) print
Model: Promise 14 Disk RAID5 (scsi)
Disk /dev/sdb: 12.9TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
 
Number  Start  End  Size  File system  Name  Flags
 
(parted) mkpart primary 0 12.9TB
(parted) print
 
Model: Promise 14 Disk RAID5 (scsi)
Disk /dev/sdb: 12.9TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
 
Number  Start   End SizeFile system  Name Flags
 1  17.4kB  12.9TB  12.9TB   primary 
 
(parted) quit
 
格式化:
 
mkfs.ext3 -F /dev/sdb1   //需要加“-F”选项才行,不然会出现。
 
mkfs.ext3: Filesystem too large.  No more than 2**31-1 blocks
         (8TB using a blocksize of 4k) are currently supported.
大于8T的分区block至少要大于4k,4k能支持最大为16T的磁盘。