dd command clones 10MB and stops











up vote
0
down vote

favorite












I am trying to clone old windows 8 HDD disk to new SSD. Both have the same capacity: 250GB



The problem is that dd command stops quickly after copying 10MB only.



Here is the output:




root@x72j:~# dd if=/dev/sdd of=/dev/sdc bs=128M conv=notrunc,noerror
0+1 records in
0+1 records out
10485760 bytes (10 MB) copied, 0.384963 s, 27.2 MB/s


I even tried copying to /dev/null




root@x72j:~# dd if=/dev/sdd of=/dev/null bs=128M conv=notrunc,noerror
0+1 records in
0+1 records out
10485760 bytes (10 MB) copied, 0.00766644 s, 1.4 GB/s


Why it doesn't clone full disk?










share|improve this question






















  • Have you tried to just use a simple dd if=/dev/sdd of=/dev/sdc with no limiting arguments? Here is an answer that talks to this subject: Check out this answer for details: askubuntu.com/questions/435694/…
    – SDsolar
    Aug 13 '17 at 16:43

















up vote
0
down vote

favorite












I am trying to clone old windows 8 HDD disk to new SSD. Both have the same capacity: 250GB



The problem is that dd command stops quickly after copying 10MB only.



Here is the output:




root@x72j:~# dd if=/dev/sdd of=/dev/sdc bs=128M conv=notrunc,noerror
0+1 records in
0+1 records out
10485760 bytes (10 MB) copied, 0.384963 s, 27.2 MB/s


I even tried copying to /dev/null




root@x72j:~# dd if=/dev/sdd of=/dev/null bs=128M conv=notrunc,noerror
0+1 records in
0+1 records out
10485760 bytes (10 MB) copied, 0.00766644 s, 1.4 GB/s


Why it doesn't clone full disk?










share|improve this question






















  • Have you tried to just use a simple dd if=/dev/sdd of=/dev/sdc with no limiting arguments? Here is an answer that talks to this subject: Check out this answer for details: askubuntu.com/questions/435694/…
    – SDsolar
    Aug 13 '17 at 16:43















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to clone old windows 8 HDD disk to new SSD. Both have the same capacity: 250GB



The problem is that dd command stops quickly after copying 10MB only.



Here is the output:




root@x72j:~# dd if=/dev/sdd of=/dev/sdc bs=128M conv=notrunc,noerror
0+1 records in
0+1 records out
10485760 bytes (10 MB) copied, 0.384963 s, 27.2 MB/s


I even tried copying to /dev/null




root@x72j:~# dd if=/dev/sdd of=/dev/null bs=128M conv=notrunc,noerror
0+1 records in
0+1 records out
10485760 bytes (10 MB) copied, 0.00766644 s, 1.4 GB/s


Why it doesn't clone full disk?










share|improve this question













I am trying to clone old windows 8 HDD disk to new SSD. Both have the same capacity: 250GB



The problem is that dd command stops quickly after copying 10MB only.



Here is the output:




root@x72j:~# dd if=/dev/sdd of=/dev/sdc bs=128M conv=notrunc,noerror
0+1 records in
0+1 records out
10485760 bytes (10 MB) copied, 0.384963 s, 27.2 MB/s


I even tried copying to /dev/null




root@x72j:~# dd if=/dev/sdd of=/dev/null bs=128M conv=notrunc,noerror
0+1 records in
0+1 records out
10485760 bytes (10 MB) copied, 0.00766644 s, 1.4 GB/s


Why it doesn't clone full disk?







hard-drive dd clone






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 29 '16 at 11:07









redochka

1266




1266












  • Have you tried to just use a simple dd if=/dev/sdd of=/dev/sdc with no limiting arguments? Here is an answer that talks to this subject: Check out this answer for details: askubuntu.com/questions/435694/…
    – SDsolar
    Aug 13 '17 at 16:43




















  • Have you tried to just use a simple dd if=/dev/sdd of=/dev/sdc with no limiting arguments? Here is an answer that talks to this subject: Check out this answer for details: askubuntu.com/questions/435694/…
    – SDsolar
    Aug 13 '17 at 16:43


















Have you tried to just use a simple dd if=/dev/sdd of=/dev/sdc with no limiting arguments? Here is an answer that talks to this subject: Check out this answer for details: askubuntu.com/questions/435694/…
– SDsolar
Aug 13 '17 at 16:43






Have you tried to just use a simple dd if=/dev/sdd of=/dev/sdc with no limiting arguments? Here is an answer that talks to this subject: Check out this answer for details: askubuntu.com/questions/435694/…
– SDsolar
Aug 13 '17 at 16:43












3 Answers
3






active

oldest

votes

















up vote
0
down vote













Try this:



exec sudo -i
fdisk -l
umount /dev/sdd?
fsck -y /dev/sdd?
dd if=/dev/sdd of=/dev/sdc bs=1M conv=noerror,sync


Change ? for the corresponding partition of /dev/sdd






share|improve this answer





















  • thanks for the response but I am targeting the device sdd and not just its partition.
    – redochka
    Jan 10 '17 at 21:41


















up vote
0
down vote













For anyone experiencing the same issue, it is likely because you have actually created the "file" /dev/sdd



The virtual /dev parition is usually 10MB which is why the dd stops after 10MB.



Even if the "device" /dev/sdd later shows up, it will be blocked by the existing file.



