Backup returns status 71 or Status 13 on gvfs filesystem stream on an Linux client backup

Article: 100024911
Last Published: 2011-06-21
Ratings: 0 0
Product(s): NetBackup & Alta Data Protection

Problem

During a backup, bpmount may identify and present a .gvfs filesystems as a local filesystem to be backed up. 
Due to default gvfs filessystem permissions, the bpbkar process backing up this filesystem will not be able to "lstat" the .gvfs directory, and the backup will report a status 71 or, status 13 as a result.  

When running an "ls" as root user on this directory, permissions may appear as:

??????????  ? ?    ?            ?            ? .gvfs
 

Error Message

Example Error Message:
from BPBKAR
<16> bpbkar read_and_sort_dir_entries: ERR - Cannot lstat .gvfs. Errno = 13: Permission denied

From BPBRM
Info bpbrm (pid=12345) from client example_client: TRV - Cannot process path [/run/user/1973/gvfs]: [Permission denied]. Skipping

Cause

The .gvfs directory structure is a special filesystem used by the Gnome Desktop for access to remote network filesystems, removable media, and similar special filesystems that would otherwise be persistent elsewhere.
For Example Redhat advises not to backup anything under the .gvfs directory structure for any users.

Solution

** Previously the following command would resolve this error in older versions of Linux:
To allow root user access to the .gvfs filesystem.  :

1. Add user_allow_other to the /etc/fuse.conf file

2. Run the following sequence of commands:

   sudo su - {USER.EN_US}  
   /usr/bin/fusermount -zu $HOME/.gvfs
   /usr/lib64/gvfs/gvfs-fuse-daemon -o allow_root $HOME/.gvfs

   Where "user" is the owner of the gvfs filesystem

** In newer versions of Linux (Example RHEL 7):

RedHat has stated that it is not recommended to backup anything under the .gvfs directory structure for any users.
To exclude the gvfs file system from the backup, update the exclude list for the client host.  Use either a static or variable directory pathname, depending on if the pathname will change during reboot of the host.

Examples:
/root/.gvfs
/home/*/.gvfs
/run/user/*/gvfs
 

Was this content helpful?