Hi, I recently upgraded bareos from 14.2.2 to 15.2.2. Since that time my NDMP-smtape backups (from a NetApp-device) fails with the blocksize error.
"<hostname>-dir JobId 55216: Fatal error: For SMTAPE NDMP jobs the NDMP blocksize needs to be in increments of 4096 bytes, but is set to 64512 " So I found this error description in earlier posts (regarding the 14-version); also this error is mentioned in http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-23500019.15 Solution suggested is to adapt the Blocksize to something like 256k - but the place to set this option is not clearly described. It says: In version greater 14 use the pool.conf (https://www.bareos.org/en/Whitepapers/articles/Speed_Tuning_of_Tape_Drives.html); in the master reference ( http://doc.bareos.org/master/html/bareos-manual-main-reference.html#setblocksizes ) it says this option should go into the Device-configuration. I tried to set the option in pool.conf, bareos-sd.conf, (device and storage), even in the NDMP part and in the "meta" Options in the job-descriptions .. all no effect. Either I got the error "wrong place for this option" or it just had no effect on the output - it still reads Default blocksize 64512 I guess that is because an SMTape is not really a tape.. So I downgraded bareos to 14.2.2 and voila.. everything is running again. (!) Is there a difference in the SMTape - portion of the software regarding the blocksize issue? Or what could be the reason for the failure after the upgrade? This is what the status of the client looks like in 14.2.2: (SMTape with 240 Data_Block_Size (!)) Backup type info of smtape format attrs 0x60 set BASE_DATE=-1 set DATA_BLOCK_SIZE=240 set SMTAPE_ALL_SNAPSHOTS=N set SMTAPE_BREAK_MIRROR=N set SMTAPE_DELETE_SNAPSHOT=N set SMTAPE_MODE=DR set SMTAPE_NO_DISK_WRITE=N set SMTAPE_SNAPSHOT_NAME=invalid set SMTAPE_BACKUP_SET_ID=invalid set TYPE=smtape set RENAME_SUPPORTED=Y Backup type info of dump format attrs 0x447c set BASE_DATE=-1 set DATA_BLOCK_SIZE=63 set DEBUG=N set DIRECT=N set DMP_NAME= set ENHANCED_DAR_ENABLED=Y set EXCLUDE= set EXTRACT=Y set EXTRACT_ACL=Y set FORCE=N set HIST=N set IGNORE_QTREES=N set LEVEL=0 set LIST=N set LIST_QTREES=N set MULTI_SUBTREE_NAMES= set NDMP_UNICODE_FH=N set NO_ACLS=N set NON_QUOTA_TREE=N set NOWRITE=N set RECOVER_FULL_PATHS=N set RECURSIVE=Y set REPLICATE=N set RESTART=N set TYPE=dump set UPDATE=N set VERBOSE=N set RENAME_SUPPORTED=Y best greetings, Gunther -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
