Forum
USB Harddrive Not Mounting - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Peripherals (/forum-27.html)
+--- Thread: USB Harddrive Not Mounting (/thread-1904.html)

Pages: 1 2


USB Harddrive Not Mounting - Lilone21804 - 19th Dec, 2013 12:32 AM

Im trying to mount my WD Passport, but am having no luck. Whenever I plug it in, nothing happens. When I use the "df -h" it only shows my USB flash drive, but when I use "lsusb" I get this:

Terminal
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 010: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 012: ID 1058:0730 Western Digital Technologies, Inc.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0781:556b SanDisk Corp.
Bus 001 Device 005: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 006: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 008: ID 04d9:1702 Holtek Semiconductor, Inc.
Bus 001 Device 009: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter



RE: USB Harddrive Not Mounting - rikardo1979 - 19th Dec, 2013 12:47 AM

more info pall, why we have to always ask to provide all necessary what is mentioned in rules? Is it that difficult?
Please read before you post
-thx



RE: USB Harddrive Not Mounting - Lilone21804 - 19th Dec, 2013 02:38 AM

(19th Dec, 2013 12:47 AM)rikardo1979 Wrote:  more info pall, why we have to always ask to provide all necessary what is mentioned in rules? Is it that difficult?
Please read before you post
-thx

My apologies. I'm running on Beta 2. The external hard drive is a 1TB WD Passport formatted to exFAT. My Xbian install is fairly new (installed this morning). I have it running of a USB flash drive with the SD. The external drive is recognized when I plug it into my windows 8 computer, but when I plug it into the pi it doesn't mount.


RE: USB Harddrive Not Mounting - IriDium - 19th Dec, 2013 05:05 AM

Please provide the information as requested by Rikardo. "Please read before you post" a link is in my signature.

Also add xbmc.log and output from dmesg - and we will look at your problem


RE: USB Harddrive Not Mounting - Lilone21804 - 19th Dec, 2013 09:46 AM

(19th Dec, 2013 05:05 AM)IriDium Wrote:  Please provide the information as requested by Rikardo. "Please read before you post" a link is in my signature.

Also add xbmc.log and output from dmesg - and we will look at your problem


Software
XBian version: Beta 2
XBMC version:
Overclock settings: Default

Hardware
Power supply rating:
RPi model (model A/B 256mb/512mb): Model B 512mb
SD card size and make/type: 16 GB Sandisk /Class 10. Using a 8GB Sandisk Cruzer Glide also
Network (wireless or LAN): Wireless (RIIC AR-N8508)
Connected devices (TV, USB, network storage, etc.): LG LCD, Powered USB hub, WD 1TB Passport, USB mouse and keyboard.

Logile
Link to logfile(s):http://pastebin.com/kkTav9CT

Problem description:

The external hard drive is a 1TB WD Passport formatted to exFAT. My Xbian install is fairly new (installed this morning). I have it running of a USB flash drive with the SD. The external drive is recognized when I plug it into my windows 8 computer, but when I plug it into the pi it doesn't mount.

How to reproduce:


RE: USB Harddrive Not Mounting - IriDium - 20th Dec, 2013 06:10 AM

Ok, thanks, now we have the information.

1) How is the HDD powered? It will need a powered HUB to function. It CANNOT be powered from the RPi.
2) Please supply the output from dmesg
3) How did you install Xbian onto the USB?


RE: USB Harddrive Not Mounting - Lilone21804 - 20th Dec, 2013 07:29 AM

(20th Dec, 2013 06:10 AM)IriDium Wrote:  Ok, thanks, now we have the information.

1) How is the HDD powered? It will need a powered HUB to function. It CANNOT be powered from the RPi.
2) Please supply the output from dmesg
3) How did you install Xbian onto the USB?

1. The HDD is powered by a power hub.
2. Where do I find this? I didn't see any instructions in the read before you post section.
3. I installed Xbian on the USB drive through option 6 in Xbian.config


RE: USB Harddrive Not Mounting - Lilone21804 - 23rd Dec, 2013 06:07 AM

