From: <bac...@li...> - 2006-09-16 15:23:48
|
A BUGNOTE has been added to this bug. ====================================================================== http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=0000670 ====================================================================== Reported By: jamesr Assigned To: ====================================================================== Project: bacula Bug ID: 670 Category: Director Reproducibility: always Severity: major Priority: normal Status: feedback ====================================================================== Date Submitted: 09-14-2006 07:38 PDT Last Modified: 09-16-2006 08:23 PDT ====================================================================== Summary: Restoring files with hard links fails Description: As discussed on the mailing list with subject of "Problems with hard links" I can't restore files where the file that is being linked to has been deleted from the corrent file system. ====================================================================== ---------------------------------------------------------------------- kern - 09-15-2006 05:49 PDT ---------------------------------------------------------------------- I am unable to duplicate this bug. Are you by any chance backing up and/or restoring files on an NSF filesystem? ---------------------------------------------------------------------- jamesr - 09-15-2006 05:53 PDT ---------------------------------------------------------------------- NSF? This is a UFS file system under Solaris mounted with noatime option. Thats the only 'strange' thing about it I guess. Anything further let me know. ---------------------------------------------------------------------- kern - 09-15-2006 06:17 PDT ---------------------------------------------------------------------- Yes, well I meant NFS not NSF. I cannot reproduce the problem. If I cannot reproduce it then I cannot fix it so the ball is in your camp so to speak. There are two ways to resolve this: 1. You simplify the problem to the point that you can give me clear directions on how to reproduce it. 2. If describing how to reproduce it is too complicate, you can write a Bacula regression script that shows the problem. Contact me by email if this is the route you want to take, and I'll explain how Bacula regression works. ---------------------------------------------------------------------- kern - 09-15-2006 15:01 PDT ---------------------------------------------------------------------- I've implemented a regression script that explictly tests restoring a single hard linked file. It works perfectly well on both Linux and SunOS 5.10, so judging by the fact that your directory names are /mnt/..., I suspect that you are using network mounted volumes (i.e. probably NFS), and this is probably the origin of your problems. Try backing up and restoring hard links on a local hard disk, and it will probably work. The only other thing I can think of is that your problem is due to some unusual directory structure (seems unlikely) -- i.e. does your system permit hard links across filesystems? ---------------------------------------------------------------------- jamesr - 09-16-2006 08:23 PDT ---------------------------------------------------------------------- Kern, I am not restoring or backing up an NFS, it just happends I had a spare hard drive mounted under /mnt for testing. I was backing up UFS and restore to ext3. Though this doesn't seem to be a problem normally. I have done my own tests and can't seem to re-produce it either with any other set of files :(. I have tried restoring from UFS to UFS and it still fails, the file that it links to doesn't get marked for restore. Is there any tests I can do on the database to see why this is happening with this file? Bug History Date Modified Username Field Change ====================================================================== 09-14-06 07:38 jamesr New Bug 09-14-06 07:38 jamesr File Added: fulloutput.txt 09-15-06 05:49 kern Bugnote Added: 0001865 09-15-06 05:49 kern Status new => feedback 09-15-06 05:53 jamesr Bugnote Added: 0001866 09-15-06 06:17 kern Bugnote Added: 0001867 09-15-06 15:01 kern Bugnote Added: 0001869 09-16-06 08:23 jamesr Bugnote Added: 0001870 ====================================================================== |