LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to clone a USB Drive ? (https://www.linuxquestions.org/questions/linux-software-2/how-to-clone-a-usb-drive-4175576604/)

bloozman23 04-06-2016 11:11 PM

Quote:

Originally Posted by michaelk (Post 5527323)
Probably not.

I do not think creating a new partition table generates a new disk identifier. It is just a random number created when building a new MBR. Odd but it might of always been zero from the start. If you can successfully read / write from the drive then it is probably ok.
Quote:

Take a look at the output of the dmesg command.
If you see any read / write errors pertaining to the flash drive then it is might be going bad.

My first guess was the drive was bad and expected the format to fail...

Code:

[ 4526.280006] usb 1-1: new high-speed USB device number 7 using ehci_hcd
[ 4526.414952] usb 1-1: New USB device found, idVendor=0781, idProduct=5567
[ 4526.414959] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4526.414962] usb 1-1: Product: Cruzer Blade
[ 4526.414965] usb 1-1: Manufacturer: SanDisk
[ 4526.414967] usb 1-1: SerialNumber: 4528401D5F52EAF7
[ 4526.417540] scsi10 : usb-storage 1-1:1.0
[ 4527.416703] scsi 10:0:0:0: Direct-Access    SanDisk  Cruzer Blade    8.02 PQ: 0 ANSI: 0 CCS
[ 4527.417055] sd 10:0:0:0: Attached scsi generic sg6 type 0
[ 4527.419682] sd 10:0:0:0: [sde] 3907583 512-byte logical blocks: (2.00 GB/1.86 GiB)
[ 4527.420206] sd 10:0:0:0: [sde] Write Protect is off
[ 4527.420213] sd 10:0:0:0: [sde] Mode Sense: 45 00 00 08
[ 4527.420708] sd 10:0:0:0: [sde] No Caching mode page found
[ 4527.420715] sd 10:0:0:0: [sde] Assuming drive cache: write through
[ 4527.425940] sd 10:0:0:0: [sde] No Caching mode page found
[ 4527.425946] sd 10:0:0:0: [sde] Assuming drive cache: write through
[ 4527.429934]  sde:
[ 4527.432799] sd 10:0:0:0: [sde] No Caching mode page found
[ 4527.432805] sd 10:0:0:0: [sde] Assuming drive cache: write through
[ 4527.432807] sd 10:0:0:0: [sde] Attached SCSI removable disk


michaelk 04-07-2016 01:52 PM

Nothing looks out of the ordinary. Those messages are just the system enumerating the drive. Have you tried writing data yet?

bloozman23 04-10-2016 10:57 PM

1 Attachment(s)
Quote:

Originally Posted by michaelk (Post 5527752)
Nothing looks out of the ordinary. Those messages are just the system enumerating the drive. Have you tried writing data yet?

1 . Wrote an ISO and then read, checked md5sum ok

2. performed a benchmark

jefro 04-11-2016 05:21 PM

Windows diskpart can make new id if you need it.


All times are GMT -5. The time now is 01:19 PM.