HOWTO partition and make file system over 8TB (ext3) – fdisk
如何分割與建立超過8TB的檔案系統
[root@SERVER ~]# parted /dev/sdd GNU Parted 1.8.1 Using /dev/sdd Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) mklabel Warning: The existing disk label on /dev/sdd will be destroyed and all data on this disk will be lost. Do you want to continue? Yes/No? Yes New disk label type? [gpt]? gpt (parted) print Model: IFT A16F-G2430 (scsi) Disk /dev/sdd: 14.0TB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags (parted) mkpart Partition name? []? File system type? [ext2]? ext3 Start? 0 End? -1 (parted) print Model: IFT A16F-G2430 (scsi) Disk /dev/sdd: 14.0TB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 14.0TB 14.0TB ext3 (parted) quit Information: Don't forget to update /etc/fstab, if necessary. [root@SERVER ~]# mkfs.ext3 -F /dev/sdd1 mke2fs 1.39 (29-May-2006) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 1708867584 inodes, 3417734647 blocks 170886732 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=4294967296 104301 block groups 32768 blocks per group, 32768 fragments per group 16384 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848, 512000000, 550731776, 644972544, 1934917632, 2560000000 Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 39 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.