Eu tenho um dispositivo USB reconhecido pelo meu laptop, mas não há partição para montar. O dispositivo está listado em /dev/
as sdb
, mas nenhuma partição /dev/sdb1
. fdisk -l
também não exibe nada sobre /dev/sdb
. Eu também tentei reler a tabela de partição com partprobe
que não teve efeito. Eu não atualizei meu kernel, reiniciei o mesmo, ainda o mesmo resultado.
Também encontrei esta pergunta: Montando uma unidade USB que não é reconhecida que foi resolvido pelas respostas aqui bbs.archlinux.org , mas não me ajude desde que meu /etc/udev/rules.d/
esteja vazio.
dmesg
envia o seguinte quando eu conecto o stick:
usb 3-1: new high-speed USB device number 2 using xhci_hcd
usb-storage 3-1:1.0: USB Mass Storage device detected
scsi host6: usb-storage 3-1:1.0
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver uas
scsi 6:0:0:0: Direct-Access 2238 PRAM 1.00 PQ: 0 ANSI: 0 CCS
sd 6:0:0:0: [sdb] Attached SCSI removable disk
lsusb
exibe meu palito:
Bus 003 Device 004: ID 13fe:3100 Kingston Technology Company Inc. 2/4 GB stick
A saída de udevadm monitor
é:
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[475.967958] add /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
KERNEL[475.968047] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
KERNEL[475.968467] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7 (scsi)
KERNEL[475.968757] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/scsi_host/host7 (scsi_host)
UDEV [476.071403] add /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
UDEV [476.136149] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
UDEV [476.136834] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7 (scsi)
UDEV [476.138221] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/scsi_host/host7 (scsi_host)
KERNEL[476.971068] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0 (scsi)
KERNEL[476.971147] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0 (scsi)
KERNEL[476.971196] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
KERNEL[476.971334] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
KERNEL[476.971780] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
KERNEL[476.971813] add /devices/virtual/bdi/8:16 (bdi)
KERNEL[476.971898] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
UDEV [476.972288] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0 (scsi)
KERNEL[476.972597] change /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
UDEV [476.973246] add /devices/virtual/bdi/8:16 (bdi)
UDEV [476.973710] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0 (scsi)
UDEV [476.974907] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
UDEV [476.974949] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
UDEV [476.975955] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
UDEV [476.986215] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
UDEV [477.000467] change /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
Como parece que o stick está quase morto, eu queria fazer um backup dos dados para que eu pudesse restaurá-los mais tarde. Eu encontrei este Como Faço para criar uma imagem bit-idêntica de um stick USB?
Então eu corri:
sudo dd if=/dev/sdb of=~/usb.img bs=4M
O que resultou em:
dd: failed to open ‘/dev/sdb’: No medium found
Eu também tentei o mesmo com ddrescue
com o mesmo resultado:
ddrescue: Can't open input file: No medium found
Você sabe se há alguma maneira de acessar ou pelo menos salvar os dados no meu palito? Obrigado pela ajuda!
EDIT1
Hoje eu queria postar a saída de lsblk
solicitada nos comentários e minha paleta mostrou um comportamento diferente do que quando fiz essa pergunta originalmente.
dmesg
exibiu o seguinte:
usb 1-2: new high-speed USB device number 9 using xhci_hcd
usb-storage 1-2:1.0: USB Mass Storage device detected
scsi host7: usb-storage 1-2:1.0
scsi 7:0:0:0: Direct-Access Kingston DT R500 PMAP PQ: 0 ANSI: 0 CCS
sd 7:0:0:0: [sdb] 31227904 512-byte logical blocks: (15.9 GB/14.8 GiB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 23 00 00 00
sd 7:0:0:0: [sdb] No Caching mode page found
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 7:0:0:0: [sdb] Attached SCSI removable disk
usb 1-2: reset high-speed USB device number 9 using xhci_hcd
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: reset high-speed USB device number 9 using xhci_hcd
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: reset high-speed USB device number 9 using xhci_hcd
usb 1-2: device descriptor read/8, error -110
usb 1-2: device descriptor read/8, error -110
usb 1-2: reset high-speed USB device number 9 using xhci_hcd
usb 1-2: device descriptor read/8, error -110
usb 1-2: device descriptor read/8, error -110
usb 1-2: USB disconnect, device number 9
sd 7:0:0:0: [sdb] UNKNOWN Result: hostbyte=0x01 driverbyte=0x00
sd 7:0:0:0: [sdb] CDB:
cdb[0]=0x28: 28 00 01 dc 7f 80 00 00 08 00
blk_update_request: I/O error, dev sdb, sector 31227776
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880213bcf240
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880213bcf288
usb 1-2: new high-speed USB device number 10 using xhci_hcd
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: new high-speed USB device number 11 using xhci_hcd
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: new high-speed USB device number 12 using xhci_hcd
usb 1-2: device descriptor read/8, error -110
usb 1-2: device descriptor read/8, error -110
usb 1-2: new high-speed USB device number 13 using xhci_hcd
usb 1-2: device descriptor read/8, error -110
usb 1-2: device descriptor read/8, error -110
usb usb1-port2: unable to enumerate USB device
Eu também conectei o stick ao meu computador Windows. Ele poderia acessar o stick, mas não havia arquivos mostrando.
Tags mount usb-drive dd arch-linux