오늘 처음으로 Clonezilla를 사용했습니다. 잘 된 것 같았지만 결과 이미지가 예상보다 작습니다.
복제하려는 파티션은 약 21GB의 공간을 사용하지만 이미지는 약 12GB에 불과합니다. 이것은 정상입니까? 이미지는 파티션에 사용 된 공간과 거의 같은 크기 여야하지 않습니까?
내 드라이브에 3 개의 파티션이 있습니다. Windows 파티션, Ubuntu 파티션 및 스토리지 파티션.
sda5 (Ubuntu 파티션) 복제를 시도한 파티션입니다.
다음은 Clonezilla에서 생성 한 이미지의 세부 정보입니다.
내 모든 파티션에 대한 정보는 다음과 같습니다.
What's going on here? Why is my image smaller than the space consumed on the partition? I would really appreciate some help.
Thanks!
I just checked in the image folder, the largest files in there have the extensions "gz.aa", "gz.ab" and "gz.ac", which I think is a compressed format, right? The partition I cloned had very few media files in it. It contained mostly system files and installed software. since it was my Ubuntu partition. So I guess this seems that compression was indeed used and that the smaller size of the image is perfectly in order.
Correct, Clonezilla used gzip compression and file splitting when storing the image.
You can check this with the file
command. That should tell you if it really is a gzip compressed file or something else.
gzip을 사용할 때 파일 크기를 절반으로 줄이는 것이 일반적인 결과입니다. 일부 다른 압축 도구는 더 효율적이지만 느리거나 (xz, lzma) 또는 gzip (lzop, lz4)보다 효율성이 다소 떨어지지 만 훨씬 빠릅니다. 그리고 zstd도 있습니다.
파일에 사용 된 압축을 알고 있으면 이미지의 압축을 풀고 마운트 를 반복mount
하여 파일 시스템이 여전히 일관성이 있는지 확인할 수 있습니다. 다음 명령을 사용하여 이미지의 압축을 풀 수 있습니다.
cat your_image_name.gz.* | gzip -d > uncompressed_image.img
동등한 프로그램을 사용하고 gzip이 아닌 다른 것을 리턴 gzip
하는 경우 해당 매뉴얼 페이지를 참조하십시오 file
.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다