I want to mount a USB drive on my Raspberry PI (to use it for my ‘ownCloud’) using a powered USB HUB (running Raspbian). I installed usbmount for this purpose using:
sudo apt-get install usbmount
then in: “/etc/usbmount/usbmount.conf”
I replaced:
FS_MOUNTOPTIONS=””
by:
FS_MOUNTOPTIONS="-fstype=vfat,uid=www-data,gid=www-data,umask=007"
Subsequently I attached my USB drive. Unfortunately the drive isn’t mounted, the disk does not even show when I run:
fdisk -l
Below is the dmesg output:
[178419.286862] usb 1-1.2.1.4: USB disconnect, device number 10
[178427.461496] usb 1-1.2.1.4: new high-speed USB device number 11 using dwc_otg
[178427.563514] usb 1-1.2.1.4: New USB device found, idVendor=04e8, idProduct=61b6
[178427.563543] usb 1-1.2.1.4: New USB device strings: Mfr=1, Product=11, SerialNumber=3
[178427.563560] usb 1-1.2.1.4: Product: Samsung M3 Portable
[178427.563575] usb 1-1.2.1.4: Manufacturer: JMicron
[178427.563591] usb 1-1.2.1.4: SerialNumber: 00000000011E1792
[178427.581515] scsi3 : usb-storage 1-1.2.1.4:1.0
[178430.602931] scsi 3:0:0:0: Direct-Access Samsung M3 Portable 3 PQ: 0 ANSI: 6
[178436.663026] sd 3:0:0:0: [sda] Spinning up disk...
[178447.712119] ................not responding...
[178583.861417] sd 3:0:0:0: [sda] READ CAPACITY failed
[178583.861455] sd 3:0:0:0: [sda]
[178583.861469] Result: hostbyte=0x00 driverbyte=0x08
[178583.861483] sd 3:0:0:0: [sda]
[178583.861492] Sense Key : 0x2 [current]
[178583.861510] sd 3:0:0:0: [sda]
[178583.861519] ASC=0x4 ASCQ=0x1
[178593.961530] sd 3:0:0:0: [sda] Test WP failed, assume Write Enabled
[178604.061573] sd 3:0:0:0: [sda] Asking for cache data failed
[178604.061608] sd 3:0:0:0: [sda] Assuming drive cache: write through
[178614.161655] sd 3:0:0:0: [sda] Spinning up disk...
[178635.369367] ..............not responding...
[178765.561611] sd 3:0:0:0: [sda] READ CAPACITY failed
[178765.561648] sd 3:0:0:0: [sda]
[178765.561662] Result: hostbyte=0x00 driverbyte=0x08
[178765.561674] sd 3:0:0:0: [sda]
[178765.561682] Sense Key : 0x2 [current]
[178765.561702] sd 3:0:0:0: [sda]
[178765.561710] ASC=0x4 ASCQ=0x1
[178775.661602] sd 3:0:0:0: [sda] Test WP failed, assume Write Enabled
[178785.761712] sd 3:0:0:0: [sda] Asking for cache data failed
[178785.761747] sd 3:0:0:0: [sda] Assuming drive cache: write through
[178785.761770] sd 3:0:0:0: [sda] Attached SCSI disk
I tried Google and searched the forum, but with no result. Could anyone give me some advice how to solve this problem? I formatted the drive in FAT32 and EXT3 with the same results (the drive does work when connected to my PC).
Thanks in advance, Bram
Additional info: This is the USB HUB I used: http://www.tomtop.com/computers-networking/computer-accessories/usb-hubs/high-speed-7-port-mini-real-usb-2-0-hub-ac-adaptor-c1082.html I noticed it does feed back power to my Raspberry PI (model B, 512 MB). However this shouln't be an issue as discussed here: Powered hubs, backfeeding and safety