gnigney
20
2022-06-02 15:57:16
1
147

리눅스 fdisk 명령어 파티션 나누었을때 용량줄어듬 현상


WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sdc: 14000.5 GB, 14000519642624 bytes, 27344764927 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disk label type: gpt
Disk identifier: 99909D8D-86C3-4C19-A382-E10343F1738E


#         Start          End    Size  Type            Name
 1           34       262177    128M  Microsoft reser Microsoft reserved partition
Partition 1 does not start on physical sector boundary.
 2       264192  27344762879   12.8T  Microsoft basic Basic data partition
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sdj: 14000.5 GB, 14000519642624 bytes, 27344764927 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disk label type: gpt
Disk identifier: 06F203B2-D9DA-48A5-8AA1-D8701FAA0BEC


#         Start          End    Size  Type            Name
 1           34       262177    128M  Microsoft reser Microsoft reserved partition
Partition 1 does not start on physical sector boundary.
 2       264192  27344762879   12.8T  Microsoft basic Basic data partition

#위에글은 fdisk-l당시 현황입니다
각각 14테라의  sdj,sdc 두개의 외장 하드를 mount 했습니다.  
fdisk 디폴트 값으로 3개로 파티션 나눈 후 
mkfs.ext4로 포멧 후 mount실행했는데 df 명령어에서
어째서 총 용량이 12테라로 바뀌는지 그 이유가 궁금합니다!!! parted명령어를 안써서 그런걸까요?
0