# sudo parted /dev/sdb

(parted) mklabel

Warning: the existing disk label on /dev/sdb 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) mkpart primary 0 -1s

....

혹시 mkpart를 위와 같이 했을때 최상의 성능을 낼 수 없도록 정렬된다는 경고가 나오면 취소하고 아래와 같이 해본다.

(parted) mkpart primary 0% 100%

....

(parted) print                                                            

Model: AMCC 9500S-12 DISK (scsi)

Disk /dev/sdb: 12.0TB

Sector size (logical/physical): 512B/512B

Partition Table: gpt


Number  Start   End     Size    File system  Name     Flags

 1      1049kB  12.0TB  12.0TB               primary


(parted) q


# sudo mkfs.ext4 /dev/sdb1



Posted by Jason Ryu
,