Can't see any USB disk partitions

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Can't see any USB disk partitions

Postby igalic » Tue Apr 29, 2014 4:04 pm

Hey everyone,

back again with more issues :)

I have a USB hard drive, which I was able to mount without problems on raspbian. It has three partitions - 2 hfs and 1 exfat. I want to mount the exfat one (I've installed exfat-fuse).

It seems like the drive itself is recognized, but not any of the partitions. In dmesg, I see this:

$this->bbcode_second_pass_code('', '[ 3.698568] usb 1-1.3: New USB device found, idVendor=1058, idProduct=1048
[ 3.698601] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 3.698619] usb 1-1.3: Product: Elements 1048
[ 3.698634] usb 1-1.3: Manufacturer: Western Digital
[ 3.698652] usb 1-1.3: SerialNumber: 5758413145363348415A5536
[ 3.700448] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 3.701085] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 3.710388] scsi0 : usb-storage 1-1.3:1.0
')

And then later:

$this->bbcode_second_pass_code('', '[ 4.707599] scsi 0:0:0:0: Direct-Access WD Elements 1048 1022 PQ: 0 ANSI: 6
[ 4.709739] sd 0:0:0:0: [sda] 3907024896 512-byte logical blocks: (2.00 TB/1.81 TiB)
[ 4.710589] sd 0:0:0:0: [sda] Write Protect is off
[ 4.710625] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
[ 4.711464] sd 0:0:0:0: [sda] No Caching mode page found
[ 4.736264] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 4.749352] sd 0:0:0:0: [sda] No Caching mode page found
[ 4.754821] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 5.210701] systemd-udevd[86]: starting version 212
')

That's all related to it.

Trying to run fdisk hangs, after writing out information about the memory card (Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors). 'fdisk -l /dev/sda' hangs immediately. I only see /dev/sda in /dev, but no /dev/sdaX, or /dev/sdb, etc.

ls -l /dev/disk/by-uuid also only lists memory card partitions.

$this->bbcode_second_pass_code('', ' lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
mmcblk0
|-mmcblk0p1 vfat RECOVERY 3F23-1AFE
|-mmcblk0p2
|-mmcblk0p3 ext4 SETTINGS 9f3466f3-fa6c-4593-a713-e1c81a0eac86
|-mmcblk0p5 vfat BOOT 0228-7179 /boot
|-mmcblk0p6 ext4 root 6ac7958c-4eb4-43aa-8cef-c621926053e3 /
|-mmcblk0p7 vfat BOOT 1632-A496
`-mmcblk0p8 ext4 root0 fe7ec978-c5a1-4abe-98db-d593b109d3e2
[root@alarmpi ~]# lsusb
Bus 001 Device 005: ID 1058:1048 Western Digital Technologies, Inc.
Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
')

So, it appears like the drive itself is properly recognized (Western Digital), but no partitions are.


Any ideas?


Thanks,
Ivan
igalic
 
Posts: 3
Joined: Mon Apr 28, 2014 2:41 am

Re: Can't see any USB disk partitions

Postby sdjf » Wed Apr 30, 2014 4:39 pm

are you saying that raspbian sees the partitions now and arch does not? could something have gotten corrupted?

try posting output of "cat /proc/partitions"

sometimes I have a device that my pi cannot see as memory gets messed up somewhere, and rebooting fixes the problem, or removing and plugging the usb hub or device back in fixes it. Sync before any and all reboots or poweroffs.

also, sometimes parted can work with file systems that fdisk cannot, and vice versa. I use them both.

if there is not enough power, pi could have trouble recognizing things erratically - sometimes see them, sometimes not, sometimes unmounting them and remounting with different device references. watch for all of that.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest