리눅스에서 테스트용 대용량 파일이 필요할 때는 fallocate를 쓰면 됩니다. 디스크 공간만 바로 할당하기 때문에 10G 파일도 즉시 만들어집니다.1. 사용법fallocate -l 크기 파일명크기에는 숫자만 쓰면 바이트 단위이고, K, M, G 같은 단위를 붙일 수 있습니다.2. 예시2.1 100바이트 파일[root@Centos7 test]# fallocate -l 100 test.txt[root@Centos7 test]# ll test.txt-rw-r--r--. 1 root root 100 Feb 5 08:37 test.txt2.2 10G 파일[root@Centos7 test]# fallocate -l 10G test.txt[root@Centos7 test]# ll -h test.txt-rw-r--..