Menu

#13 Swap-partition failing when restoring from dd-image

v1.0_(example)
open
nobody
None
5
2015-09-23
2015-08-06
engblom
No

With latest DRBL live, network restoring (multicast) is failing for swap partition. The image was created with dd as backend because of https://sourceforge.net/p/clonezilla/bugs/230/
The same dd-image is successfully restored with latest Clonezilla (Wily).

Model: ATA ST500LM000-1EJ16 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 62.9GB 62.9GB primary xfs boot
3 62.9GB 492GB 429GB primary xfs
2 492GB 500GB 8590MB primary linux-swap(v1)

sda2 is thus last on disk. All partitions were created with gparted.

Discussion

  • Steven Shiau

    Steven Shiau - 2015-08-07

    Could you please give DRBL live 2.4.2-23 a try?
    http://drbl.org/download/
    Please let us know the results. Thanks.

    Steven.

     
  • engblom

    engblom - 2015-08-07

    This version behaved even worse. Besides not creating the swap, it did not create the boot sector either.
    This was the last on screen:

    Creating swap partition /dev/sda2...
    mktemp: failed to create file via template '/tmp/parttable-ocs.XXXXXX': Read-only file system
    /usr/share/drbl/sbin/ocs-functions: line 483: $partition_table: ambiguous redirect

     
  • Steven Shiau

    Steven Shiau - 2015-08-08

    Could you please:
    1. Show us the image dir by running:
    tree /home/partimag/$YOUR_IMAGE
    2. Show the content of the file "sda-pt.parted.compact":
    cat /home/partimag/$YOUR_IMAGE/sda-pt.parted.compact
    3. The whole error messages on the screen, by taking a photo about that, then post it.

    Please also post your steps in detail. It would be easier for us to reproduce the problem here.
    Thanks.

    Steven.

     
  • engblom

    engblom - 2015-08-10

    tree larar-elementary-dd
    larar-elementary-dd/
    ├── blkdev.list
    ├── blkid.list
    ├── clonezilla-img
    ├── dev-fs.list
    ├── disk
    ├── Info-dmi.txt
    ├── Info-lshw.txt
    ├── Info-lspci.txt
    ├── Info-packages.txt
    ├── Info-saved-by-cmd.txt
    ├── parts
    ├── sda1.dd-img.aa
    ├── sda3.dd-img.aa
    ├── sda-chs.sf
    ├── sda-hidden-data-after-mbr
    ├── sda-mbr
    ├── sda-pt.parted
    ├── sda-pt.parted.compact
    ├── sda-pt.sf
    └── swappt-sda2.info

    cat sda-pt.parted.compact
    Model: ATA ST500LM000-1EJ16 (scsi)
    Disk /dev/sda: 500GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: msdos
    Disk Flags:

    Number Start End Size Type File system Flags
    1 1049kB 62.9GB 62.9GB primary xfs boot
    3 62.9GB 492GB 429GB primary xfs
    2 492GB 500GB 8590MB primary linux-swap(v1)

    The error message
    The error message I gave earlier in this thread was the full error message.

    More details
    The image was created with Clonezilla Alternative Testing (Wily). I had to pick Expert mode in order to pick dd as backend for Clonezilla. This was the only option I changed besides I picked xz as compression because dd takes quite a lot of space. The rest was default.

    When restoring I booted DRBL live, started Clonezilla server and used Beginners mode for restoring through multicast.

     
  • Steven Shiau

    Steven Shiau - 2015-08-22

    So does this image work when restoring for Clonezilla live, not DRBL live client?

    Steven.

     
  • engblom

    engblom - 2015-08-24

    Yes. It works with Clonezilla live. This problem only appears when I need to use DRBL because I need to clone many computers at once.

     
  • YvanM

    YvanM - 2015-09-09

    Sorry, I did not read this bug report before posting mine a few minutes ago: it is exactly the same issue.

     
  • Steven Shiau

    Steven Shiau - 2015-09-23

    Could you please give DRBL live 2.4.3-18 a try?
    http://drbl.org/download/
    There are many improvements about that.
    Please let us know the results.
    Thanks.

    Steven.

     

Log in to post a comment.