Forum Discussion

Hamza_H's avatar
Hamza_H
Moderator
6 years ago

Missing files/folders from a VMware backup

Hello !

We are facing a problem when we are trying to restore individual files/folders from a Vmware backup.

the backup finishes with no problem (status code = 0), no error or warning messages in detailed status on both backup and snapshot.

But we can't find some files/folders on both consoles (JAVA & BAR)

The problem arrived just after the upgrade to 8.1.2 .

We have another policy (standard) that backs up the same server and the folder missing in the VMware backup is present in the standard backup.

The folder is on an xfs FS and other folders (on the same partition and path) are presents.

The folder's size is 3TB.

on vxms logs I have some messages like :

02/27/2019 07:58:11 : excludeUnallocated:RvpUnixFileSystemMgr.cpp:1595 <INFO> : Excluding clusters on /home/alfdata

The folder is on /home/alfdata => /dev/mapper/data2/alfdata

XFS is supported on NetBackup 8.1.2 , but I can't understand why we have this issue?

Anyone can please help?

 

In advance Thanks !

 

 

  • Did you execute ls -li to check that you have i-node values greater than 2^31 - 1?

    The ETrack you reference (3970781) is targeted for a future release after 8.2. For NetBackup 8.2, see the sibling ETrack ET 3977870. The issue is fixed for 8.2. (The reason there are two fixes is that the issue was discovered and fixed only very recently.)

    I am drafting a TechNote for the problem this evening. I'll post the reference here when it's ready.

  • >The problem arrived just after the upgrade to 8.1.2.

    This can't be true, since single file restore support for XFS began in 8.1.2.

    That said, I suggest you open a support case, because XFS support is new and the issue is likely to require someone in Veritas crawling through your vxms logs.

    > The folder is on an xfs FS and other folders (on the same partition and path) are present.

    To make sure I understand, there are some folders on the same XFS file system that do appear when you browse the image, correct?

    Please provide your VCenter and VDDK versions, too.

    • Hamza_H's avatar
      Hamza_H
      Moderator

      Hello Lowell_Palecek ,

      Thank you for your response,

      That's what I thought too, the support of XFS is new, so it still probably has some problems..

      And yes there are some folders on the same XFS file system that do appear when you browse the image,

      The esx version is 5.5.0 and the vmx is vmx-10.

      and yes I'm considering to open a new support case, but I preferred to do some digging first and share it with you..

  • Hamza_H 

    You may be onto something with the vxms log entries that you found.
    Although, it seems to be a notice (INFO) that unused blocks are being excluded.

    The process of 'excluding unused and deleted blocks' is described in this TN:  https://www.veritas.com/support/en_US/article.100011492

    With the option to Exclude unused and deleted blocks turned on, NetBackup has to examine the filesystem and find which blocks are in use. In addition, with this option enabled, NetBackup will perform reads of contiguous used blocks of data (extents).

    So, maybe this option does not 'play well' with fragmented XFS fs (yet).

    Suggestion:
    Disable 'Exclude unused and deleted blocks' option and check results after next backup. 

    Submit existing vxms log and new one (with exclude option disabled) when you log Support call with Veritas. 

    • Hamza_H's avatar
      Hamza_H
      Moderator

      Hello Marianne,

      Your suggestion seems correct, I'd like to disable the option "Exclude unused and deleted blocks" and give it a try,

      Can you please show me how can I disable it?

      Thanks !

    • Hamza_H's avatar
      Hamza_H
      Moderator

      Is it the Exclude deleted blocks in the VMware tab?

       

       

      • Marianne's avatar
        Marianne
        Level 6

        I assume so, yes. I was just Googl'ing the messages you saw in vxms log. 

        I just had a look in the NBU for VMware Admin Guide and saw the following:

        NetBackup for VMware: notes on Linux virtual machines
        The following notes apply to virtual machines with Linux guest operating systems:
        ■ NetBackup cannot exclude unused or deleted blocks from the backup if the
        virtual machine is configured with software RAID volumes. The policy's Exclude
        deleted blocks option is not supported.

        So, it seems that you need to disable the option in any case.