Menu

Failed to find partition /DEV/SDA1

Alex Del
2008-02-29
2013-04-05
  • Alex Del

    Alex Del - 2008-02-29

    Hello,

    I've created a clone of an HP Proliant DL360G5 which used a raid controller E200i without problem.
    This image is stored in the default folder /home/partimag/

    When i'm trying to restore this image file, clonezilla returns me every times the same error log:

    "Checking the intergrity of partition table in the disk /dev/sda..."
    "Restoring partition /dev/sda1"
    "Failed to find this partition in this system: /dev/sda1"

    I've checked after that, and the SDA1 partition has been well created.
    When I enter the command "FDISK -l", I obtain the following informations:

    "/dev/cciss/c0d0p1 START 1 END 8708 ID 7 SYSTEM HPFS/NTFS"

    It sounds like the restoring tool try to restore on /dev/sda1, but the partition created was /dev/cciss/d0d0p1.

    Any suggestion about this problem?

    ps: sorry for my poor english, i'm french.

     
    • Steven Shiau

      Steven Shiau - 2008-02-29

      Please let us know your Clonezilla live version.
      Tkx.

       
    • Alex Del

      Alex Del - 2008-02-29

      Hello,

      I'm using Clonezilla Server Sdition.
      How can i obtain the version?

      thx.

       
      • Steven Shiau

        Steven Shiau - 2008-02-29

        Ha... You post your question in clonezilla live.
        OK, it's clonezilla server edition, please run
        /opt/drbl/bin/drbl-bug-report
        and you will get a file, please post it.

        As for the mapping, when restoring, the program /opt/drbl/sbin/create-cciss-mapping should be run and the mapping should be automatically created. No idea why it failed there.
        Maybe you can do something like this to debug:
        1. In drbl server, run /opt/drbl/sbin/dcs -> remote-linux-txt
        2. Boot your client via PXE, enter DRBL client text mode
        3. Login as root, run
           /opt/drbl/sbin/ocs-sr -x
           to restore your image.
        4. Find any errors or weird messages, then copy and paste that.

         
        • Alex Del

          Alex Del - 2008-02-29

          thx for answer

          Below the drbl-bug-report

          -------CUT BEGIN HERE--------------------------------------------
          Some info about the DRBL environment (PLEASE DO NOT EDIT THEM!):
          ===
          OS version: CentOS 5
          Server arch: i686
          Server CPU:  Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
          Server memory size: 1033640 kB
          Server Kernel version: 2.6.18-53.1.13.el5
          Installed DRBL-related packages:  drbl-1.8.2-38 partclone-0.0.5-16 mkpxeinitrd-net-1.2-20 clonezilla-2.2.4-12 mkswap-uuid-0.1.0-3 drbl-partimage-0.6.7-1drbl drbl-ntfsprogs-2.0.0-1 drbl-chntpw-0.0.20040818-7 drbl-lzop-1.02-0.8drbl udpcast-20070602-1drbl drbl-etherboot-5.4.3-2 freedos-1.0-11drbl
          Server glibc ver and arch: glibc-2.5-18.el5_1.1 i686
          Client kernel version: 2.6.18-53.1.13.el5
          Client kernel arch: i686
          NICs with private IP address in server: eth0 eth1
          Private IP address in server: 192.168.1.251 192.168.1.250
          Total client no: 12
          Client IP address: 192.168.1.1 192.168.1.10 192.168.1.11 192.168.1.12 192.168.1.2 192.168.1.3 192.168.1.4 192.168.1.5 192.168.1.6 192.168.1.7 192.168.1.8 192.168.1.9
          -------CUT END HERE----------------------------------------------

           
          • Alex Del

            Alex Del - 2008-02-29

            Below the error I have when i tried to restore:

            First error:
            sfdisk: ERROR: sector 0 does not have an msdos signature
            /dev/sda: unrecognized partition table type

            Second error:
            Restoring partition /dev/sda1...
            Failed to find this partition in this system: /dev/sda1

            Any idea?

            ---------------------------------------------------------------
            Mapping the device list for cciss dev...
            Linking Device /dev/cciss/c0d0 to /dev/sda
            *******************************************
            Try to turn on the harddisk "/dev/sda" DMA...
            No HD DMA information, maybe this not a IDE device!
            *******************************************
            Activating the partition info in /proc... done!
            *****************************************************.
            The following step is to restore image to the harddisk/partition(s) in this machine: "/home/partimag/TEST-ADL-DL360G5-E200i-XPSP2" -> "sda (sda1)"
            WARNING!!! WARNING!!! WARNING!!!
            WARNING! THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST: sda (sda1)
            Are you sure you want to continue ?
            [y/N] y
            OK, let's do it!!
            This program is not started by clonezilla server. You are using this command to restore image "/home/partimag/TEST-ADL-DL360G5-E200i-XPSP2" to local disk(s) "sda" in this machine.
            WARNING!!! WARNING!!! WARNING!!!
            WARNING! THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST: sda (sda1)
            Let me ask you again, Are you sure you want to continue ?
            [y/N] y
            OK, let's continue!
            Stopping mkswapfile services:  Disk /dev/cciss/c0d0 doesn't contain a valid partition table
                                                                       [  OK  ]
            Shutting down the Logical Volume Manager
              No volume groups found
              No volume groups found
            Finished Shutting down the Logical Volume Manager
            Creating partition in /dev/sda...
            *****************************************************.
            Fri Feb 29 17:49:23 CET 2008
            Writinging the partition table...
            Running sfdisk --force /dev/sda < /home/partimag/TEST-ADL-DL360G5-E200i-XPSP2/sda-pt.sf
            Checking that no-one is using this disk right now ...
            OK

            sfdisk: ERROR: sector 0 does not have an msdos signature
            /dev/sda: unrecognized partition table type
            No partitions found

            Disk /dev/sda: 8709 cylinders, 255 heads, 32 sectors/track
            Old situation:
            New situation:
            Units = sectors of 512 bytes, counting from 0

               Device Boot    Start       End   #sectors  Id  System
            /dev/sda1   *        32  71057279   71057248   7  HPFS/NTFS
            /dev/sda2             0         -          0   0  Empty
            /dev/sda3             0         -          0   0  Empty
            /dev/sda4             0         -          0   0  Empty
            Successfully wrote the new partition table

            Re-reading the partition table ...
            If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
            to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
            (See fdisk(8).)

            This is done by sfdisk --force /dev/sda < /home/partimag/TEST-ADL-DL360G5-E200i-XPSP2/sda-pt.sf
            Checking the integrity of partition table in the disk /dev/sda...
            Restoring partition /dev/sda1...
            Failed to find this partition in this system: /dev/sda1
            *****************************************************.
            The /proc/partitions in this system:
            major minor  #blocks  name

            104     0   35532720 cciss/c0d0
            104     1   35528624 cciss/c0d0p1
            *****************************************************.
            Maybe the partition table does not exist ? Did you check option "-k" in when running Clonezilla ? If so, do NOT check "-k" so that Clonezilla can create a partition table for you.
            ---------------------------------------------------------------------

             
    • Alex Del

      Alex Del - 2008-02-29

      During the creation of the clone, there is a step named mapping:

      It link /dev/cciss/c0d0 to /dev/sda and /dev/cciss/c0d0p1 to /dev/sda1

      Is-it possible to create the same link during the restoration process?
      And how to do that?

       
    • Steven Shiau

      Steven Shiau - 2008-02-29

      The problem is that here we do not have cciss RAID card. Is there anyone here in this forum encountered the same problem ? If so, please let us know.

       
    • Gadget Man

      Gadget Man - 2008-03-01

      I also discovered that I have this issue.

      I created a backup with ClonezillaLive 1.0.9-10.  When I went to restore I received the above error. 

      I then tried a restore with 1.0.7-18 (using the image created with 1.0.9-10) and am currently in the process of restoring.  Looks like something happened between 1.0.7-18 and 1.0.9-10 (glad I kept my old CD :-) )

      I'll provide any info I can to help with this issue.

      Hardware: HP DL360 G3 with HP Smart Array 5i+ Controller.

       
      • Alex Del

        Alex Del - 2008-03-02

        Does exist a previous version of Clonezilla server edition?

         
        • Steven Shiau

          Steven Shiau - 2008-03-03

          Yes. You can find that in
          http://opensource.nchc.org.tw/drbl-core/i386/RPMS.drbl-oldstable/
          http://opensource.nchc.org.tw/drbl-core/pool/drbl/oldstable/
          Make sure you use both old drbl and clonezilla.

          However, if possible, I'd like to test what's the problem in this version with cciss. The problem here is we do not have cciss RAID card. If you can boot your machine via clonezilla live and let us access that remotely, please email me at <steven _at_ nchc org tw> so that we have a chance to fix this bug.

           
          • Alex Del

            Alex Del - 2008-03-03

            Not a problem to do that guy.
            Give me the process to follow in clonezilla live to make this platform accessible?
            What kind of remote access do you want to use?
            Do I have to install vnc?

             
            • Steven Shiau

              Steven Shiau - 2008-03-03

              OK, great. In your cciss machine,
              1. Boot it with Clonezilla live 1.0.9-10
              2. Enter command line prompt
              3. sudo su -
              4. Configure public IP address by "ocs-live-netcfg" or whatever method you are familiar.
              5. Set password for root account by:
                 passwd root
              6. Start sshd by:
                 /etc/init.d/ssh start

              Then email me (steven _at_ nchc org tw) the password and IP address so that I can access that machine. Please do not put any valuable data in this testing machine.

               
              • Alex Del

                Alex Del - 2008-03-03

                Done mail sent.

                 
    • Steven Shiau

      Steven Shiau - 2008-03-06

      This bug was fixed. Here I borrowed a machine with CCISS RAID card, and I know the problem.
      Please give unstable Clonezilla server edition a try (DRBL 1.8.2-50, Clonezilla 2.2.4-25 in http://opensource.nchc.org.tw/drbl-core/\) or Clonezilla live 1.0.9-18 (in http://opensource.nchc.org.tw/clonezilla-live/testing/\).

      Please let me know the results.
      Thanks in advance.

      Regards,
      Steven.

       
      • Alex Del

        Alex Del - 2008-03-06

        Hello,

        I will try it tomorrow on some server there in France.

        Thanks in advance for your hard work.

        Alex

         
      • Alex Del

        Alex Del - 2008-03-07

        Hello Steven,

        Thanks it works now. I've tested DRBL 1.8.2-50, Clonezilla 2.2.4-25 on a HP server Proliant DL360G5 with a Raid Controller Smart array E200i (cciss), and the mapping works fine. I can now restore an image.

        I've just one word to show you my grateful.

        Good job.

        Bye

        Alex

         

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.