I have a 500gb ssd in a seagate usb3 enclosure that I want to use as external storage on my raspi 4. This disk is recognized and can be formatted by my Mac, so I know the drive is good.
When I plug the drive into a usb3 port and run fdisk -l
, the command outputs info for /dev/ram# and /dev/mmcblk0
and then hangs, never exiting.
/dev/sda
exists once the drive is plugged in and lsusb lists the seagate device.
Any ideas?
EDIT: Output of dmesg
per @JaromandaX suggestion:
[Feb14 14:38] usb 2-2: new SuperSpeed Gen 1 USB device number 97 using xhci_hcd
[ +0.030678] usb 2-2: New USB device found, idVendor=0bc2, idProduct=ab24, bcdDevice= 1.00
[ +0.000015] usb 2-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ +0.000013] usb 2-2: Product: BUP Slim
[ +0.000012] usb 2-2: Manufacturer: Seagate
[ +0.000012] usb 2-2: SerialNumber: 2HC015KJ
[ +0.008228] scsi host0: uas
[ +0.010986] scsi 0:0:0:0: Direct-Access Seagate BUP Slim 0304 PQ: 0 ANSI: 6
[ +0.001330] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ +0.000416] sd 0:0:0:0: [sda] Spinning up disk...
[ +1.078004] .................................................................................................not responding...
[Feb14 14:40] sd 0:0:0:0: [sda] 1000215215 512-byte logical blocks: (512 GB/477 GiB)
[ +0.000014] sd 0:0:0:0: [sda] 2048-byte physical blocks
[ +20.849826] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
[ +6.950121] sd 0:0:0:0: [sda] Asking for cache data failed
[ +0.000016] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ +0.000722] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (2048 bytes)
[ +0.000805] sd 0:0:0:0: [sda] Spinning up disk...
[Feb14 14:41] .................................................................................................not responding...
[Feb14 14:43] sd 0:0:0:0: [sda] tag#5 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD IN
[ +0.000018] sd 0:0:0:0: [sda] tag#5 CDB: opcode=0x28 28 00 00 00 00 07 00 00 01 00
[ +0.000236] sd 0:0:0:0: [sda] tag#4 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD IN
[ +0.000014] sd 0:0:0:0: [sda] tag#4 CDB: opcode=0x28 28 00 00 00 00 06 00 00 01 00
[ +0.000287] sd 0:0:0:0: [sda] tag#3 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD IN
[ +0.000012] sd 0:0:0:0: [sda] tag#3 CDB: opcode=0x28 28 00 00 00 00 05 00 00 01 00
[ +0.000286] sd 0:0:0:0: [sda] tag#2 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD IN
[ +0.000013] sd 0:0:0:0: [sda] tag#2 CDB: opcode=0x28 28 00 00 00 00 04 00 00 01 00
[ +0.039165] scsi host0: uas_eh_device_reset_handler start
[ +0.150920] usb 2-2: reset SuperSpeed Gen 1 USB device number 97 using xhci_hcd
[ +0.035044] scsi host0: uas_eh_device_reset_handler success
dmesg
once you've plugged the device in, and then, in another terminal, once you've run that commandfdisk -l
on the first terminal/session - clearly you can see....not responding.
right?lsblk --fs
instead offdisk -l
?man fdisk => manipulate disk partition table
... is that what you're trying to do? Or -man lsblk => list block devices
?