Koozali.org: home of the SME Server

Dar2 error mounting drive

Offline icemannz

  • **
  • 24
  • +0/-0
Dar2 error mounting drive
« on: July 29, 2009, 06:18:03 AM »
Hi all,
I just have a quick error when trying to do a backup with Dar2 and hope someone can help.
I installed the Dar2 from the instructions in the contribs section.
I have added a new hard drive and left it unmounted as I don't want to have the issue where on a reboot - this backup drive fails and stops the sme from booting.
I have tested mounting the backup hard drive and it mounts ok.
When I setup a Dar2 Backup to this drive it fails and emails this to admin:
Connecting to /dev/hdc1
mount: can't find /dev/hdc1 in /etc/fstab or /etc/mtab

I don't want to add the drive to fstab see above,
So do I just add it to /etc/mtab - I don't know what this file does and not sure if I should just edit it and add
/dev/hdc1

Any help is appreciated.

Offline icemannz

  • **
  • 24
  • +0/-0
Re: Dar2 error mounting drive
« Reply #1 on: July 30, 2009, 01:37:14 AM »
Hi all,
I have solved the issue, I believe you use a command like this in fstab,
/dev/hdc1  /mnt/backup  ext3  pamconsole,exec,noauto 0 0
I think this doesn't check the device exists when the pc starts up so if it is not there it won't stop the sme box from booting.

If anyone else knows a better way to add the backup drive to fstab ie: knows the command better than I and can point out a better way, then it would be nice to hear from them.