ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    DiskDump to a smaller USB

    Scheduled Pinned Locked Moved IT Discussion
    diskdumpusb cloningsmaller
    43 Posts 7 Posters 5.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MattSpellerM
      MattSpeller @stacksofplates
      last edited by

      @johnhooks hero of the thread - thank you, I'm saving that to try at home!

      stacksofplatesS 1 Reply Last reply Reply Quote 1
      • stacksofplatesS
        stacksofplates @MattSpeller
        last edited by

        @MattSpeller said:

        @johnhooks hero of the thread - thank you, I'm saving that to try at home!

        Ha don't call me a hero until we are sure it works 😛

        And like I said, there might be an easier way to do this but that's the first I thought of.

        1 Reply Last reply Reply Quote 1
        • stacksofplatesS
          stacksofplates
          last edited by

          All of that is also assuming you have space left to make a logical volume. I always leave extra room for LVM snapshots and one off scenarios like this.

          1 Reply Last reply Reply Quote 0
          • stacksofplatesS
            stacksofplates
            last edited by

            One other thing to watch for. Resize2fs only works with ext file systems. Last I heard you can't shrink an XFS file system, only grow it.

            1 Reply Last reply Reply Quote 0
            • stacksofplatesS
              stacksofplates
              last edited by stacksofplates

              I thought of one other way that could possibly work also. You can just copy the MBR on the big USB to the small one to make it bootable with dd if=/dev/bigusb of=/dev/smallusb bs=512 count=1 then you can just copy the actual files from the big USB to a new partition on the small one.

              1 Reply Last reply Reply Quote 1
              • JaredBuschJ
                JaredBusch
                last edited by

                BUy a 32gb USB. They are < $20. How much time are you wasting on this?

                DustinB3403D 1 Reply Last reply Reply Quote 3
                • DustinB3403D
                  DustinB3403 @JaredBusch
                  last edited by

                  @JaredBusch Thank you Jared, always so wise.

                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @DustinB3403
                    last edited by

                    @DustinB3403 said:

                    @JaredBusch Thank you Jared, always so wise.

                    It is a serious statement man. How much have you cost your company in the pursuit of of this?

                    DustinB3403D 1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403 @JaredBusch
                      last edited by

                      @JaredBusch None because I've been off for the past few days.

                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @DustinB3403
                        last edited by

                        @DustinB3403 said:

                        @JaredBusch None because I've been off for the past few days.

                        Then why are you giving away your time for free to your company?

                        My personal time is more valuable than that.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          I think that it is his person XenServer installation.

                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403
                            last edited by

                            For me this is a learning experience to even learn if its doable.

                            I'm doing other stuff as well, not just dicking around with this.

                            1 Reply Last reply Reply Quote 0
                            • IRJI
                              IRJ
                              last edited by IRJ

                              $10 and the 3 closest stores to me have them in stock so I bet your closest store would, too.

                              http://www.officedepot.com/a/products/124999/PNY-Attach-3-32GB-USB-Flash/?cm_mmc=PLA--Google--Data_Storage_Media-_-124999-VQ6-47886868556-VQ16-c-VQ17-pla-VQ18-online-VQ19-124999-VQ20-76860675716-VQ21--VQ22-177839036-VQ27-9203161436&gclid=CjwKEAiA3Ou1BRDso5XyhduuwFASJABP3PEDg3I-OGVYSxiU_IvvxBXhdqt36evzEUS1qj91jvgFHRoCNr3w_wcB

                              1 Reply Last reply Reply Quote 1
                              • JaredBuschJ
                                JaredBusch @scottalanmiller
                                last edited by

                                @scottalanmiller said:

                                I think that it is his person XenServer installation.

                                Even if this is true, that does not mean that time is free. Trying to shoehorn a larger disk into a smaller disk is never a good idea. Yes people try and do it all the time. Still does not make it a good idea.

                                DustinB3403D 1 Reply Last reply Reply Quote -1
                                • DustinB3403D
                                  DustinB3403 @JaredBusch
                                  last edited by gjacobse

                                  @JaredBusch Honestly Jared what the f[moderated] do you care what I do with my personal time?

                                  Mind your own business.

                                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @DustinB3403
                                    last edited by gjacobse

                                    @DustinB3403 said:

                                    @JaredBusch Honestly Jared what the f[moderated] do you care what I do with my personal time?

                                    Mind your own business.

                                    Because bad IT at home leads to bad IT at work.

                                    DustinB3403D DashrenderD 2 Replies Last reply Reply Quote -1
                                    • DustinB3403D
                                      DustinB3403 @JaredBusch
                                      last edited by

                                      @JaredBusch Pissy attitudes online leads to pissy attitudes at work.

                                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @DustinB3403
                                        last edited by

                                        @DustinB3403 said:

                                        @JaredBusch Pissy attitudes online leads to pissy attitudes at work.

                                        I never said anything more than it is bad decision making and a waste of time. Personal insults are uncalled for.

                                        1 Reply Last reply Reply Quote -1
                                        • DashrenderD
                                          Dashrender @JaredBusch
                                          last edited by gjacobse

                                          @JaredBusch said:

                                          @DustinB3403 said:

                                          @JaredBusch Honestly Jared what the f[moderated] do you care what I do with my personal time?

                                          Mind your own business.

                                          Because bad IT at home leads to bad IT at work.

                                          I don't consider the exercise of learning how to restore a larger partition to a smaller device, assuming data is smaller than the new smaller drive.

                                          1 Reply Last reply Reply Quote 1
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          • First post
                                            Last post