IT Curation 자세히보기

OS/centOS

centOS7_디스크 추가 및 파일시스템 초기화

icf_ 2022. 10. 24. 21:47
# fdisk /dev/장치명

Command (m for help)가 나오면 n눌러서 생성 시작
Command (m for help) : n 
p 또는 e p는 주파티션
파티션 넘버는 default 는 1
용량 범위 지정을 안할거면 sector는 ENTER눌러서 패스
Command (m for help) : w
저장후 밖으로 나옴.

# mkfs.xfs /dev/장치명1

마운트하여 사용하면됨.

 

쓰기속도 테스트 예시

# dd if=/dev/zero of={마운트 디렉터리} bs=1M count=1024 conv=fdatasync,notrunc

 

읽기속도 테스트 예시

# dd if=/mnt/testfiles of=/dev/null bs=1M count=1024

728x90

'OS > centOS' 카테고리의 다른 글

centOS7 | Let's Encrypt  (0) 2022.11.30
centos7 | git ssh 접속 설정  (0) 2022.11.08
[스크랩]centOS7_vsftp설정  (0) 2022.10.09
[스크랩]centOS7_https설정 및 개인 ssl설정  (0) 2022.10.09
centOS7_DNS서버 구성  (0) 2022.10.05