LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SAMBA server with external USB trying to use rsync over SSH (http://www.linuxquestions.org/questions/linux-newbie-8/samba-server-with-external-usb-trying-to-use-rsync-over-ssh-707175/)

Iatros 02-24-2009 01:26 PM

SAMBA server with external USB trying to use rsync over SSH
 
It's been a huge day thus far in my first attempt at linux thanks to the tutorials here and reading your posts and SEARCHING!

I've:

Installed OpenSUSE
Attached a 1TB external USB HD
Gotten SAMBA running and all my Windows computers can write to the USB HD attached to my linux box.
I'm trying to backup the USB HD to my server with my web-hosting company via SSH and rsync.
I've set up a passwordless SSH connection
I've successfully rsync'd a file to the directory I want on my web-hosting company's server.


NOW here's where I need your help.

I can't find the USB Hard Drive in the terminal and can't call it from rsync.

I find a file under /media/FreeAgent Drive which I can't get into using terminal, but I can access in Dolphin? This is where my files are being stored from the network!#@(!!@#

how do I rsync a folder on my FreeAgent Drive to my web server?

I don't know the path to get to the USB HD.

Thank you SOOOOOOOOOOO much for reading and responding to this!!

pentode 02-24-2009 01:47 PM

What is the output of fdisk -l?

Your disk should be listed under /dev/ somewhere. In Debian these get auto-mounted under /media/, but I don't know about Suse.

You can also check dmesg - there should be message when the USB drive is auto-mounted.

Iatros 02-24-2009 01:59 PM

fdisk didn't work for me? Said "command not found"

But here is the dmesg info is.

Like I said, i can see it under /media, but can't get to it somehow? Does it have something to do with the SPACE inbetween the 'FreeAgent' and 'Drive'?

Thanks

------------------------------------------------------


usb 5-1: new high speed USB device using ehci_hcd and address 3
usb 5-1: configuration #1 chosen from 1 choice
usb 5-1: New USB device found, idVendor=0bc2, idProduct=3001
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-1: Product: FreeAgent
usb 5-1: Manufacturer: Seagate
usb 5-1: SerialNumber: 2GEVM7CB
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: Direct-Access Seagate FreeAgent 102D PQ: 0 ANSI: 4
sd 2:0:0:0: [sdb] 1953525168 512-byte hardware sectors: (1000GB/931GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 1c 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] 1953525168 512-byte hardware sectors: (1000GB/931GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 1c 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 2:0:0:0: [sdb] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
usb 5-1: USB disconnect, address 3
usb 5-2: new high speed USB device using ehci_hcd and address 4
usb 5-2: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb 5-2: New USB device found, idVendor=0bc2, idProduct=3001
usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-2: Product: FreeAgent
usb 5-2: Manufacturer: Seagate
usb 5-2: SerialNumber: 2GEVM7CB
scsi 3:0:0:0: Direct-Access Seagate FreeAgent 102D PQ: 0 ANSI: 4
sd 3:0:0:0: [sdb] 1953525168 512-byte hardware sectors: (1000GB/931GiB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 1c 00 00 00
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] 1953525168 512-byte hardware sectors: (1000GB/931GiB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 1c 00 00 00
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 3:0:0:0: [sdb] Attached SCSI disk
sd 3:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete


All times are GMT -5. The time now is 12:49 AM.