Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: veeresh on November 11, 2011, 06:26:28 AM

Title: affa backup to usb
Post by: veeresh 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
Title: Re: affa backup to usb
Post by: cactus 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
Title: Re: affa backup to usb
Post by: mmccarn on November 11, 2011, 01:05:03 PM
http://wiki.contribs.org/USBDisks#Formatting_your_USB_drive
Title: Re: affa backup to usb
Post by: veeresh 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
Title: Re: affa backup to usb
Post by: janet 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.
Title: Re: affa backup to usb
Post by: veeresh 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
Title: Re: affa backup to usb
Post by: cactus 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.