Wednesday 13 October 2010

AF Unmount Command Failed / AF Token File Missing

Using Microlite BackupEDGE getting the following error:

Command was: "umount /usr/lib/edge/system/mnt/af0"
Reason is AF Unmount Command Failed          

Setup all looks OK in edgemenu - default resource is:
 fsp!fsp0 (/fsp0) (Directory Resource) 

Using USB HDD as backup media, which can be mounted and unmounted without problems.

Found that the backup was actually going into the directory mentioned in the unmount command. There shouldn't be anything in that folder. Removed the contents and ran the scheduled backup.
New error :

Generic System Error
Reason is AF Token File Missing

Initialised the media - didn't help.
Make sure af0 is empty still.

Rebooted - errors gone, backup ran through OK.
Strange!

-update-
seems that removing the following file will negate the need to reboot and is likely the whole cause of the problem - this file is used to track the mount status. It gets 'mounted' even though the device isn't mounted, then it never attempts to mount and creates the backup in the folder, rather than the USB drive.

/usr/lib/edge/system/locks/af0.lck

You DO still need to initialise the media.