> >>>>> On Wed, 2 Feb 2011 16:13:49 +0100, Richard Marnau said: > > > > 2. ========= Bscan the related archives =========== > > > > bscan -p -s -v -P xxxx -h localhost Backupserver -V > Vol0039\|Vol0045\|Vol0094 > > > > Records would have been added or updated in the catalog: > > 3 Media > > 3 Pool > > 54 Job > > 352620 File > > root@mond:~# bconsole > > Connecting to Director localhost:9101 > > > > =========== But still I cannot browse the files on the volume... > > > > "For one or more of the JobIds selected, no files were found, > > so file selection is not possible. Most likely your retention policy > pruned the files." > > It could be this bug: > > http://www.mail-archive.com/bacula- > us...@lists.sourceforge.net/msg44944.html
Hi Martin, thanks for the hint. Well .. I still can't browse the files :-(. I did now: 1. checked JobID 1631 -> Volumes Yearly0887/Yearly0898 are needed 2. bscan -c bacula-sd.conf -p -s -m -v -P xxxxxx -V Yearly0887\|Yearly0898 Backupserver 3. Went into database, selected job, selected ID 1631, replaced "purged files" from 1 to 0 4. query "show files for job id": Choose a query (1-20): 12 Enter JobId: 1631 No results to list. Please find below the full output of bscan. ..... is there anything else I can do except banging my head on the table :) ? Cheers, Richard root@mond:/mnt/backupserver# bscan -c bacula-sd.conf -p -s -m -v -P xxxxxx -V Yearly0887\|Yearly0898 Backupserver bscan: butil.c:281 Using device: "Backupserver" for reading. 04-Feb 09:26 bscan JobId 0: Ready to read from volume "Yearly0887" on device "Backupserver" (/mnt/backupserver). bscan: bscan.c:308 Using Database: bacula, User: bacula bscan: bscan.c:450 Pool record for YearlyRotation found in DB. bscan: bscan.c:464 Pool type "Backup" is OK. bscan: bscan.c:474 Media record for Yearly0887 found in DB. bscan: bscan.c:492 Media type "File" is OK. bscan: bscan.c:502 VOL_LABEL: OK for Volume: Yearly0887 bscan: bscan.c:582 Could not find SessId=213 SessTime=1292244038 for EOS record. bscan: bscan.c:510 50393 "errors" ignored before first Start of Session record. bscan: bscan.c:520 SOS_LABEL: Found Job record for JobId: 1631 bscan: bscan.c:683 32,768 file records. At file:blk=1:890,725,023 bytes=5,182,796,039 bscan: bscan.c:683 65,536 file records. At file:blk=2:660,465,148 bytes=9,245,196,719 bscan: bscan.c:683 98,304 file records. At file:blk=5:2,858,339,419 bytes=24,319,578,884 bscan: bscan.c:683 131,072 file records. At file:blk=9:1,831,629,578 bytes=40,463,718,543 bscan: bscan.c:683 163,840 file records. At file:blk=11:1,718,184,297 bytes=48,935,456,877 04-Feb 11:37 bscan JobId 0: End of Volume at file 12 on device "Backupserver" (/mnt/backupserver), Volume "Yearly0887|Yearly0898" bscan: bscan.c:337-1631 ========== JobId=0 ======== bscan: bscan.c:337-1631 ========== JobId=1631 ======== bscan: bscan.c:342 Create JobMedia for Job Maximum.2011-01-02_23.05.00_06 bscan: bscan.c:966 Updated Media record at end of Volume: Yearly0887 04-Feb 11:37 bscan JobId 0: Ready to read from volume "Yearly0898" on device "Backupserver" (/mnt/backupserver). bscan: bscan.c:450 Pool record for YearlyRotation found in DB. bscan: bscan.c:464 Pool type "Backup" is OK. bscan: bscan.c:474 Media record for Yearly0898 found in DB. bscan: bscan.c:492 Media type "File" is OK. bscan: bscan.c:502 VOL_LABEL: OK for Volume: Yearly0898 bscan: bscan.c:683 196,608 file records. At file:blk=0:1,624,476,842 bytes=1,623,549,713 bscan: bscan.c:683 229,376 file records. At file:blk=2:1,373,556,560 bytes=9,957,923,649 04-Feb 12:06 bscan JobId 0: Error: block.c:318 Volume data error at 2:3252790939! Block checksum mismatch in block=980707 len=10148: calc=54f61d3 blk=9925bac 04-Feb 12:06 bscan JobId 0: Warning: record.c:564 Sanity check failed. maxlen=2000000 datalen=1913571990. Block discarded. bscan: bscan.c:520 SOS_LABEL: Found Job record for JobId: 1633 04-Feb 12:06 bscan JobId 0: Warning: record.c:564 Sanity check failed. maxlen=2000000 datalen=-555247637. Block discarded. bscan: bscan.c:520 SOS_LABEL: Found Job record for JobId: 1634 bscan: bscan.c:683 262,144 file records. At file:blk=2:3,526,814,504 bytes=12,109,937,230 04-Feb 12:07 bscan JobId 0: Warning: record.c:564 Sanity check failed. maxlen=2000000 datalen=1017963697. Block discarded. bscan: bscan.c:520 SOS_LABEL: Found Job record for JobId: 1635 04-Feb 12:08 bscan JobId 0: Warning: record.c:564 Sanity check failed. maxlen=2000000 datalen=-905085423. Block discarded. bscan: bscan.c:520 SOS_LABEL: Found Job record for JobId: 1647 bscan: bscan.c:683 294,912 file records. At file:blk=3:1,344,909,898 bytes=14,221,845,509 bscan: bscan.c:683 327,680 file records. At file:blk=3:3,149,955,489 bytes=16,025,909,097 bscan: bscan.c:683 360,448 file records. At file:blk=4:2,301,218,998 bytes=19,470,174,307 bscan: bscan.c:683 393,216 file records. At file:blk=4:3,898,406,943 bytes=21,066,467,005 04-Feb 12:31 bscan JobId 0: Warning: record.c:564 Sanity check failed. maxlen=2000000 datalen=1342355473. Block discarded. bscan: bscan.c:520 SOS_LABEL: Found Job record for JobId: 1687 04-Feb 12:31 bscan JobId 0: Warning: record.c:564 Sanity check failed. maxlen=2000000 datalen=-71777796. Block discarded. bscan: bscan.c:520 SOS_LABEL: Found Job record for JobId: 1688 04-Feb 12:31 bscan JobId 0: Warning: record.c:564 Sanity check failed. maxlen=2000000 datalen=2031999492. Block discarded. bscan: bscan.c:520 SOS_LABEL: Found Job record for JobId: 1689 04-Feb 12:31 bscan JobId 0: Warning: record.c:564 Sanity check failed. maxlen=2000000 datalen=2053575852. Block discarded. bscan: bscan.c:520 SOS_LABEL: Found Job record for JobId: 1690 04-Feb 12:31 bscan JobId 0: Warning: record.c:564 Sanity check failed. maxlen=2000000 datalen=2139612771. Block discarded. bscan: bscan.c:520 SOS_LABEL: Found Job record for JobId: 1691 04-Feb 12:33 bscan JobId 0: End of Volume at file 5 on device "Backupserver" (/mnt/backupserver), Volume "Yearly0898" bscan: bscan.c:337-1691 ========== JobId=1631 ======== bscan: bscan.c:342 Create JobMedia for Job Maximum.2011-01-02_23.05.00_06 bscan: bscan.c:966 Updated Media record at end of Volume: Yearly0898 04-Feb 12:33 bscan JobId 0: End of all volumes. bscan: bscan.c:966 Updated Media record at end of Volume: Yearly0898 bscan: bscan.c:637 End of all Volumes. VolFiles=5 VolBlocks=0 VolBytes=22,374,747,596 04-Feb 12:33 bscan JobId 0: Error: 11743 block read errors not printed. Records would have been added or updated in the catalog: 2 Media 2 Pool 10 Job 423088 File ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users