Koozali.org: home of the SME Server

Need to find a "How To" for USB Hard Drive on SME

BobWilliams

Need to find a "How To" for USB Hard Drive on SME
« on: August 10, 2004, 06:30:53 PM »
Can anyone tell me where to find a "How To" for connecting a USB hard disk to SME 6.0.1-01? I have checked all the How To's on this site and can't seem to fine what I need.
Thanks

Bob...

Offline psoren

  • *
  • 371
  • +0/-0
Re: Need to find a "How To" for USB Hard Drive on
« Reply #1 on: September 15, 2004, 07:56:12 PM »
Quote from: "BobWilliams"
Can anyone tell me where to find a "How To" for connecting a USB hard disk to SME 6.0.1-01? I have checked all the How To's on this site and can't seem to fine what I need.
Thanks

Bob...


If you still don't know, i can tell you how i did :-)

1. Plug it in !!
2. "cdrecord --scanbus"
Gives the output:

Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.5'
scsibus1:
        1,0,0   100) 'IBM-DJSA' '-210            ' '0811' Disk
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *

Which tells me that it can see the disk.

3.Mount the disk:
Make a mount point: "mkdir /mnt/usbdrive" or whatever you like. You can also mount to an ibay.
"mount -t auto /dev/sda1 /mnt/usbdrive"

4. Make the filesystem (format):
"mkdosfs -F32 /dev/sda1" for a windows partition (trouble with some files and symlinks!).
"mkfs.ext3 /dev/sda1" for an extended3 Linux partition.

5. Start filling it up!

Per

baw

Need to find a "How To" for USB Hard Drive on SME
« Reply #2 on: November 19, 2004, 10:39:18 PM »
I went through the steps listed in the posting.  I then tiied using the rsync command to copy files from the root drive to the usb drive.  

It looked like everything worked ok.  I then took the usb drive too a XP machine to verify that files had been copied and nothing was on the drive.

If I use rsync -auv source /mnt/usbdrive, shouldn't the files be copied to the external hard drive?

Thanks.

Offline mdo

  • *
  • 355
  • +0/-0
Need to find a "How To" for USB Hard Drive on SME
« Reply #3 on: November 20, 2004, 07:07:24 AM »
Bob

I just tried somethig similar, using a USB stick rather than a HDD. In the first instance, Windows did not show any of the files/folders that I had created on the stick. I connected the stick back to the server and mounted the stick and my formerly created files/folders were there! I then unmounted the stick, went back to Windows and this time I could see everything.
I would try that.
Regards,
Michael
...

rshiras

Can't see Iomega HDD USB
« Reply #4 on: February 25, 2006, 11:12:01 PM »
I have a 250GB Iomega HDD USB desktop drive.
cdrecord --scanbus
scsibus1:
        1,0,0   100) 'TDK     ' 'CDRW161040X     ' '5.32' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
I can see the CD/Rom, but no USB devices.  
What should I try next?

Offline psoren

  • *
  • 371
  • +0/-0
Re: Can't see Iomega HDD USB
« Reply #5 on: February 26, 2006, 10:53:05 AM »
Quote from: "rshiras"
I have a 250GB Iomega HDD USB desktop drive.
cdrecord --scanbus
scsibus1:
        1,0,0   100) 'TDK     ' 'CDRW161040X     ' '5.32' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
I can see the CD/Rom, but no USB devices.  
What should I try next?


If you are using SME7 it works different.
When you have your USB drive connected, look in /etc/fstab if it has an entry there. If not you can add it. It will probably be sda1.
Then you just mount it:
mount /mnt/usbdisk (if that's your mount point in fstab)

Per

BobWilliams

How to connect a USB Hard Drive to SME 6.0.1
« Reply #6 on: February 27, 2006, 08:37:29 PM »
Search this forum for "How to connect a USB Hard Disk to SME 6.0.1-01"
The author is "psoren".
That works for version 6. I don't know about any other version.
Hope this helps.

Bob...