Koozali.org: home of the SME Server

Unplug/Disconnect USB Drive/Device (Solved)

Offline imcintyre

  • *
  • 609
  • +0/-0
Unplug/Disconnect USB Drive/Device (Solved)
« on: February 24, 2007, 05:47:08 PM »
I just finished running dar2 backup to usb drive. Worked well.

With windows there was the whole stop the usb device etc. Is there a procedure like this for SME 7.1 or just pull the plug?

Thx in advance for your help

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Unplug/Disconnect USB Drive/Device
« Reply #1 on: February 24, 2007, 07:17:57 PM »
Quote from: "imcintyre"

Is there a procedure like this for SME 7.1 or just pull the plug?


Make sure it's not mounted before pulling plug.
--[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 imcintyre

  • *
  • 609
  • +0/-0
Unplug/Disconnect USB Drive/Device (Solved)
« Reply #2 on: February 24, 2007, 08:52:39 PM »
Well I ran dar2, and used target as /media/usbdisk. I am a noob so I don't know too much.

How do I unmount it?

Thx in advance

Offline sonoracomm

  • *
  • 208
  • +0/-0
    • http://www.sonoracomm.com
Unplug/Disconnect USB Drive/Device (Solved)
« Reply #3 on: February 24, 2007, 10:00:42 PM »
umount /media/usbdisk

Offline imcintyre

  • *
  • 609
  • +0/-0
Unplug/Disconnect USB Drive/Device (Solved)
« Reply #4 on: February 24, 2007, 10:53:46 PM »
Forgive my ignorance but I tried that code

Quote
umount /media/usbdisk


and got the following:

Quote
[root@mcserver1 ~]# unmount/media/usbdisk
-bash: unmount/media/usbdisk: No such file or directory
[root@mcserver1 ~]# umount/media/usbdisk
-bash: umount/media/usbdisk: No such file or directory

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Unplug/Disconnect USB Drive/Device (Solved)
« Reply #5 on: February 24, 2007, 11:43:40 PM »
Quote from: "imcintyre"
Forgive my ignorance but I tried that code

Quote
umount /media/usbdisk


and got the following:

Quote
[root@mcserver1 ~]# unmount/media/usbdisk
-bash: unmount/media/usbdisk: No such file or directory
[root@mcserver1 ~]# umount/media/usbdisk
-bash: umount/media/usbdisk: No such file or directory
Doing the same time twice won't help you ;-)

Add a space between umount and /media/usbdisk just like in the example, that should work.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline imcintyre

  • *
  • 609
  • +0/-0
Unplug/Disconnect USB Drive/Device (Solved)
« Reply #6 on: February 25, 2007, 04:09:13 AM »
:shock: It wasn't the same thing, I mispelt, and as it turned out I missed a space too.

Anyhow, in the meantime I shut down the server, unplugged it and then removed the drive.

I'll back up tonight and if I have any problems I'll return here.

Thx again

Offline imcintyre

  • *
  • 609
  • +0/-0
Unplug/Disconnect USB Drive/Device (Solved)
« Reply #7 on: February 25, 2007, 04:17:09 PM »
all good thx.

Offline judgej

  • *
  • 375
  • +0/-0
Re: Unplug/Disconnect USB Drive/Device
« Reply #8 on: February 26, 2007, 01:12:15 AM »
Quote from: "imcintyre"
I just finished running dar2 backup to usb drive. Worked well.

With windows there was the whole stop the usb device etc. Is there a procedure like this for SME 7.1 or just pull the plug?


After dar2 completes, it will automatically unmount the USB disk anyway. That is why your umount command failed: the disk was already unmounted.

After that, just pull the plug or turn it off.

-- JJ
-- Jason

Offline imcintyre

  • *
  • 609
  • +0/-0
Unplug/Disconnect USB Drive/Device (Solved)
« Reply #9 on: February 26, 2007, 04:46:25 AM »
I saw that when I ran the verbose version or bothered to read what there was. Thx again