• Flash USB at speed of dim light


    Wow, just look at these speeds:

    [[email protected] Downloads]# dd bs=4M status=progress of=/dev/sdc if=arcolinux-v6.7.1-2018.04.26.iso
    2302672896 bytes (2.3 GB, 2.1 GiB) copied, 10 s, 230 MB/s
    571+1 records in
    571+1 records out
    2396798976 bytes (2.4 GB, 2.2 GiB) copied, 10.418 s, 230 MB/s
    [[email protected] Downloads]#

    Also this:
    [[email protected] Downloads]# dd bs=4M status=progress of=/dev/sdc if=arcolinux-v6.7.1-2018.04.26.iso
    1396703232 bytes (1.4 GB, 1.3 GiB) copied, 1 s, 1.4 GB/s
    571+1 records in
    571+1 records out
    2396798976 bytes (2.4 GB, 2.2 GiB) copied, 1.69377 s, 1.4 GB/s
    [[email protected] Downloads]# dd bs=512K status=progress of=/dev/sdc if=arcolinux-v6.7.1-2018.04.26.iso
    1661468672 bytes (1.7 GB, 1.5 GiB) copied, 1 s, 1.7 GB/s
    4571+1 records in
    4571+1 records out
    2396798976 bytes (2.4 GB, 2.2 GiB) copied, 1.39665 s, 1.7 GB/s
    [[email protected] Downloads]#

    This was done like 2 seconds apart. This is not possible. I wish it was.

    I noticed that this laptop can no longer recognize a USB pen. Above DD command was done on a 1TB USB external disk, but there below are on a 512MB pen. Any other USB device will be the same. It cannot format the USB and if it writes with DD, it’s at the speed of a dim light.

    So, anyone having USB ultra blazzing fast speed problems?

  • updating kernel and do not reboot?

  • @joekamprad said in Flash USB at speed of dim light:

    updating kernel and do not reboot?

    No, because I usually do reboot after kernels, but this happened yesterday after reboots too. And today it was a normal boot, as the laptop was turned off.

    So I cannot format or DD any USB since yesterday or day before, can’t remember. But how it “records” the USB with DD on those speeds, it’s strange. My bet is that USB pen or the USB port, are dead or not working properly, but it should not allow the DD to continue.

    Format shows an error, and usually it makes the device disappear.

  • is journal give something out?

    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    
  • @joekamprad said in Flash USB at speed of dim light:

    is journal give something out?

    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    

    Journal nothing related. But dmesg:

    [ 8538.119020] sd 6:0:0:0: Attached scsi generic sg3 type 0
    [ 8538.119632] sd 6:0:0:0: [sdc] 15868928 512-byte logical blocks: (8.12 GB/7.57 GiB)
    [ 8538.119709] sd 6:0:0:1: Attached scsi generic sg4 type 0
    [ 8538.120371] sd 6:0:0:0: [sdc] Write Protect is off
    [ 8538.120377] sd 6:0:0:0: [sdc] Mode Sense: 3b 00 00 00
    [ 8538.121732] sd 6:0:0:0: [sdc] No Caching mode page found
    [ 8538.121742] sd 6:0:0:0: [sdc] Assuming drive cache: write through
    [ 8538.192884] sdc: sdc1 sdc2
    [ 8538.197058] sd 6:0:0:0: [sdc] Attached SCSI removable disk
    [ 8538.420028] sd 6:0:0:1: [sdd] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
    [ 8538.420035] sd 6:0:0:1: [sdd] Sense not available.
    [ 8538.420045] sd 6:0:0:1: [sdd] 0 512-byte logical blocks: (0 B/0 B)
    [ 8538.420049] sd 6:0:0:1: [sdd] 0-byte physical blocks
    [ 8538.522722] sd 6:0:0:1: [sdd] Write Protect is off
    [ 8538.522728] sd 6:0:0:1: [sdd] Mode Sense: 00 00 00 00
    [ 8538.608668] sd 6:0:0:1: [sdd] Asking for cache data failed
    [ 8538.608679] sd 6:0:0:1: [sdd] Assuming drive cache: write through
    [ 8538.749626] sd 6:0:0:1: [sdd] Attached SCSI removable disk

    This is from today, but yesterday I did saw errors related to the USB, as first I thought that it was the USB pen who was dead. Today I’m not sure anymore.

    I tried two usb pen drives on another computer and it could not be formatted, so I think both the pen and the usb ports are dead and broke my usb pen.

    It’s the perfect disaster. My other laptop has cannot boot as it does not have Linux. I did rm -rf * yesterday for a test and now I cannot record another USB to install an OS.

  • From journalctl:
    May 15 15:32:50 linoacer udisksd[4201]: Error issuing BLKRRPART to /dev/sdc: Inappropriate ioctl for device

    This was when I tried to format the device. Just for log, because I will try later with another usb pen on another computer before I put it here.

    Just tried another and it was 2 seconds! LOL!

    [[email protected] Downloads]# dd bs=1M status=progress of=/dev/sdc if=antergos-minimal-18.4-x86_64.iso
    530579456 bytes (531 MB, 506 MiB) copied, 2 s, 265 MB/s
    723+0 records in
    723+0 records out
    758120448 bytes (758 MB, 723 MiB) copied, 2.6588 s, 285 MB/s
    [[email protected] Downloads]#

    I have to buy a brand new USB. Maybe 2 of 32GB hehehe

  • Rebooted anyway, and got an old USB that also plays mp3, that is 128MB of size:

    [[email protected] lino]# lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 465.8G 0 disk
    └─sda1 8:1 0 465.8G 0 part
    sdb 8:16 1 121.1M 0 disk
    └─sdb1 8:17 1 121.1M 0 part
    sdc 8:32 0 111.8G 0 disk
    ├─sdc1 8:33 0 255M 0 part /boot
    ├─sdc2 8:34 0 103.8G 0 part /
    ├─sdc3 8:35 0 1K 0 part
    └─sdc5 8:37 0 7.7G 0 part [SWAP]
    sr0 11:0 1 1024M 0 rom
    [[email protected] lino]# cd Downloads/
    [[email protected] Downloads]# dd bs=1M oflag=sync status=progress of=/dev/sdc if=arcolinux-v6.7.1-2018.04.26.iso
    2339373056 bytes (2.3 GB, 2.2 GiB) copied, 28 s, 83.5 MB/s
    2285+1 records in
    2285+1 records out
    2396798976 bytes (2.4 GB, 2.2 GiB) copied, 28.6512 s, 83.7 MB/s
    [[email protected] Downloads]#

    Wow. Help! I’m going crazy here. Damn, taking double pills today!

  • @casquinhas
    Can you use gparted on the USB drives? If so, umount the drive first, and then create a partition table (like msdos or gpt) and try formatting one big ext4 partition.
    Them mount it to e.g. /mnt and simply copy something there.
    Can you then read it?

  • @casquinhas said in Flash USB at speed of dim light:

    [[email protected] Downloads]# dd bs=1M oflag=sync status=progress of=/dev/sdc if=arcolinux-v6.7.1-2018.04.26.iso

    of=/dev/sdc ???

    sdc 8:32 0 111.8G 0 disk
    ├─sdc1 8:33 0 255M 0 part /boot
    ├─sdc2 8:34 0 103.8G 0 part /
    ├─sdc3 8:35 0 1K 0 part
    └─sdc5 8:37 0 7.7G 0 part [SWAP]
    

    should be /dev/sdb for the usb stick

    sdb 8:16 1 121.1M 0 disk
    └─sdb1 8:17 1 121.1M 0 part
    
  • lsblk -fm
    

    is a good command! :)

  • dd = Destroyer of Disks ;)

  • @manuel said in Flash USB at speed of dim light:

    @casquinhas
    Can you use gparted on the USB drives? If so, umount the drive first, and then create a partition table (like msdos or gpt) and try formatting one big ext4 partition.
    Them mount it to e.g. /mnt and simply copy something there.
    Can you then read it?

    Did not try gparted but disks always works and that could not be used. I already have 2 new USB, so will be back with more info soon.

  • @joekamprad said in Flash USB at speed of dim light:

    dd = Destroyer of Disks ;)

    It’s not the quote of the day, it’s the quote of life.

  • @joekamprad said in Flash USB at speed of dim light:

    @casquinhas said in Flash USB at speed of dim light:

    [[email protected] Downloads]# dd bs=1M oflag=sync status=progress of=/dev/sdc if=arcolinux-v6.7.1-2018.04.26.iso

    of=/dev/sdc ???

    sdc 8:32 0 111.8G 0 disk
    ├─sdc1 8:33 0 255M 0 part /boot
    ├─sdc2 8:34 0 103.8G 0 part /
    ├─sdc3 8:35 0 1K 0 part
    └─sdc5 8:37 0 7.7G 0 part [SWAP]
    

    should be /dev/sdb for the usb stick

    sdb 8:16 1 121.1M 0 disk
    └─sdb1 8:17 1 121.1M 0 part
    

    Yeah, I fuc*ed my install. It’s no fun, believe me. Made a few backups yesterday but destroyed all too.

    Testdisk recover nothing, so I’m also in the process of recovering and trying to understand what went with that laptop. I’m on the older one now.

    I know that the USB was always sdc and changed to sdb when I removed another usb. My mistake, but does not explain what went on with the USB pen, because DISKS could not format it, and that was strange.

    So I have two new. Another clean install on this Toshiba 635 with 11 or 12 years old, but it’s blazing fast to run any distro.

    update: while I was writing this, I was testing the new and the old USB’s.

    So did the same thing, and my old 16GB USB Sandisk is dead. All other USB pen’s are ok. So it leads to one conclusion, that my 16GB is dead and maybe all USB ports on the laptop too.

    My Acer laptop is turned off, I cannot look at it now, maybe in a few days I’ll turn it on, just to see how it goes. There is no way I could made any kind of mistake with the disks program, because I did the same now and only the 16GB is dead. Somehow the usb ports died or got crazy.

    I’m just sad I wrecked my Antergos main system. Not much to loose, but a few mails and a few docs, not very important, cause most of stuff is out of the laptop.

  • 2GB is way much on erased data … so /boot is completely erased + almost 2GB from / root that makes a system rescue almost impossible… but ddrescue can help to recover data from the disk

  • @casquinhas
    As you have now witnessed, it is very dangerous to rely the disk names like /dev/sdc. Better to make a habit to use either UUIDs, or LABELs.

    For example gparted can create labels for all disks:

    0_1526463738132_gparted-label.png

  • Labels can be used in the same places as /dev/sdX. For example:

    sudo mount /dev/sdc1 /mnt
    # or
    sudo mount LABEL=sd-card /mnt
    

    do the same thing, if the label of /dev/sdc1 is “sd-card”.

  • @manuel said in Flash USB at speed of dim light:

    Labels can be used in the same places as /dev/sdX. For example:

    sudo mount /dev/sdc1 /mnt
    # or
    sudo mount LABEL=sd-card /mnt
    

    do the same thing, if the label of /dev/sdc1 is “sd-card”.

    Great tips. I will use it. Good practice.

  • @joekamprad said in Flash USB at speed of dim light:

    2GB is way much on erased data … so /boot is completely erased + almost 2GB from / root that makes a system rescue almost impossible… but ddrescue can help to recover data from the disk

    It’s everyday a challenge. I’m now dd’ing the new 16GB USB pen drive with ::rescue for a deep investigation and recovery.
    I found a backup made with backintime because I was testing some backup programs. Let’s see how it goes.

  • good recovery then 👊

usb104 flash12 speed9 dim1 Posts 20Views 738
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.