[Linux] 리눅스 파티션 추가 및 디스크 마운트(fdisk)
리눅스(CentOS, Rocky) 하드디스크 추가 방법입니다.추가할 하드디스크가 장착 및 연결되었다는 가정하에 fdisk를 통해 파티션 설정하는 방식입니다. 1. 현재 디스크/파티션 조회fdisk -lfdisk-l 명령어를 통해 디스크/파티션 리스트를 조회할 수 있다.새로 추가하려는 하드디스크 용량은 2TB이다. 2. 파티션 설정 (디스크 파티셔닝)fdisk /dev/sdaWelcome to fdisk (util-linux 2.23.1).Changes will remain in memory only, until you decide to write them.Be careful before using the write command.Command (m for help): fdisk /dev/sda를 입력 시..
2023.07.18