# 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
'$ SaVvY > » computer' 카테고리의 다른 글
구조체 멤버변수의 옵셋 구하는 매크로.... (0) | 2013.07.10 |
---|---|
My Colored Command Line. (0) | 2013.07.10 |
const keyword in c/c++ (0) | 2013.07.10 |
클래스라이브러리와 프레임워크. (0) | 2013.07.10 |
프로그램 수행시간 측정하기. (0) | 2013.07.10 |