Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: andreasantini on November 25, 2010, 02:02:36 PM

Title: Backup problems on USB hard drive
Post by: andreasantini on November 25, 2010, 02:02:36 PM
I am not able to use the backup utility on external usb disk.
I can mount manually,but not using the backup utility.
I receive always this error:
can't find /media/BKDISK in /etc/fstab or /etc/mtab

My /etc/fstab is ok.
In fact I can mount manually my hard drive.
I use SMEServer 7.5.1.
Is it a release bug?
Tks.
Title: Re: Backup problems on USB hard drive
Post by: cactus on November 25, 2010, 04:46:39 PM
I can mount manually,but not using the backup utility.
I receive always this error:
can't find /media/BKDISK in /etc/fstab or /etc/mtab
What instruction do you use to do so?

My /etc/fstab is ok.
Perhaps you can show us the relevant line, to make sure.
Title: Re: Backup problems on USB hard drive
Post by: andreasantini on November 25, 2010, 06:02:01 PM
The label of my hard drive is: hd-backup1
In /etc/fstab :

/dev/sdb6       /media/hd-backup1   ext2   pamconsole,exec,noauto,managed 0 0

Using  mount /media/hd-backup1, there is no problem.

Title: Re: Backup problems on USB hard drive
Post by: cactus on November 25, 2010, 07:54:23 PM
The label of my hard drive is: hd-backup1
In /etc/fstab :

/dev/sdb6       /media/hd-backup1   ext2   pamconsole,exec,noauto,managed 0 0

Using  mount /media/hd-backup1, there is no problem.
Then where is the /media/BKDISK coming from? Is that something in your backup configuration? Shouldn't that just be the same as you are using in your manual commands: /media/hd-backup1?
Title: Re: Backup problems on USB hard drive
Post by: andreasantini on November 25, 2010, 11:12:04 PM
I am sorry.
Forget /media/BKDISK.I change the configuration.
hd-backup1 is correct.
I tried to change the configuration, but the result is always the same.
Title: Re: Backup problems on USB hard drive
Post by: Stefano on November 26, 2010, 02:47:08 PM
I am sorry.
Forget /media/BKDISK.I change the configuration.
hd-backup1 is correct.
I tried to change the configuration, but the result is always the same.

so it's bugzilla time, isn't it?
Title: Re: Backup problems on USB hard drive
Post by: janet on November 26, 2010, 05:06:54 PM
andreasantini

Have you fully reviewed the USB Howto and a couple of other good wiki articles in the Howtos re disks.
All you need to know should be covered there, link at top of forums.

Title: Re: Backup problems on USB hard drive
Post by: andreasantini on November 27, 2010, 11:08:51 AM
I read the instructions for the preparation and configuration of  an hard drives usb.
I formatted my hard drive with label.
I change /etc/fstab adding line LABEL=Mylabel     /media/ etc etc ............
Suppose my hard drive label is : hdext
I create a mount point like : /media/backup
I add a line in /etc/fstab like:
LABEL=hdext /media/backup ext3 defaults
There is no way.
On next reboot a check my /etc/fstab and I found two lines:

LABEL=hdext /media/backup ext3 defaults

and

/dev/sdc1    /media/hdext   ext3  pamconsole,exec,noauto,managed 0 0

No way mounting /media/backup but ok mounting /media/hdext
If I try to use backup to workstation I get :  enable to mount /media/backup

?????? Have nice idea?
Title: Re: Backup problems on USB hard drive
Post by: andreasantini on November 27, 2010, 12:41:10 PM
SOLVED

I label my hard drive
I delete all mount pints created in /etc/fstab except cdrecorder and floppy
Reboot SME
After booting I found a line in /etc/fstab with new mount point that is the same of hd label.
Now is working.