Koozali.org: home of the SME Server

USB-drive problems

Offline sokrates

  • *
  • 6
  • +0/-0
USB-drive problems
« on: February 10, 2007, 01:09:12 PM »
Hi everybody.

I'm running SME7 on a Pentium III-1000,  Compaq deskpro. Looking for a bit more diskspace i bought a 250G Toshiba usb-harddrive. But its impossible to access the drive. SME doesn't automount, and i don't have a clue where to find and mount the drive.
It's not the hardware, because the drive is found and mounted perfectly on a live CD running Ubuntu.

My question is: Where can i find the USB-drive? Did i miss something in the configuration?

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Regards,
William

IF I give advise.. It's only if it was me....

Offline sokrates

  • *
  • 6
  • +0/-0
USB-drive problems
« Reply #2 on: February 10, 2007, 03:07:25 PM »
read those and just about everything else on the forums, but no answers. I mounted just about everything and their uncle but nothing works.

Code: [Select]
fdisk -l

Disk /dev/hda: 20.0 GB, 20020396032 bytes
240 heads, 63 sectors/track, 2586 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          14      105808+  fd  Linux raid autodetect
/dev/hda2              15        2586    19444320   fd  Linux raid autodetect

Disk /dev/md2: 19.9 GB, 19910885376 bytes
2 heads, 4 sectors/track, 4861056 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md2 doesn't contain a valid partition table

Disk /dev/md1: 108 MB, 108265472 bytes
2 heads, 4 sectors/track, 26432 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md1 doesn't contain a valid partition table



lsusb:

Bus 001 Device 003: ID 0930:0b05 Toshiba Corp.
Bus 001 Device 002: ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse Plus]
Bus 001 Device 001: ID 0000:0000

cdrecord --scanbus

Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c        1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
        0,0,0     0) 'Toshiba ' 'USB 2.0 CD-ROM  ' '1.14' NON CCS Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

dmesg | grep usb

usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usb 1-1: new low speed USB device using address 2
input: USB HID v1.00 Mouse [Logitech USB-PS/2 Mouse] on usb-0000:00:1f.4-1
usb 1-2: new full speed USB device using address 3
usbcore: registered new driver usb-storage



I'm sorry, but my linux skills just about end here. Anyone a suggestion?

Offline wjhobbs

  • *****
  • 171
  • +0/-0
    • http://www.chryxus.ca
USB-drive problems
« Reply #3 on: February 11, 2007, 04:13:38 PM »
Try:

# sfdisk -s

This should list all the attached partitions and their sizes.

In the normal course of events, I would expect your USB drive, when connected and turned on, to be at /dev/sda.

John
...

Offline Jean-Philippe Pialasse

  • *
  • 2,907
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
USB-drive problems
« Reply #4 on: February 11, 2007, 05:27:18 PM »
just cat /etc/fstab

first is it  formated?

then
a line at the end must have been created with /dev/ and /media/usbdisk (or the label of the disk partition if there is one)

it is not auto mounted but a line to mount it easily is added

so you can mount it just with mount /media/usbdisk (or similar with label )

Code: [Select]
blkid

is another solution to list all attached drives

If you want an auto mount option you will enjoy usbdisksmanager : http://mirror.contribs.org/smeserver/contribs/jppialasse/SME7/smeserver-usbdisksmanager-0.1-0.5.noarch.rpm

Offline byte

  • *
  • 2,183
  • +2/-0
USB-drive problems
« Reply #5 on: February 11, 2007, 07:11:38 PM »
Moving this topic to the General discussion forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline sokrates

  • *
  • 6
  • +0/-0
USB-drive problems
« Reply #6 on: February 16, 2007, 10:41:00 AM »
Thanks for replying.

There is no automount or anything in fstab concerning the usb-drive. But strangely enough the system says there's a usb-drive present.
I'm just totally clueless on where to find the drive.

Code: [Select]
sfdisk -s
/dev/hda:  80043264
/dev/md2:  79931328
/dev/md1:    104320



That's it