Il giorno domenica 9 aprile 2017 04:47:48 UTC+2, DisneyWizard the Fantasmic! ha
scritto:
> [SOLVED] {dd if=/dev/sdb of=/dev/sda &} duplicates terabyte drives.
>
> My life in code and photos recently approached half a Terabyte, the limit of
my
> USB external drive. Now with an HD dashcam the brink was in sight, so I
> purchased a 3TB drive on sale at Fry's for $80. I wanted a bit for bit
duplicate
> of the old drive on the new one.
>
> NO FEAR.
> My first concern was the new drive is USB 3.0 and the old drive was 2.0. Not
to
> worry, that just means the 2.0 will be the slowness in the bottleneck
factoring.
> They are perfectly compatible in the eyes of the Pi and most other controller
> devices. USB 3.0 is an investment in the future. This 3TB drive is my first
USB
> 3.0 device. It powers solely from the Pi3+ and the Pi Zeros will be able to
> connect with OTB to OTB USB cable (and my Android phone and dashcam dump)
> according to plan, just not as fast as the drive is able.
> An other concern was transfer software, what would make an identical copy?
> Several answers were researched on the Google query "bit for bit disk copy"
> later refined to "bit for bit disk copy in Linux command line". The simplest
and
> most powerful choice was the linux console command:
>
> dd if=/dev/sdb of=/dev/sda &
>
also the most stupid choice in this case.
dd will copy EVERYTHING, even empty space.
And also partition table etc. so the result will be a 3TB disk with a 500GB
partition, that you then have to expand using parted or similar.
Much better (and faster) in this case to mount both HDs and do a cp -a.
Bye Jack
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|