parted명령어로 GPT파티션을 설정하면 mount 됨.
$ parted /dev/sdb
# gpt파티션으로 만듬
(parted) mklabel gpt
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
# gpt인지 확인
(parted) print
Model: DELL PERC 6/i Adapter (scsi)
Disk /dev/sdb: 2999GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt #<-- gpt
Number Start End Size File system Name Flags
(parted) mkpart primary 0 2999GB # <--파티션 생성
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel? Ignore
(parted) print
Model: DELL PERC 6/i Adapter (scsi)
Disk /dev/sdb: 2999GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 2999GB 2999GB primary
(parted) quit
Information: You may need to update /etc/fstab.
# 포맷 ext4로
$ mkfs.ext4 /dev/sdb
# 포맷 xfs로 포맷
$ mkfs.xfs /dev/sdb
5.7 인경우 ext4는 최대 16TB
6.x 인경우 ext4는 최대 16TB
5.7 인경우 xfs는 최대 100TB
6.x 인경우 xfs는 최대 100TB
# 마운트
$ mount /dev/sdb /data
참고: http://blog.naver.com/skfnn?Redirect=Log&logNo=90061431399
댓글
댓글 쓰기