{"action":"opened","issue":{"url":"https://api.github.com/repos/stevenshiau/clonezilla/issues/28","repository_url":"https://api.github.com/repos/stevenshiau/clonezilla","labels_url":"https://api.github.com/repos/stevenshiau/clonezilla/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/stevenshiau/clonezilla/issues/28/comments","events_url":"https://api.github.com/repos/stevenshiau/clonezilla/issues/28/events","html_url":"https://github.com/stevenshiau/clonezilla/issues/28","id":240823789,"number":28,"title":"osc-live-general finished with error","user":{"login":"GuoxinL","id":19989609,"avatar_url":"https://avatars3.githubusercontent.com/u/19989609?v=3","gravatar_id":"","url":"https://api.github.com/users/GuoxinL","html_url":"https://github.com/GuoxinL","followers_url":"https://api.github.com/users/GuoxinL/followers","following_url":"https://api.github.com/users/GuoxinL/following{/other_user}","gists_url":"https://api.github.com/users/GuoxinL/gists{/gist_id}","starred_url":"https://api.github.com/users/GuoxinL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuoxinL/subscriptions","organizations_url":"https://api.github.com/users/GuoxinL/orgs","repos_url":"https://api.github.com/users/GuoxinL/repos","events_url":"https://api.github.com/users/GuoxinL/events{/privacy}","received_events_url":"https://api.github.com/users/GuoxinL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-06T02:00:32Z","updated_at":"2017-07-06T02:00:32Z","closed_at":null,"body":"我使用clonezilla备份了我的服务器，我的服务器是ubuntu-server 1604 ，在备份的过程中没有出现问题，然后，在windows环境下我使用了VMware还原备份的ubuntu-server 1604的镜像但是在最后一步的时候出现了这个错误，很难过。\r\nclonezilla.log\r\n`Starting /usr/sbin/ocs-sr at 2017-07-06 00:59:38 UTC...\r\n*****************************************************.\r\nClonezilla image dir: /home/partimag\r\nShutting down the Logical Volume Manager\r\nFinished Shutting down the Logical Volume Manager\r\nPS. 下次您可以直接下这样的指令:\r\n/usr/sbin/ocs-sr -g auto -e1 auto -e2 -c -r -icds -j2 -p choose restoredisk 2017-07-05-06-img sda\r\n*****************************************************.\r\nPartition table file for disk was found: sda\r\nMBR file for this disk was found: sda\r\n\u001B[1;33m该分区的镜像是可还原的: sda1\r\n\u001B[0;39m\u001B[1;33m该分区的镜像是可还原的: nangle-test-vg-root\r\n\u001B[0;39m\u001B[1;33m该镜像中所有分区或LV设备的镜像已经检查过也确实是可还原的: 2017-07-05-06-img\r\n\u001B[0;39mRunning: task_restoreparts \"2017-07-05-06-img\" \"sda1 sda5\" \"\"\r\n*****************************************************.\r\n下个步骤将把镜像文件还原到这台机器的硬盘/分区: \"/home/partimag/2017-07-05-06-img\" -> \"sda sda1 sda5\"\r\n该镜像产生时间: 2017-0705-0716\r\n警告. 在这个硬盘/分区的资料将会被完全盖掉! 所有现存的资料将会遗失:\r\n*****************************************************.\r\nMachine: VMware Virtual Platform\r\nsda (96.6GB_VMware_Virtual_I_VMware_Virtual_IDE_Hard_Drive_00000000000000000001)\r\nsda1 (487M_ext2(In_VMware_Virtual_I)_VMware_Virtual_IDE_Hard_Drive_00000000000000000001)\r\nsda5 (89.5G_lvm(In_VMware_Virtual_I)_VMware_Virtual_IDE_Hard_Drive_00000000000000000001)\r\n*****************************************************.\r\nThis program is not started by clonezilla server.\r\n*****************************************************.\r\n容我再问您一次.\r\n下个步骤将把镜像文件还原到这台机器的硬盘/分区: \"/home/partimag/2017-07-05-06-img\" -> \"sda sda1 sda5\"\r\n该镜像产生时间: 2017-0705-0716\r\n警告. 在这个硬盘/分区的资料将会被完全盖掉! 所有现存的资料将会遗失:\r\n*****************************************************.\r\nMachine: VMware Virtual Platform\r\nsda (96.6GB_VMware_Virtual_I_VMware_Virtual_IDE_Hard_Drive_00000000000000000001)\r\nsda1 (487M_ext2(In_VMware_Virtual_I)_VMware_Virtual_IDE_Hard_Drive_00000000000000000001)\r\nsda5 (89.5G_lvm(In_VMware_Virtual_I)_VMware_Virtual_IDE_Hard_Drive_00000000000000000001)\r\n*****************************************************.\r\nShutting down the Logical Volume Manager\r\nFinished Shutting down the Logical Volume Manager\r\nCreating partition in /dev/sda...\r\nTrying to clean the MBR and GPT partition table on the destination disk first: /dev/sda\r\nInforming the OS of partition table changes... done!\r\n*****************************************************.\r\nThu Jul  6 01:03:36 UTC 2017\r\nWriting the partition table...\r\nNo partition table exists in target disk /dev/sda, try to initialize one so that we can get the disk size by parted... Running: parted -s /dev/sda mklabel msdos\r\ndone!\r\nRunning: LC_ALL=C sfdisk --force /dev/sda < /home/partimag/2017-07-05-06-img/sda-pt.sf 2>&1 | tee -a /var/log/clonezilla.log\r\nChecking that no-one is using this disk right now ... OK\r\n\r\nDisk /dev/sda: 90 GiB, 96636764160 bytes, 188743680 sectors\r\nUnits: sectors of 1 * 512 = 512 bytes\r\nSector size (logical/physical): 512 bytes / 512 bytes\r\nI/O size (minimum/optimal): 512 bytes / 512 bytes\r\nDisklabel type: dos\r\nDisk identifier: 0xc4d6d693\r\n\r\nOld situation:\r\n\r\n>>> Script header accepted.\r\n>>> Script header accepted.\r\n>>> Script header accepted.\r\n>>> Script header accepted.\r\n>>> Created a new DOS disklabel with disk identifier 0x067bdbae.\r\n/dev/sda1: Created a new partition 1 of type 'Linux' and of size 487 MiB.\r\n/dev/sda2: Created a new partition 2 of type 'Extended' and of size 89.5 GiB.\r\n/dev/sda3: Created a new partition 5 of type 'Linux LVM' and of size 89.5 GiB.\r\n/dev/sda6: Done.\r\n\r\nNew situation:\r\n\r\nDevice     Boot   Start       End   Sectors  Size Id Type\r\n/dev/sda1  *       2048    999423    997376  487M 83 Linux\r\n/dev/sda2       1001470 188743679 187742210 89.5G  5 Extended\r\n/dev/sda5       1001472 188743679 187742208 89.5G 8e Linux LVM\r\n\r\nThe partition table has been altered.\r\nCalling ioctl() to re-read partition table.\r\nSyncing disks.\r\nChecking that no-one is using this disk right now ... OK\r\n\r\nDisk /dev/sda: 90 GiB, 96636764160 bytes, 188743680 sectors\r\nUnits: sectors of 1 * 512 = 512 bytes\r\nSector size (logical/physical): 512 bytes / 512 bytes\r\nI/O size (minimum/optimal): 512 bytes / 512 bytes\r\nDisklabel type: dos\r\nDisk identifier: 0xc4d6d693\r\n\r\nOld situation:\r\n\r\n>>> Script header accepted.\r\n>>> Script header accepted.\r\n>>> Script header accepted.\r\n>>> Script header accepted.\r\n>>> Created a new DOS disklabel with disk identifier 0x067bdbae.\r\n/dev/sda1: Created a new partition 1 of type 'Linux' and of size 487 MiB.\r\n/dev/sda2: Created a new partition 2 of type 'Extended' and of size 89.5 GiB.\r\n/dev/sda3: Created a new partition 5 of type 'Linux LVM' and of size 89.5 GiB.\r\n/dev/sda6: Done.\r\n\r\nNew situation:\r\n\r\nDevice     Boot   Start       End   Sectors  Size Id Type\r\n/dev/sda1  *       2048    999423    997376  487M 83 Linux\r\n/dev/sda2       1001470 188743679 187742210 89.5G  5 Extended\r\n/dev/sda5       1001472 188743679 187742208 89.5G 8e Linux LVM\r\n\r\nThe partition table has been altered.\r\nCalling ioctl() to re-read partition table.\r\nSyncing disks.\r\nThis was done by: LC_ALL=C sfdisk --force /dev/sda < /home/partimag/2017-07-05-06-img/sda-pt.sf 2>&1 | tee -a /var/log/clonezilla.log \r\nChecking the integrity of partition table in the disk /dev/sda... \r\nInforming the OS of partition table changes.... done!\r\n*****************************************************.\r\nThe first partition of disk /dev/sda starts at 2048.\r\nRestoring the hidden data between MBR (1st sector, i.e. 512 bytes) and 1st partition, which might be useful for some recovery tool, by:\r\ndd if=/home/partimag/2017-07-05-06-img/sda-hidden-data-after-mbr of=/dev/sda seek=1 bs=512 count=2047\r\n2047+0 records in\r\n2047+0 records out\r\n1048064 bytes (1.0 MB, 1.0 MiB) copied, 0.344201 s, 3.0 MB/s\r\n*****************************************************.\r\n*****************************************************.\r\nRestoring partition /dev/sda1...\r\n*****************************************************.\r\nStarting unicast restoring image 2017-07-05-06-img to /dev/sda1...\r\nIf this action fails or hangs, check:\r\n* Is the saved image /home/partimag/2017-07-05-06-img/sda1.ext2-ptcl-img.gz.* corrupted ?\r\n*****************************************************.\r\n  ( for img in /home/partimag/2017-07-05-06-img/sda1.ext2-ptcl-img.gz.*; do\r\n      cat \r\n    done\r\n  )   | gunzip -c 2> /tmp/unzip_stdin_cmd_error.z1hLF8   | LC_ALL=C partclone.ext2 -z 10485760 -N -L /var/log/partclone.log -s - -r -o /dev/sda1\r\nPartclone v0.2.91 http://partclone.org\r\nStarting to restore image (-) to device (/dev/sda1)\r\nwe need memory: 67524 bytes\r\nimage head 4160, bitmap 62336, crc 1028 bytes\r\nCalculating bitmap... Please wait... get device size 510656512 by ioctl BLKGETSIZE64,\r\ndone!\r\nFile system:  EXTFS\r\nDevice size:  510.7 MB = 498688 Blocks\r\nSpace in use:  76.4 MB = 74633 Blocks\r\nFree Space:   434.2 MB = 424055 Blocks\r\nBlock size:   1024 Byte\r\nImage Version:   0001\r\nSyncing... OK!\r\nPartclone successfully restored the image (-) to the device (/dev/sda1)\r\n>>> Time elapsed: 10.58 secs (~ .176 mins)\r\nFinished unicast restoring image 2017-07-05-06-img to /dev/sda1.\r\nInforming the OS of partition table changes.... done!\r\n*****************************************************.\r\nFinding swap partition(s) in MBR table /home/partimag/2017-07-05-06-img/sda-pt.sf...\r\nProbing sda with blockdev before restoring EBR...\r\nFinding extended partition(s) in parted table /home/partimag/2017-07-05-06-img/sda-pt.parted...\r\nRestoring extended boot record (EBR) in extended partition /dev/sda2...\r\nFound the EBR data for /dev/sda2 in the image dir, restore it by:\r\nRunning: ocs-restore-ebr --ocsroot /home/partimag 2017-07-05-06-img sda2\r\nSetting the TERM as jfbterm\r\nRestoring the first 446 bytes of EBR data for extended partition sda2... done.\r\n*****************************************************.\r\n*****************************************************.\r\nLVM exists, restoring PV/VG/LV.\r\nPreparing the LVM (PV/VG/LV)... \r\nCreating the PV... \r\ndone.\r\nRestoring the VG config... \r\n  Couldn't find device with uuid 0icIA3-KXmB-TQVJ-BWPx-wD6d-nUer-f11iWG.\r\n  Cannot restore Volume Group nangle-test-vg with 1 PVs marked as missing.\r\n  Restore failed.\r\ndone.\r\n程序停止!.\r\n`"}}
{"actor":{"display_login":"GuoxinL"}}