Menu

savedisk ok - restoredisk fails

Help
2009-04-17
2013-04-05
  • Klavs Klavsen

    Klavs Klavsen - 2009-04-17

    Hi guys,

    I am trying out clonezilla on HP server hardware (with cciss controllers). savedisk operation worked perfectly, saving via sshfs.
    I then tried restoredisk, but it keeps saying there's no images available - even though I can see they were created on the server I saved them on - and I gave the same path to the restoredisk as I gave to the savedisk (/data/images).

    The mount is done via sshfs root@myserver:/data/images /home/partimage/ (or whatever the last part is exactly) and if I enter console mode I can see the folders and files just fine.

    I am using the Experimental jaunty edition, as the servers have 10G network cards only, that require the bnx2x driver.

    Any ideas what files the script that says "no image found" is looking for, and how I can debug it via the console?

    Thank you in advance

     
    • Steven Shiau

      Steven Shiau - 2009-04-20

      After the mount is done, could you run:
      find /home/partimag/ -print
      and post the result ?

      Steven.

       
      • Klavs Klavsen

        Klavs Klavsen - 2009-04-20

        user@jaunty# find /home/partimag -print
        permission denied

        root@jaunty# find /home/partimag -print
        /home/partimag/
        /home/partimag/ubuntu804-default
        /home/partimag/ubuntu804-default/sde-pt.sf
        /home/partimag/ubuntu804-default/sde-chs.sf
        /home/partimag/ubuntu804-default/sde-pt.parted
        /home/partimag/ubuntu804-default/sde-mbr
        /home/partimag/ubuntu804-default/sde2
        /home/partimag/ubuntu804-default/Info-lshw.txt
        /home/partimag/ubuntu804-default/Info-dmi.txt
        /home/partimag/ubuntu804-default/Info-packages.txt
        /home/partimag/ubuntu804-default/parts
        /home/partimag/ubuntu804-disk
        /home/partimag/ubuntu804-disk/sda-hidden-data-after-mbr
        /home/partimag/ubuntu804-disk/sda-pt.sf
        /home/partimag/ubuntu804-disk/sda-mbr
        /home/partimag/ubuntu804-disk/sda-pt.parted
        /home/partimag/ubuntu804-disk/sda-chs.sf
        /home/partimag/ubuntu804-disk/sda2.aa

        and an ls -lh on the server with the images:
        /home/partimag/ubuntu804-disk
        -rw------- 1 drift drift 222M 2009-04-17 14:06 sda2.aa
        -rw-r--r-- 1 drift drift   36 2009-04-17 14:06 sda-chs.sf
        -rw-r--r-- 1 drift drift  31K 2009-04-17 14:06 sda-hidden-data-after-mbr
        -rw-r--r-- 1 drift drift  512 2009-04-17 14:06 sda-mbr
        -rw-r--r-- 1 drift drift  421 2009-04-17 14:06 sda-pt.parted
        -rw-r--r-- 1 drift drift  259 2009-04-17 14:06 sda-pt.sf

        I tried remounting the sshfs filesystem so user could read it, but it didn't work anyways :(

         
        • Steven Shiau

          Steven Shiau - 2009-04-20

          Klavs,
          Looks like the image was saved for partitions (saveparts), not saved for a disk (savedisk).
          Make sure you use savedisk to save the image, and there is no any error shown.

          Steven.

           
          • Klavs Klavsen

            Klavs Klavsen - 2009-04-20

            I just finished the restoring, and upon boot I'm greeted with an grub error 17 :(

             
            • Steven Shiau

              Steven Shiau - 2009-04-20

              Klavs,
              When Clonezilla finishesthe partition restoration, it tries to run grub-install again, did you see any error when it did that ?

              Steven.

               
              • Michael Jensen

                Michael Jensen - 2009-04-24

                Hi,

                i've just posted the before mentioned LVM error in clonezilla, on

                http://tinypic.com/view.php?pic=2mza5pi&s=5

                /Michael

                 
    • Klavs Klavsen

      Klavs Klavsen - 2009-04-20

      appearently the savedisk (which we did in expert mode) went horribly wrong.

      I did one in beginner mode and now I can restore that.

      Thank you for your help.

       
    • tobiz1

      tobiz1 - 2009-04-27

      I've got a similar problem but with saving and restoring images.  Firstly I created an image of the sda1 (HDD) partition onto my USB ext3 drive; no problems. Checked the USB drive had lots of Clonezilla like stuff on it including a 7GB file, called SDA1 I assumed this was the image. Shutdown the machine and disconnected the HDD (for safety!) and connected the SDD, rebooted Clonezilla. Went through all the options, selected the USB drive as the source of the image to recover to the SDD but it eventually said there was no image on the (USB) disc! Tried all sort of things, eg moving partimag directory up the tree but always the same msg!! Did a google search and found others had had the same error, but normally when doing something more complex, eg SSH to remote device. So I'm stuck.  Maybe I'm doing something wrong, if so I'd like to know what.

       
      • tobiz1

        tobiz1 - 2009-04-27

        Sorry!  SDD should have been SSD, ie Solid State Disk!!

         
      • Steven Shiau

        Steven Shiau - 2009-04-27

        Tobiz1,
        You mentioned you save a partition image (by saveparts, I think), so please make sure you choose "restoreparts" instead of "restoredisk", since the image you saved is for a partition, not for a disk.

        Steven.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.