partimage restore -b옵션사용시 첫번째만 복원문제.

hiscom의 이미지

partimage restore 를 배치(-b)로 할때 분할된 첫번째 이미지만 복원이 되고 종료가 되요.
배치로 하지 않고 그냥 하면 전부 정상으로 복원이 됩니다.

아래 인용문은 partimage포럼에 올라와 있는 내용입니다.
영어가 짫아서 대충해석해서 해봤는데 결과는 같습니다.

해결 방법 아시는 분께서는 답변좀 부탁드립니다.
아니면 해석만이라도 부탁해요.

Quote:
제목 : partimage 0.6.4 error restoring splitted files when using -b

질문 :

I'm trying to restore a partition in batch mode with /usr/sbin/partimage -V -f3 -b restore /dev/hda1 WinXP.000

The image files are splitted at 1GB. When I use this command line, after the restore of the 1st file (.000) is completed, the program exits without any message on the console.

iIf I remove the -b, the restore process works perfectly, but I have to confirm some messages, so restore process can't be done automatically.

답변 :

I have a similar problem only no matter what options I use, it craps out after the first volume with an error something like "can't read sector 0 from restore volume". I've tried with and without -b, -V, interactive with -V, wildcards, listing each volume and nothing works. I'm going to try partimage -V -f3 -g5 -w -b restore image.000 before I just cat them together.

BTW, same version 0.6.4 on a knoppix 3.9 CD.

hiscom의 이미지

별 짓을 다 해봐도 않되는군요. ㅜㅜ

익명 사용자의 이미지

아무도 답변 안해 주시는군요. ㅜㅜ

위문제는 그냥 split을 하지않고 하는수 밖에 없어서 그렇게 했어요.
또 다른 문제는 이미지를 만들고 다른 용량의 파티션에 restore하면 dump했을때의 사이즈로 목적지 파티션이
작아집니다.
여유있는 공간으로 이미지를 restore해야하는데 참 난감하네요.
방법이 없나요???

Quote:
5.3 How are the partitions read/written
Partition Image use a low level implementation. It mean that Partition Image makes a block/cluster copy, when saving/restoring data. It read and write physical blocks of the partition. It doesn't use the linux kernel (file systems support) to read data. It has many advantages:

Dumping is fast, because there is no need to seek between indexes (FAT, inode table, ...) and files contents. No seek between blocks when a file is fragmented.
It really copies all the data of the file system: files contents, boot sector, inodes, ... Absolutely no modification can be made while saving/restoring
It keeps the file locations. For example, the location of your kernel image will be kept, and LILO won't fail after you restore your partition.

But with this method, all files systems support must be implemented, and it's difficult to resize the partition when restoring. It is also impossible to extract a file from an image.

익명 사용자의 이미지

혹시나 해서 새로운 하드의 mbr을 떠놨다가 이미지 복원후 백업했던 mbr을 넣어줘도 마찬가지군요.. ;;;

여기저기 자료 뒤지고 있는데 답이 없어요..

정말 이상한건 fdisk나 pqrted등과같은 툴로 prit해보면 정상적인 사이즈가 나오는데 사용할수 있는 공간은 이미지 백업전의 하드디스크의 파티션 용량뿐이군요.

익명 사용자의 이미지

윈도우즈xp도 테스트 해봤다가 잠시 웃었어요. ㅜㅜ

explorer에서는 사이즈가 백업한 작은 용량만 잡히고 디스크관리자에서는 새로운 전체용량이 보입니다. 도스용 gdisk32같은 걸로 봐도 새로운 큰용량이 사용 가능하게 나와요.

;;; 혼자서만 나불나블하는 군요.

doodoo의 이미지

근데....xp의 ntfs 파일 시스템에서는 실험적이라고 나오던데

파일 시스템은 어떤것을 쓰셨나요?

저도 이제 한번 이것으로 백업을 좀 해보려 하는데....
이미지 사이즈가 좀 줄어드나요?

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.