Menu

a problem during the restoration of an image URGENT PLEASE

Help
smalhouni
2020-01-30
2020-02-23
  • smalhouni

    smalhouni - 2020-01-30

    user@debian:~$ cat /var/log/clonezilla.log
    Starting /usr/sbin/ocs-sr at 2020-01-30 23:19:04 UTC...
    ********.
    Clonezilla image dir: /home/partimag
    Shutting down the Logical Volume Manager
    Finished Shutting down the Logical Volume Manager
    PS. Next time you can run this command directly:
    /usr/sbin/ocs-sr -g auto -e1 auto -e2 -r -j2 -c -scr -p choose restoredisk 2020-01-29-21-img sda
    *******.
    Running: task_restoreparts "2020-01-29-21-img" "sda1 sda5 sda6 sda7" ""
    ********.
    The following step is to restore an image to the hard disk/partition(s) on this machine: "/home/partimag/2020-01-29-21-img" -> "sda sda1 sda5 sda6 sda7"
    The image was created at: 2020-0129-2210
    WARNING. THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST:
    *******
    .
    Machine: VMware Virtual Platform
    sda (301GB_VMware_Virtual_S_No_disk_serial_no)
    sda1 (280G_ext4(In_VMware_Virtual_S)_No_disk_serial_no)
    ********.
    This program is not started by clonezilla server.
    *******.
    Let me ask you again.
    The following step is to restore an image to the hard disk/partition(s) on this machine: "/home/partimag/2020-01-29-21-img" -> "sda sda1 sda5 sda6 sda7"
    The image was created at: 2020-0129-2210
    WARNING. THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST:
    ********.
    Machine: VMware Virtual Platform
    sda (301GB_VMware_Virtual_S_No_disk_serial_no)
    sda1 (280G_ext4(In_VMware_Virtual_S)_No_disk_serial_no)
    *******
    .
    Shutting down the Logical Volume Manager
    Finished Shutting down the Logical Volume Manager
    Creating partition in /dev/sda...
    Trying to clean the MBR and GPT partition table on the destination disk first: /dev/sda
    Informing the OS of partition table changes... done!
    Non-grub boot loader found on /home/partimag/2020-01-29-21-img/sda-mbr...
    The CHS value of hard drive from EDD will be used for sfdisk.
    Sfdisk >= 2.26 does not support C/H/S option. Skip using C/H/S option.
    ***********.
    Thu Jan 30 23:19:58 UTC 2020
    Writing the partition table...
    No 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
    done!
    Running: LC_ALL=C sfdisk --force /dev/sda < /home/partimag/2020-01-29-21-img/sda-pt.sf 2>&1 | tee -a /var/log/clonezilla.log
    Checking that no-one is using this disk right now ... OK

    Disk /dev/sda: 280 GiB, 300647710720 bytes, 587202560 sectors
    Disk model: VMware Virtual S
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xed1ca928

    Old situation:

    Script header accepted.
    Script header accepted.
    Script header accepted.
    Script header accepted.
    Created a new DOS disklabel with disk identifier 0x20150ef3.
    /dev/sda1: Created a new partition 1 of type 'Linux' and of size 94 MiB.
    /dev/sda2: Created a new partition 2 of type 'Linux swap / Solaris' and of size 977 MiB.
    /dev/sda3: Created a new partition 3 of type 'W95 Ext'd (LBA)' and of size 249 GiB.
    /dev/sda4: Created a new partition 5 of type 'Linux' and of size 3.7 GiB.
    /dev/sda6: Start sector 10008577 out of range.
    Failed to add #6 partition: Numerical result out of range
    Leaving.

    Checking that no-one is using this disk right now ... OK

    Disk /dev/sda: 280 GiB, 300647710720 bytes, 587202560 sectors
    Disk model: VMware Virtual S
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xed1ca928

    Old situation:

    Script header accepted.
    Script header accepted.
    Script header accepted.
    Script header accepted.
    Created a new DOS disklabel with disk identifier 0x20150ef3.
    /dev/sda1: Created a new partition 1 of type 'Linux' and of size 94 MiB.
    /dev/sda2: Created a new partition 2 of type 'Linux swap / Solaris' and of size 977 MiB.
    /dev/sda3: Created a new partition 3 of type 'W95 Ext'd (LBA)' and of size 249 GiB.
    /dev/sda4: Created a new partition 5 of type 'Linux' and of size 3.7 GiB.
    /dev/sda6: Start sector 10008577 out of range.
    Failed to add #6 partition: Numerical result out of range
    Leaving.

    This was done by: LC_ALL=C sfdisk --force /dev/sda < /home/partimag/2020-01-29-21-img/sda-pt.sf 2>&1 | tee -a /var/log/clonezilla.log
    Checking the integrity of partition table in the disk /dev/sda...
    Informing the OS of partition table changes..................................................... done!
    ********.
    The first partition of disk /dev/sda starts at .
    The hidden space between MBR and 1st partition is "-1" sectors, which is smaller than the hidden data /home/partimag/2020-01-29-21-img/sda-hidden-data-after-mbr) size "2047" sectors.
    Skip restoring the hidden data between MBR and 1st partition.
    *******.
    ********.
    Restoring partition /dev/sda1...
    Unable to find target partition "sda1".
    *******
    .
    The disk and partition in this system:
    major minor #blocks name

    11 0 285696 sr0
    8 0 293601280 sda
    7 0 234672 loop0
    8 16 2930266583 sdb
    8 17 131072 sdb1
    8 18 2930134016 sdb2
    ***********.
    Check if the partition sda1 really exists, otherwise maybe the kernel is too old.
    Program terminated!.

     

Log in to post a comment.