cannot backup with dd












-1















using dd to create part. image I always get the msg that there is no Storage available
on the output file.

my cmd. is: sudo dd if=/dev/sdb1 of=/dev/sdc2.disk1.img

device sdb1 is my Ubuntu 11.10 ext4 root partition 54 Gb. in size.

device sdc2 is an empty ext4 partition 80 Gb. in size on an other external hard drive.

Same results if devices are mounted or unmounted or if I run dd as root user.










share|improve this question


















  • 3





    You should mount /dev/sdc2 somewhere, say on /mnt, then use as output a new file on /mnt, for example /mnt/file.image.

    – enzotib
    Feb 11 '12 at 22:07











  • Also I'd like to mention that dd is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this /dev/sdc2.disk1.img thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) )

    – Sergey
    Feb 11 '12 at 23:23
















-1















using dd to create part. image I always get the msg that there is no Storage available
on the output file.

my cmd. is: sudo dd if=/dev/sdb1 of=/dev/sdc2.disk1.img

device sdb1 is my Ubuntu 11.10 ext4 root partition 54 Gb. in size.

device sdc2 is an empty ext4 partition 80 Gb. in size on an other external hard drive.

Same results if devices are mounted or unmounted or if I run dd as root user.










share|improve this question


















  • 3





    You should mount /dev/sdc2 somewhere, say on /mnt, then use as output a new file on /mnt, for example /mnt/file.image.

    – enzotib
    Feb 11 '12 at 22:07











  • Also I'd like to mention that dd is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this /dev/sdc2.disk1.img thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) )

    – Sergey
    Feb 11 '12 at 23:23














-1












-1








-1








using dd to create part. image I always get the msg that there is no Storage available
on the output file.

my cmd. is: sudo dd if=/dev/sdb1 of=/dev/sdc2.disk1.img

device sdb1 is my Ubuntu 11.10 ext4 root partition 54 Gb. in size.

device sdc2 is an empty ext4 partition 80 Gb. in size on an other external hard drive.

Same results if devices are mounted or unmounted or if I run dd as root user.










share|improve this question














using dd to create part. image I always get the msg that there is no Storage available
on the output file.

my cmd. is: sudo dd if=/dev/sdb1 of=/dev/sdc2.disk1.img

device sdb1 is my Ubuntu 11.10 ext4 root partition 54 Gb. in size.

device sdc2 is an empty ext4 partition 80 Gb. in size on an other external hard drive.

Same results if devices are mounted or unmounted or if I run dd as root user.







dd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 11 '12 at 21:45









Paul HartwigPaul Hartwig

1




1








  • 3





    You should mount /dev/sdc2 somewhere, say on /mnt, then use as output a new file on /mnt, for example /mnt/file.image.

    – enzotib
    Feb 11 '12 at 22:07











  • Also I'd like to mention that dd is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this /dev/sdc2.disk1.img thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) )

    – Sergey
    Feb 11 '12 at 23:23














  • 3





    You should mount /dev/sdc2 somewhere, say on /mnt, then use as output a new file on /mnt, for example /mnt/file.image.

    – enzotib
    Feb 11 '12 at 22:07











  • Also I'd like to mention that dd is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this /dev/sdc2.disk1.img thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) )

    – Sergey
    Feb 11 '12 at 23:23








3




3





You should mount /dev/sdc2 somewhere, say on /mnt, then use as output a new file on /mnt, for example /mnt/file.image.

– enzotib
Feb 11 '12 at 22:07





You should mount /dev/sdc2 somewhere, say on /mnt, then use as output a new file on /mnt, for example /mnt/file.image.

– enzotib
Feb 11 '12 at 22:07













Also I'd like to mention that dd is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this /dev/sdc2.disk1.img thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) )

– Sergey
Feb 11 '12 at 23:23





Also I'd like to mention that dd is a really dangerous command which does no "sanity checks" or anything to prevent you from destroying your data; and in addition it is ran with superuser privileges. I wouldn't try to guess the correct syntax to use it via trial-and-error process (this /dev/sdc2.disk1.img thingie - is it "hmm... maybe that's how I can write to disk1.img file on the /dev/sdc2 filelsystem", right? :) )

– Sergey
Feb 11 '12 at 23:23










2 Answers
2






active

oldest

votes


















4














That is because you are trying to put the file in the /dev directory, which is a tmpfs that holds only a limited amount of files in ram. If you want to put the file in /dev/sdc2, then you have to mount it somewhere and put the file there.






share|improve this answer































    0














    dd if=/dev/sdb2 of=~/Desktop/file.img



    then do:



    dd if=~/Desktop/file.img of=/dev/whateverdevice bs=XM



    (where x is the amount of Megabytes per block). Make sure the destination device is unmounted.






    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',
      autoActivateHeartbeat: false,
      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%2f103423%2fcannot-backup-with-dd%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      4














      That is because you are trying to put the file in the /dev directory, which is a tmpfs that holds only a limited amount of files in ram. If you want to put the file in /dev/sdc2, then you have to mount it somewhere and put the file there.






      share|improve this answer




























        4














        That is because you are trying to put the file in the /dev directory, which is a tmpfs that holds only a limited amount of files in ram. If you want to put the file in /dev/sdc2, then you have to mount it somewhere and put the file there.






        share|improve this answer


























          4












          4








          4







          That is because you are trying to put the file in the /dev directory, which is a tmpfs that holds only a limited amount of files in ram. If you want to put the file in /dev/sdc2, then you have to mount it somewhere and put the file there.






          share|improve this answer













          That is because you are trying to put the file in the /dev directory, which is a tmpfs that holds only a limited amount of files in ram. If you want to put the file in /dev/sdc2, then you have to mount it somewhere and put the file there.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 11 '12 at 22:31









          psusipsusi

          31.1k15088




          31.1k15088

























              0














              dd if=/dev/sdb2 of=~/Desktop/file.img



              then do:



              dd if=~/Desktop/file.img of=/dev/whateverdevice bs=XM



              (where x is the amount of Megabytes per block). Make sure the destination device is unmounted.






              share|improve this answer




























                0














                dd if=/dev/sdb2 of=~/Desktop/file.img



                then do:



                dd if=~/Desktop/file.img of=/dev/whateverdevice bs=XM



                (where x is the amount of Megabytes per block). Make sure the destination device is unmounted.






                share|improve this answer


























                  0












                  0








                  0







                  dd if=/dev/sdb2 of=~/Desktop/file.img



                  then do:



                  dd if=~/Desktop/file.img of=/dev/whateverdevice bs=XM



                  (where x is the amount of Megabytes per block). Make sure the destination device is unmounted.






                  share|improve this answer













                  dd if=/dev/sdb2 of=~/Desktop/file.img



                  then do:



                  dd if=~/Desktop/file.img of=/dev/whateverdevice bs=XM



                  (where x is the amount of Megabytes per block). Make sure the destination device is unmounted.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered yesterday









                  Juan Carlos IturriagagoitiaJuan Carlos Iturriagagoitia

                  11




                  11






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f103423%2fcannot-backup-with-dd%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      數位音樂下載

                      When can things happen in Etherscan, such as the picture below?

                      格利澤436b