Koozali.org: home of the SME Server

affa backup to usb

Offline veeresh

  • ***
  • 51
  • +0/-0
affa backup to usb
« on: November 11, 2011, 06:26:28 AM »
Hi,

I am using affa to backup smeserver data to usb drive.

I get the following error in the log

Starting_job_softreebkp_scheduled_(localhost)
Description:_
Check_mounted:_/dev/sdb1_/mnt/affadevice._Result:_no_
Mounting_/dev/sdb1_to_/mnt/affadevice
Exec_Out:_/dev/sdb1:_Input/output_error
Exec_Out:_mount:_you_must_specify_the_filesystem_type
Exec_Out:_exitstatus=32
Error_1740_in_'main':_Couldn't_mount_/dev/sdb1_/mnt/affadevice
Starting_re-run_1_of_3_in_the_background.
Total_execution_time:__0h00m00s


I think the usb drive goes into energy saving mode and does not mount the first time a mount command is run and exits with the above error.  But when we manually mount it the second time, I think the drive spins up and is able to mount.

Is my observation correct.  If so, how can we resolve this issue.

Any inputs appreciated.

Thanks in advance

Veeresh

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: affa backup to usb
« Reply #1 on: November 11, 2011, 09:22:02 AM »
I think the usb drive goes into energy saving mode and does not mount the first time a mount command is run and exits with the above error.  But when we manually mount it the second time, I think the drive spins up and is able to mount.

Is my observation correct.  If so, how can we resolve this issue.
I doubt so as the error message you quoted clearly states:

Exec_Out:_mount:_you_must_specify_the_filesystem_type
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 mmccarn

  • *
  • 2,651
  • +10/-0

Offline veeresh

  • ***
  • 51
  • +0/-0
Re: affa backup to usb
« Reply #3 on: November 11, 2011, 05:17:52 PM »
thanks for your inputs

@ cactus

when i manually run mount /dev/sdb1 /mnt/affadevice for the first time it comes with the same error that we need to mention the file system.

But when I run the same command again immediately the drive gets mounted and is able to be acessed.

@ mmccarn

I had followed the instructions in the mentioned url and the disk is formatted as ext3  and two runs of affa has already happened.

 any other inputs?

thanks

Veeresh

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: affa backup to usb
« Reply #4 on: November 13, 2011, 12:31:17 AM »
veeresh

Quote
I think the usb drive goes into energy saving mode and does not mount the first time a mount command is run and exits with the above error.  But when we manually mount it the second time, I think the drive spins up and is able to mount.

I have not analysed your error messages or problem, but if your supposition is correct, then search bugzilla as I remember a similar problem was reported with a workaround/fix proposed.
I think Graeme Robinson may have posted something in bugzilla.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline veeresh

  • ***
  • 51
  • +0/-0
Re: affa backup to usb
« Reply #5 on: November 13, 2011, 01:30:36 AM »
Thanks Mary,

My supposition was correct and David Harper has provided a work around. I shall try it and keep it posted.

Thanks again

Veeresh

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: affa backup to usb
« Reply #6 on: November 13, 2011, 09:59:16 AM »
My supposition was correct and David Harper has provided a work around. I shall try it and keep it posted.
What workaround? Do you have a link to it? It would save future readers a lot of work. Thanks in advance.
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)