Forum

Full Version: WD Elements Portable 1TB not mounting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a WD Elements Portable 1TB which I'm connecting to the Pi through a USB hub. Here's both of those products:

http://www.amazon.co.uk/gp/product/B005A97APO/ref=oh_details_o03_s00_i00?ie=UTF8&psc=1
http://www.amazon.co.uk/gp/product/B00B0ZOCPS/ref=oh_details_o01_s00_i00?ie=UTF8&psc=1

The Pi boots up fine with the power from the hub however it doesn't seem to recognize the HDD. If I go to Videos -> Add Video Source -> Root filesystem -> media I have a list of directories called usb, usb0, usb1, all the way up to usb7. None of these seem to be the hard drive as when I click on them they show empty directories.

Using SSH and running lsusb I get this output:

Code:
xbian@xbian ~ $ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 005: ID 046d:c50e Logitech, Inc. Cordless Mouse Receiver

I don't know what "Standard Microsystems Corp." is but I'm guessing it's not the hard drive. I've also made sure that I have the ntfs-3g package installed and I do.

What could be going wrong here?

Edit: just made a terrible diagram of my setup here: http://i.imgur.com/c0GGoJq.png
If i understand your diagram you are powering your pi through the usb hub, but you have no connection between the usb hub and one of the pi's usb ports. So you're just using your usb hub as a power adapter now.
D'oh, silly mistake. I connected the Pi to the hub via its regular USB ports and it works now. However, I am facing another problem with the drive.

It shows up correctly as a ~930GB drive, but when I click on it XBian says "Path not found or invalid". When doing ls -l on /media I get this output:

Code:
lrwxrwxrwx 1 root  root     4 Nov 11 17:18 usb -> usb0
d--------- 1 xbian xbian 4096 May  5 01:21 usb0
drwxr-xr-x 2 root  root  4096 Nov 11 17:18 usb1
drwxr-xr-x 2 root  root  4096 Nov 11 17:18 usb2

While the directory is owned by xbian, could there be read/write permissions gone wrong here? I tried to do chmod 0777 on the directory but the permissions didn't change.

Thanks!
Don't know what this could be, normally it automounts as rw. Can you post the output of mount?
Maybe you could try this:
Code:
sudo mount -o remount,rw /dev/sda1 /media/usb0

Assuming your harddisk is on /dev/sda1 (check with sudo fdisk -l)
(8th May, 2013 12:47 AM)Whitey Wrote: [ -> ]
Code:
lrwxrwxrwx 1 root  root     4 Nov 11 17:18 usb -> usb0
d--------- 1 xbian xbian 4096 May  5 01:21 usb0
drwxr-xr-x 2 root  root  4096 Nov 11 17:18 usb1
drwxr-xr-x 2 root  root  4096 Nov 11 17:18 usb2

go into terminal / ssh, take root id (sudo -i (it will ask for user xbian password again)).
your cmd prompt should end with "#" now (eg. root@xbian ~ #)

copy and paste results of:
1) blkid [enter]
2) mount | grep usb
3) few bottom lines of 'dmesg | grep -l usb'
4) ls -la /media/usb0/

mk
Reference URL's