Koozali.org: home of the SME Server

Legacy Forums => Suggestions => Topic started by: William Wong on November 30, 2001, 11:26:44 AM

Title: USB Storage support
Post by: William Wong on November 30, 2001, 11:26:44 AM
It would be nice to be able to attach USB Storage , for instance, an IDE harddisk housed in a USB Storage box.  I know that during the bootup process, USB storage support is in console message, however, I couldn't find further info to mount it properly.

I did try to mount it but no success.  So this is not strictly a utterly new thing but as a wish that some one would shed some light on how to make it happen.


Thank you



William
Title: Re: USB Storage support
Post by: Greg O on October 23, 2002, 05:13:30 PM
I'm looking for exactly the same thing, and it was hinted at in http://forums.contribs.org/index.php?topic=20007.msg78665#msg78665

Have you had any leads? I'm kinda hoping for USB2 support...
Title: Re: USB Storage support
Post by: Michael Herger on December 21, 2002, 11:34:56 AM
Hi!

I've not yet got a lot of experience with this topic but just got my MP3 player mounted directly to my e-smith box...

- first create a directory to mount your new fs (eg. /mnt/usb)
- plug your device
- load the kernel module for usb storage devices: insmod usb-storage
- usb storage is used as a SCSI device. Therefore do a "mount -t vfat /dev/sda1 /mnt/usb" to mount your drive

This is only the basics. If you have other SCSI or USB devices connected the device name (/dev/sda1) can be different. The "-t vfat" depends on the used fs, too.

Good luck and let us know whether you succeed in doing your backup that way!

Regards,

Michael
Title: Re: USB Storage support
Post by: Charlie Brady on December 22, 2002, 05:44:45 AM
Michael Herger wrote:

> - usb storage is used as a SCSI device. Therefore do a "mount
> -t vfat /dev/sda1 /mnt/usb" to mount your drive
>
> This is only the basics. If you have other SCSI or USB
> devices connected the device name (/dev/sda1) can be
> different. The "-t vfat" depends on the used fs, too.

... and is probably not required. Try just "mount /dev/sda1 /mnt/usb".
Usually works for me (for my digital camera).

Regards

Charlie
Title: Re: USB Storage support
Post by: Henrik on August 26, 2003, 07:41:43 PM
did anyone get a extern USB HD mounted and working?
Title: Re: USB Storage support
Post by: Michael Herger on October 28, 2003, 01:47:42 PM
I did it exactly the way I wrote in my first posting with my Archos Jukebox. It's essentially a MP3 player but connects as a USB2 (or firewire) harddisk.

Michael
Title: Re: USB Storage support
Post by: Laurent DINCLAUX on November 03, 2003, 02:56:19 AM
How to automates the #insmode usb-storage command ?
Title: Re: USB Storage support
Post by: Charlie Brady on November 03, 2003, 05:28:46 AM
Laurent DINCLAUX wrote:
 
> How to automates the #insmode usb-storage command ?

Firstly, you may find it's more useful to always use the modprobe command. modprobe knows about inter-module dependencies, and pre-loads any required modules.

You can automate the loading of usb-storage module via the "hotplug" command. I don't know the details, so you'll have to research the topic yourself. You'll probably need an entry specific to your device in one of /etc/hotplug/usb.*map.

Charlie