"리눅스 img 파일 검사"의 두 판 사이의 차이

잔글 (Jmnote 사용자가 Img 파일 검사 문서를 리눅스 img 파일 검사 문서로 옮겼습니다)
2번째 줄: 2번째 줄:
;img 파일 검사
;img 파일 검사


==img샘플 다운로드==
==정상==
{{참고|img 샘플 다운로드}}
* cirros-0.3.0-x86_64-disk.img
 
<source lang='cli'>
==검사==
[root@zetawiki ~]# wget https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
* 정상 (cirros-0.3.0-x86_64-disk.img )
--2015-12-08 10:21:46--  https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
... (생략)
HTTP request sent, awaiting response... 200 OK
Length: 9761280 (9.3M) [text/plain]
Saving to: “cirros-0.3.0-x86_64-disk.img”
100%[============================================================>] 9,761,280  1.19M/s  in 13s   
2015-12-08 10:22:02 (747 KB/s) - “cirros-0.3.0-x86_64-disk.img” saved [9761280/9761280]
</source>
<source lang='cli'>
<source lang='cli'>
[root@zetaweb ~]# qemu-img check cirros-0.3.0-x86_64-disk.img  
[root@zetawiki ~]# qemu-img check cirros-0.3.0-x86_64-disk.img  
No errors were found on the image.
No errors were found on the image.
Image end offset: 9764864
Image end offset: 9764864
</source>
</source>
==비정상==
* fake.img
* fake2.img


==같이 보기==
==같이 보기==

2015년 12월 8일 (화) 15:55 판

check img file, verify img file
img 파일 검사

1 정상

  • cirros-0.3.0-x86_64-disk.img
[root@zetawiki ~]# wget https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
--2015-12-08 10:21:46--  https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
... (생략)
HTTP request sent, awaiting response... 200 OK
Length: 9761280 (9.3M) [text/plain]
Saving to: “cirros-0.3.0-x86_64-disk.img”
 
100%[============================================================>] 9,761,280   1.19M/s   in 13s     
 
2015-12-08 10:22:02 (747 KB/s) - “cirros-0.3.0-x86_64-disk.img” saved [9761280/9761280]
[root@zetawiki ~]# qemu-img check cirros-0.3.0-x86_64-disk.img 
No errors were found on the image.
Image end offset: 9764864

2 비정상

  • fake.img
  • fake2.img

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}