(20th Dec, 2013 07:29 AM)Lilone21804 Wrote:  
(20th Dec, 2013 06:10 AM)IriDium Wrote:  Ok, thanks, now we have the information.

1) How is the HDD powered? It will need a powered HUB to function. It CANNOT be powered from the RPi.
2) Please supply the output from dmesg
3) How did you install Xbian onto the USB?

1. The HDD is powered by a power hub.
2. Where do I find this? I didn't see any instructions in the read before you post section.
3. I installed Xbian on the USB drive through option 6 in Xbian.config

Still having the same issues. The hard drive was able to mount once. When I restarted it, it went away and won't mount again. I have it set to a static location using the method from this guide.

http://pastebin.com/c0eRYidH


RE: USB Harddrive Not Mounting - mk01 - 23rd Dec, 2013 08:57 AM

@Lilone21804

can you with attached hdd post outputs of:
Code:
sudo -i
dmesg
blkid
cat /etc/fstab



RE: USB Harddrive Not Mounting - Lilone21804 - 23rd Dec, 2013 09:16 AM

(23rd Dec, 2013 08:57 AM)mk01 Wrote:  @Lilone21804

can you with attached hdd post outputs of:
Code:
sudo -i
dmesg
blkid
cat /etc/fstab

Thanks for the help

The log for the dmesg: http://pastebin.com/zDr3xXQR

The log for the blkid: http://pastebin.com/ShGFw46S

The log for the cat /etc/fstab: http://pastebin.com/J89qK00M


RE: USB Harddrive Not Mounting - mk01 - 23rd Dec, 2013 10:00 AM

all is correct there. we can try loggin usbmount process. edit /etc/usbmount/usbmount.conf, set VERBOSE=1

then reattach disk.

log will appear after a while in /var/log/user.log


RE: USB Harddrive Not Mounting - Lilone21804 - 23rd Dec, 2013 08:15 PM

(23rd Dec, 2013 10:00 AM)mk01 Wrote:  all is correct there. we can try loggin usbmount process. edit /etc/usbmount/usbmount.conf, set VERBOSE=1

then reattach disk.

log will appear after a while in /var/log/user.log

When I enter "edit/etc/usbmount/usbmount.conf" I get the error message:

sudo edit /etc/usbmount/usbmount.conf
[sudo] password for xbian:
Warning: unknown mime-type for "/etc/usbmount/usbmount.conf" -- using "application/octet-stream"
Error: no "edit" mailcap rules found for type "application/octet-stream"


RE: USB Harddrive Not Mounting - mk01 - 23rd Dec, 2013 11:48 PM

edit wasn't command, just I was asking you to edit the file Smile

you can with
Code:
sudo nano /etc/usbmount/usbmount.conf



RE: USB Harddrive Not Mounting - Lilone21804 - 24th Dec, 2013 01:35 AM

(23rd Dec, 2013 11:48 PM)mk01 Wrote:  edit wasn't command, just I was asking you to edit the file Smile

you can with
Code:
sudo nano /etc/usbmount/usbmount.conf

Lol got you. Will give it a try when I get home.


RE: USB Harddrive Not Mounting - IriDium - 24th Dec, 2013 01:48 AM

You are getting some weird USB error messages.

[ 40.155158] usb 1-1.3.4.1: device descriptor read/64, error -110
[ 40.345054] usb 1-1.3.4.1: new high-speed USB device number 9 using dwc_otg
[ 45.764753] usb 1-1.3.4.1: device not accepting address 9, error -71
[ 45.845293] usb 1-1.3.4.1: new high-speed USB device number 10 using dwc_otg
[ 51.264949] usb 1-1.3.4.1: device not accepting address 10, error –71
[ 401.544498] usb 1-1.3.4.1: Product: My Passport 0730

Which all relate to the WD

These could be due to a suspect hub. Do you have a spare that you could try?

What is the amperage of your RPi power supply?

You could try removing the HUB and plugging your KB and WD directly into the RPi – it might work just for testing.