Forum Discussion

nbunewbie's avatar
nbunewbie
Level 3
14 years ago

SIZE_DATA_BUFFERS in NBU 6.5.4

OK I am back again :-)

 

I am now trying to change the block size written the the tape drive to 256 KB from the default of 64.

I found the following article:

 

http://www.symantec.com/business/support/index?page=content&id=TECH140338&actp=search&viewlocale=en_US&searchid=1296081760697

 

So I have created the file netbackup/db/config/SIZE_DATA_BUFFERS in it is just the number 262144

I also created the file ''             ''/NUMBER_DATA_BUFFERS with just the number 16 as recommended.

 

I then check the BOTM log and it does not reflect the change:

11:15:31.957 [4792.4716] <2> io_init: using 65536 data buffer size

 

it still shows 64kb. I rebooted the BU Server, and tried again but no difference.

Searching the 6.5.4 TS guide and configuration guide  for "SIZE_DATA_BUFFERS" did not result in any hits.

 

Appreciate any advise you can give.

 

  • Found the solution!!

    When I created the files I was using a text editor (Context)

    I deleted the files and recreated them using cat > SIZE_DATA_BUFFERS

    entered the number

    then did a control-d to close the file.

    and it worked.

     

    Dang computers!!!!!!! Do what I want not what I do :-)

    thanks all for the help

     

    PS the OS is W2K8

  • Check that both files are called exactly NUMBER_DATA_BUFFERS and SIZE_DATA_BUFFERS (match case as well).

    Check that the files have no extension, like .txt or .rtf

    The two file must contain "262144" for SIZE_DATA_BUFFERS and "16" or NUMBER_DATA_BUFFERS.

    For reference, see the NetBackup 6.5 Backup Planning and Performance Tuning Guide page 126

    at http://www.symantec.com/docs/TECH62317

  • Double check, triple check the spelling and make sure there in the correct path and on the correct server.!! Maybe the wrong mediaserver?

  • Thanks all;

    I have triple checked and everything is correct.

    I even had a co-worker verify and the spelling and file locations and contents are all correct.

    I even tried changing it down to 32k from 64 k just to see if the change was reflected and it was not. It stays at 64k

    I don't have any media servers just one Master Server

     

    I am at a loss as to what to try next.

  • Maybe your os or driver is restricting your buffer size.

    Try something like this

     

    # dd if=/dev/st0 of=/tmp/test.file ibs=64k count=1
    Output:

    dd: reading `/dev/st0': Cannot allocate memory
    0+0 records in
    0+0 records out 
  • Found the solution!!

    When I created the files I was using a text editor (Context)

    I deleted the files and recreated them using cat > SIZE_DATA_BUFFERS

    entered the number

    then did a control-d to close the file.

    and it worked.

     

    Dang computers!!!!!!! Do what I want not what I do :-)

    thanks all for the help

     

    PS the OS is W2K8

  • vi the files and make sure there are any extra spaces, characters, etc.

    in case you don't know the command, once you are in vi type :set list and enter

    it should appear as 16$

    By the way I set my NUMBER_DATA_BUFFERS to 32

  • Is this Windows?  Your log excerpt makes it look like you're running Windows.  A lot of help in this thread appears to be UNIX-based so it won't be as helpful for YOU.  ;-)

    I'm not sure on Windows you can use a value greater than 64K...or rather, you CAN, sometimes...but a lot of tape devices used by Windows servers don't let you use block sizes greater than 64K.

    Which Windows are you running?

    What tape drives are you using?

    Does the bptm log show any messages like this?

    <2> set_job_details: LOG 1258864917 16 bptm 6061 The tape device at index 1 has a maximum block size of 65536 bytes, a buffer size of 262144 cannot be used
    <16> io_open: The tape device at index 0 has a maximum block size of 65536 bytes, a buffer size of 262144 cannot be used

    Hmmm....actually, you'd probably be seeing status 84 failures if that were happening.  It doesn't look like NetBackup is reading your file at all...

    Let's ask the same question again: Are you SURE you've dropped SIZE_DATA_BUFFERS in the right folder?

    It should be <install_path>\NetBackup\db\config - what's your install path?  Is it C:\Program Files\VERITAS or somewhere else?

    Can you open a command prompt, head to that directory and use dir to confirm the filename?

    Where are the values for SIZE_DATA_BUFFERS, NUMBER_DATA_BUFFERS and NET_BUFFER_SZ located on Windows NetBackup Servers?
     http://symantec.com/docs/TECH19206

    It wouldn't hurt to check your MaximumSGList regkey as well.  See page 203:

    NetBackup 6.5 Backup Planning and Performance Tuning Guide (updated March 12, 2010)
     http://symantec.com/docs/TECH62317

    I'm sure it's something childishly simple we're all overlooking.  :)  Good luck!

    EDIT: Oh, shoot, you already solved the problem.  wink