[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Thank you Jon for your detailed post. I ran 'lsmod' and there was no entry for usb-storage. So I then ran 'modprobe usb-storage' followed by 'lsmod' and obtained the line entry - usb-storage 25952 0 0 (unused) as predicted. The output from 'dmesg' was similar to yours the main exceptions being - Vendor: Wincan Model HARD DISK DRIVE rev 1.04 SCSI device sda: 6400 512-byte hdwr sectors (33MB) fatfs: bogus cluster size VFS: Can't find a valid MSDOS file system on dev 08:00 I made the entry in /etc/fstab '/dev/sda /mnt/usb vfat defaults 0 0' but 'mount /mnt/usb' gave mount:wrong fs type, bad option, bad superblock on /dev/sda or too many file systems and so did 'mount /dev/sda -t vfat /mnt/usb' Win98 shows the file system as FAT (presumably 16) and there are several directories and files written and readable on it. Is it me? ----- Original Message ----- From: "Jon Still" <jon@xxxxxxxxxxx> To: <list@xxxxxxxxxxxx> Sent: Friday, February 15, 2002 4:59 PM Subject: Re: [LUG] Usb HDD
On Friday, February 15, 2002, at 07:54 AM, Bob Sarah wrote:/dev/sda /mnt/usb vfatTry putting this line in /etc/fstab: /dev/sda /mnt/usb vfat defaults 0 0 If you want to make it more readable, put tabs between each param instead of spaces. Firstly, make sure that usb-storage is in the output of 'lsmod': [root@xxxxxxx root]# lsmod Module Size Used by usb-storage 39008 0 (unused) usb-uhci 21536 0 (unused) usbcore 51712 0 [usb-storage usb-uhci] You should see something like the above. If not, try 'modprobe usb-storage' and it should add it. If it isn't there, you may wish to put 'modprobe usb-storage' at the end of you /etc/rc.d/rc.local file so it runs every time the machine is booted. Secondly, plug your disk in and power up - make sure there is mention of it in the output of the 'dmesg' command: ----------------------------------------------------------------------- usb-uhci.c: v1.251:USB Universal Host Controller Interface driver hub.c: USB new device connect on bus1/1, assigned device number 2 usb.c: USB device 2 (vend/prod 0x4cb/0x100) is not claimed by any active driver. Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage scsi1 : SCSI emulation for USB Mass Storage devices Vendor: Fujifilm Model: FinePix 1400Zoom Rev: 1000 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0 usb-uhci.c: interrupt, status 3, frame# 689 usb-uhci.c: interrupt, status 3, frame# 697 SCSI device sda: 16000 512-byte hdwr sectors (8 MB) sda: Write Protect is off sda: sda1 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 USB Mass Storage support registered. ----------------------------------------------------------------------- (yes I know it's actually a digital camera and not a disk, but they use the same interface dammit). The important line here is the one that says sda: sda1, although you will probably see the same if you have no other scsi devices on your system. I then did mount /mnt/sda1 /mnt/usb, and it worked just fine. This was without anything in the fstab. Conversely, if you *did* put entries in the fstab, you would only need to do something like 'mount /mnt/usb'. That's half the point of the fstab file. If that doesn't work, then try mount /mnt/sda /mnt/usb Another good thing to note is that you shouldn't need to specify a file type 90% of the time. Linux is generally smart enough to work it out on it's own. J. PS - Apologies for long post. -- Jon Still E-mail: jon@xxxxxxxxxxx System Administrator Web: http://www.tertial.org/ tertial.org Tel: +44 (0)7977 066087 -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.
-- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.