Koozali.org: home of the SME Server

Problem with Dar2 backup

Offline Paperguides

  • ****
  • 118
  • +0/-0
Problem with Dar2 backup
« on: June 17, 2011, 01:08:48 PM »
I am trying to implement a replacement backup system as I unconvinced that I can rely on Iomega's REV drive any longer (or Iomega ever again!)

My solution is to use DAR2 with a set of USB Hard disks attached to a workstation; one for every day.

I set it up and the first backup worked OK.  Subsequent attempts fail with the error:

/bin/mkdir: cannot create directory `/mnt/dar2/hd_backup': File exists

Attempts delete the directory with Winscp and/or putty fail.

[root@thurley ~]# cd /mnt/dar2
[root@thurley dar2]# ls
daily  hd_backup  manual  usbdisk
[root@thurley dar2]# rm hd_backup
rm: cannot lstat `hd_backup': Input/output error
[root@thurley dar2]#

The server is running SME 7.5.1

Can anyone help?
...

Offline larieu

  • *****
  • 214
  • +0/-0
Re: Problem with Dar2 backup
« Reply #1 on: June 17, 2011, 01:34:48 PM »
try this both ways

1.
rm ./hd_backup

2.
go to any other place and do
rm /mnt/dar2/hd_backup
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline Paperguides

  • ****
  • 118
  • +0/-0
Re: Problem with Dar2 backup
« Reply #2 on: June 17, 2011, 02:07:39 PM »
[root@thurley dar2]# rm ./hd_backuprm: cannot lstat `./hd_backup': Input/output error[root@thurley dar2]# cd /[root@thurley /]# rm /mnt/dar2/hd_backuprm: cannot lstat `/mnt/dar2/hd_backup': Input/output error[root@thurley /]#
 :(

A web search on "cannot lstat" suggest a corrupt inode and running fsck.  Can I do this on a live system?
...

Offline holck

  • *
  • 322
  • +1/-0
Re: Problem with Dar2 backup
« Reply #3 on: June 19, 2011, 11:52:15 AM »
You may be able to do fsck on a live system, but it is not a good idea.

Send your users a nice email, suggest they take a coffee break, and shut the system down for the 15-30 minutes required.

Jesper, Denmark
......