Try ls -la /dev/sd* and you should see some anomalies.






share|improve this answer





















  • i don't understand your response. Sorry
    – redochka
    Jan 10 '17 at 21:40


















up vote
0
down vote













Most dd commands can be replaced with cat.



E.g.:



cat /dev/sdd > /dev/sdc 





share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f779015%2fdd-command-clones-10mb-and-stops%23new-answer', 'question_page');
    }
    );

    Post as a guest
































    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Try this:



    exec sudo -i
    fdisk -l
    umount /dev/sdd?
    fsck -y /dev/sdd?
    dd if=/dev/sdd of=/dev/sdc bs=1M conv=noerror,sync


    Change ? for the corresponding partition of /dev/sdd






    share|improve this answer





















    • thanks for the response but I am targeting the device sdd and not just its partition.
      – redochka
      Jan 10 '17 at 21:41















    up vote
    0
    down vote













    Try this:



    exec sudo -i
    fdisk -l
    umount /dev/sdd?
    fsck -y /dev/sdd?
    dd if=/dev/sdd of=/dev/sdc bs=1M conv=noerror,sync


    Change ? for the corresponding partition of /dev/sdd






    share|improve this answer





















    • thanks for the response but I am targeting the device sdd and not just its partition.
      – redochka
      Jan 10 '17 at 21:41













    up vote
    0
    down vote










    up vote
    0
    down vote









    Try this:



    exec sudo -i
    fdisk -l
    umount /dev/sdd?
    fsck -y /dev/sdd?
    dd if=/dev/sdd of=/dev/sdc bs=1M conv=noerror,sync


    Change ? for the corresponding partition of /dev/sdd






    share|improve this answer












    Try this:



    exec sudo -i
    fdisk -l
    umount /dev/sdd?
    fsck -y /dev/sdd?
    dd if=/dev/sdd of=/dev/sdc bs=1M conv=noerror,sync


    Change ? for the corresponding partition of /dev/sdd







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered May 29 '16 at 14:57









    kyodake

    9,47011932




    9,47011932












    • thanks for the response but I am targeting the device sdd and not just its partition.
      – redochka
      Jan 10 '17 at 21:41


















    • thanks for the response but I am targeting the device sdd and not just its partition.
      – redochka
      Jan 10 '17 at 21:41
















    thanks for the response but I am targeting the device sdd and not just its partition.
    – redochka
    Jan 10 '17 at 21:41




    thanks for the response but I am targeting the device sdd and not just its partition.
    – redochka
    Jan 10 '17 at 21:41












    up vote
    0
    down vote













    For anyone experiencing the same issue, it is likely because you have actually created the "file" /dev/sdd



    The virtual /dev parition is usually 10MB which is why the dd stops after 10MB.



    Even if the "device" /dev/sdd later shows up, it will be blocked by the existing file.



    Try ls -la /dev/sd* and you should see some anomalies.






    share|improve this answer





















    • i don't understand your response. Sorry
      – redochka
      Jan 10 '17 at 21:40















    up vote
    0
    down vote













    For anyone experiencing the same issue, it is likely because you have actually created the "file" /dev/sdd



    The virtual /dev parition is usually 10MB which is why the dd stops after 10MB.



    Even if the "device" /dev/sdd later shows up, it will be blocked by the existing file.



    Try ls -la /dev/sd* and you should see some anomalies.






    share|improve this answer





















    • i don't understand your response. Sorry
      – redochka
      Jan 10 '17 at 21:40













    up vote
    0
    down vote










    up vote
    0
    down vote









    For anyone experiencing the same issue, it is likely because you have actually created the "file" /dev/sdd



    The virtual /dev parition is usually 10MB which is why the dd stops after 10MB.



    Even if the "device" /dev/sdd later shows up, it will be blocked by the existing file.



    Try ls -la /dev/sd* and you should see some anomalies.






    share|improve this answer












    For anyone experiencing the same issue, it is likely because you have actually created the "file" /dev/sdd



    The virtual /dev parition is usually 10MB which is why the dd stops after 10MB.



    Even if the "device" /dev/sdd later shows up, it will be blocked by the existing file.



    Try ls -la /dev/sd* and you should see some anomalies.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 10 '17 at 6:42









    Finally WorkedItOut

    1




    1












    • i don't understand your response. Sorry
      – redochka
      Jan 10 '17 at 21:40


















    • i don't understand your response. Sorry
      – redochka
      Jan 10 '17 at 21:40
















    i don't understand your response. Sorry
    – redochka
    Jan 10 '17 at 21:40




    i don't understand your response. Sorry
    – redochka
    Jan 10 '17 at 21:40










    up vote
    0
    down vote













    Most dd commands can be replaced with cat.



    E.g.:



    cat /dev/sdd > /dev/sdc 





    share|improve this answer

























      up vote
      0
      down vote













      Most dd commands can be replaced with cat.



      E.g.:



      cat /dev/sdd > /dev/sdc 





      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Most dd commands can be replaced with cat.



        E.g.:



        cat /dev/sdd > /dev/sdc 





        share|improve this answer












        Most dd commands can be replaced with cat.



        E.g.:



        cat /dev/sdd > /dev/sdc 






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 4 hours ago









        Owl

        1012




        1012






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f779015%2fdd-command-clones-10mb-and-stops%23new-answer', 'question_page');
            }
            );

            Post as a guest




















































































            Popular posts from this blog

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents