November 28th, 2020, 6:02
$ lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sdc
├─sdc1
│ vfat /sysro
│ 020C-0000
├─sdc2
│ vfat /db 0257-0000
├─sdc3
│ vfat /vmail
│ 02F6-0000
├─sdc4
│
├─sdc5
│ vfat /sysro
│ 036A-0000
├─sdc6
│ vfat /db 037F-0000
└─sdc7
vfat /unused
03FA-0000
$ sudo umount /dev/sdcX
$ sudo dd if=/dev/sdc of=/home/jason/SSD.dd
234441648+0 records in
234441648+0 records out
120034123776 bytes (120 GB, 112 GiB) copied, 2850.17 s, 42.1 MB/s
$ file SSD.dd
SSD.dd: DOS/MBR boot sector; partition 1 : ID=0x6, active, start-CHS (0x0,1,1), end-CHS (0x8f,254,63), startsector 63, 2313297 sectors; partition 2 : ID=0xb, start-CHS (0x90,0,1), end-CHS (0x3ea,254,63), startsector 2313360, 13799835 sectors; partition 3 : ID=0xc, start-CHS (0x3eb,0,1), end-CHS (0x3ff,254,63), startsector 16113195, 29543535 sectors; partition 4 : ID=0xf, start-CHS (0x3ff,0,1), end-CHS (0x3ff,254,63), startsector 45656730, 188784918 sectors
# dd if=SSD.dd | pv | dd of=/dev/sdc bs=1M
234441648+0 records iniB/s] [ <=> ]
234441648+0 records out
120034123776 bytes (120 GB, 112 GiB) copied, 4376.66 s, 27.4 MB/s
111GiB 1:12:56 [26.2MiB/s] [ <=> ]
1+2129501 records in
1+2129501 records out
120034123776 bytes (120 GB, 112 GiB) copied, 4415.03 s, 27.2 MB/s
November 29th, 2020, 7:26
November 29th, 2020, 7:38
northwind wrote:The operating system is irrelevant to the cloning procedure.
Just do a sector-by-sector clone to another hdd using HDDRawCopyTool (win) or HDDSuperClone (linux).
As you're already using linux, HDDSuperClone will be your pick.
Connect destination drive, launch HDDSC, select source and destination and just let it finish.
November 29th, 2020, 15:13
November 29th, 2020, 15:59
hack3rcon wrote:northwind wrote:The operating system is irrelevant to the cloning procedure.
Just do a sector-by-sector clone to another hdd using HDDRawCopyTool (win) or HDDSuperClone (linux).
As you're already using linux, HDDSuperClone will be your pick.
Connect destination drive, launch HDDSC, select source and destination and just let it finish.
I already did it!, "dd" don't do it?
What is the different between "dd" and "HDDSC"?
November 29th, 2020, 17:16
November 29th, 2020, 18:24
November 30th, 2020, 3:44
November 30th, 2020, 5:21
maximus wrote:hack3rcon wrote:northwind wrote:The operating system is irrelevant to the cloning procedure.
Just do a sector-by-sector clone to another hdd using HDDRawCopyTool (win) or HDDSuperClone (linux).
As you're already using linux, HDDSuperClone will be your pick.
Connect destination drive, launch HDDSC, select source and destination and just let it finish.
I already did it!, "dd" don't do it?
What is the different between "dd" and "HDDSC"?
I actually did a test with the dd commands, and the outcome was an exact duplicate of the device. So unless something went wrong, there may be something else going on. Maybe the switch it somehow tied to the serial number of the drive. Or maybe the drive has an HPA or DCO where the switch is accessing a hidden area that is not cloned by normal methods without removing the HPA or DCO.
One thing I will point out is that using pv with the dd command doubled the amount of time it should have taken to write back to the drive.
December 2nd, 2020, 2:44
December 2nd, 2020, 18:49
hack3rcon wrote:The HDDSC is not OK for bootable Disks?
December 8th, 2020, 19:35
December 15th, 2020, 5:59
DRUG wrote:Mitel has a controller that checks for drive serial number and brand. That it's locked.
December 15th, 2020, 6:02
December 15th, 2020, 17:29
What is the different between "dd" and "HDDSC"?
How can I compare the contents of two HDD sector by sector?
I checked the MD5 of Original SSD Drive with Cloned SSD Drive and all partitions has different MD5 codes.
One thing I will point out is that using pv with the dd command doubled the amount of time it should have taken to write back to the drive.
Or maybe the drive has an HPA or DCO
December 15th, 2020, 19:17
It is not a switch, but something else. Do what I had to do to find out what it was. Do a (Google) search for "linux dd pv" and look through the results.What does that “pv” switch do ?
Again, (Google) search is your friend, "hard drive hpa dco".What do HPA and DCO stand for ?
December 15th, 2020, 19:27
Quote:
What is the different between "dd" and "HDDSC"?
HDDSuperClone is specifically designed to handle defective drives, which is not the case here, so to clone or image a non defective drive they should have the exact same outcome, I don't know why HDDSC was suggested here.
December 15th, 2020, 20:39
Again, (Google) search is your friend
Honestly, when I want to do something with dd, I use ddrescue instead, partly because I am already familiar with the command format, but also because it already shows the progress, so no need for pv.
December 15th, 2020, 21:28
abolibibelot wrote:Again, (Google) search is your friend
Well, first, no, Google is not mah friend, it's nobody's friend except those who run Google and those who benefit from their partnership with Google, and moreover, as you might know, doing a search on any Web search engine can lead to the right answer right away, but can also more often than not lead to a tremendous amount of B.S., or in between, answers which are technically correct but involve a prerequisite knowledge of the subject to be clearly understood, or technically correct but formulated in such convoluted or confusing terms that without an already comprehensive knowledge of the subject it's going to be misleading to anyone aiming at actually learning something, and that's why forums like this one exist, so that people of various knowledge and experience level can interact directly and collectively to quickly get to the point and separate facts from B.S. in a timely manner. {1} Perhaps the answer to those two questions is simple, from the point of view of someone who already knows it, but, since I've been reading quite a bit on the topic of HDDs and data recovery over the past few years, when I read something that I had never seen mentioned anywhere before, I tend to figure that it's quite advanced or arcane stuff, and, given the opportunity, prefer to ask someone who can provide a straightforward reply — in about as many characters as it requires to advise to go google it, possibly less — rather than going into yet another potential fool's errand, which I do too much already {2}, and which is highly likely given how the global signal-to-noise ratio of our world is dwindling on a yearly basis.
(Take that Marcel Proust and James Joyce. I'll reply in haiku next time.)Honestly, when I want to do something with dd, I use ddrescue instead, partly because I am already familiar with the command format, but also because it already shows the progress, so no need for pv.
I, too, prefer to use ddrescue rather than dd with non defective devices (because more familiar with the syntax as well, and it provides useful options like “sparse” writing), but the point here was that the O.P. used dd, which should have worked well for the intended purpose, but did not, and therefore it's unlikely that using ddrescue or HDDSuperClone instead can fix the issue, since, for the intended purpose, they do nothing more.
{1} Take a breath, brace for second sentence.
{2} One recent example : yesterday, while translating subtitles for this movie (which I highly recommend by the way), I searched what “SW Keihin” stood for, with those keywords all I got was a manufacture of cars and motorbikes carburetors founded in 1956, which could not be relevant to 1945 Nagasaki ; then I tried “SW acronym”, and with a 2 letters acronym you can bet that I got a lot of irrelevant B.S., the first hit on page 1 being “sex worker” from the never disappointing Urban Dictionary... After about half an hour, I got some hints that “SW” might stand for “Shinjuku Ward”, but then I couldn't find an obvious association with “Keihin”, so I gave up, and just put “Shinjuku”, which may or may not be true — and noone will care whatsoever when watching the movie anyway.
December 16th, 2020, 5:40
and that's why forums like this one exist
Powered by phpBB © phpBB Group.