USB Drive Mounting
#1
I have an old Dell running XBMCbuntu 12.2 installed from the Live CD, and it works great. I've been slowly adding additional storage to it via external USB drives. I have one WD 2T USB 2.0 drive, one Seagate 2T USB 2.0 drive, and I just added a new Toshiba 3T external USB 3.0 drive. The first two drive have always been automatically mounted when XMBC starts. However, the new Toshiba 3T does not automatically mount into XBMC. (That is, I can't see it in the file manager or elsewhere.) If I run "lsusb" from a command prompt, the device shows up. If I unplug the USB cable and plug it in again, I get the little XBMC popup that say that it is automatically mounting, and then the drive shows up fine.

So my question is how this automatic USB mounting works, and what might be my issue with this new Toshiba drive? Previously, I took for granted that anything plugged into the USB slots on boot up would magically be mounted for me. This has worked fine with various USB sticks in addition to the external HDs. So I was surprised when the new Toshiba drive didn't automatically do the same. Any advice or pointers would be greatly appreciated.

I'm not sure if this is more of a question for the Ubuntu side of XMBCbuntu or the XBMC side. So I'm sorry if I'm posting in the wrong place. However, I do have reasonable technical skills if someone can point me in the right direction or needs more information. Unfortunately, I don't have much Linux knowledge.

Thanks,
Sam
Reply
#2
Are any of your external disks in /etc/fstab?

The output of the command
Code:
dmesg
will show the kernel messages, you will see the various drives mounting or not. If you are searching through the output, all hard drives have a device name like /dev/sdxn where x identifies the hard drive starts at a and works up, n identifies the partition on that drive and starts at 1. So /dev/sda1 is the first partition on the first hard drive the kernel finds. /dev/sdb3 is the third partition on the second drive.

If you actually run
Code:
dmesg|less
you can scroll through the output.

space pages through the output or arrowup or arrowdown go up or down a line, pgup and pgdown go a page at a time.

/ starts a search, type what you want to look for and hit enter, then 'n' for next search hit, 'p' for previous.

When you are sick of looking at that crap hit 'q' for quit.

Also the output of
Code:
mount
and the output of
Code:
sudo fdisk -l
after boot would be interesting.

PS you did partition and format the new disk?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#3
You also need to add it as a source in XBMC both under files and in Filemanager idk if this applies but usb-storage module needs to be loaded for usb devices to automount. read for guidance http://forum.xbmc.org/showthread.php?tid...pid1221362
Reply
#4
Thanks for your help! The drive is formatted and works happily if I simply unplug the USB cable and plug-in it again.
I have grabbed the output suggested above. Here are the links:

dmesg: http://pastebin.com/QseDsDqS

mount: http://pastebin.com/mUttd1xK

fdisk: http://pastebin.com/Rr3EcuK8

lsusb: http://pastebin.com/sFNDRvRc

lsusb -v: http://pastebin.com/agAu5L5N

The two drives that automatically mount at boot up are the Seagate 2T and the Western Digital 2T. The Toshiba 3T is new oddball that doesn't get mounted at boot up even though it is plugged in. You will also see a Kingston USB stick in there later. That is a USB stick that I plugged in so that I would have somewhere to copy the these files.
Finally, I do have one drive manually configured in my fstab. That is an internal 500GB drive also used for storage.

Thanks in advance for any insight.

P.S. I hope that I did the pastebin thing correctly. If you can't see the files, please let me know.
Reply
#5
Can anyone share any useful ideas on this?

Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
USB Drive Mounting0