REAR mkbackup fails with "bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program"

Solution Verified - Updated -

Issue

  • REAR backup process fails with the below error

    RHEL 7

    Relax-and-Recover 2.4 / Git
    Using log file: /var/log/rear/rear-21rhel79.log
    ERROR: Mount command 'mount -v -t nfs -o rw,noatime 192.168.122.31:/backup /tmp/rear.2cFbidXQW91gzfg/outputfs' failed.
    Aborting due to an error, check /var/log/rear/rear-21rhel79.log for details
    Exiting rear mkbackup (PID 1982) and its descendant processes
    

    RHEL 8 and RHEL 9

    Running workflow mkbackup on the normal/original system
    ERROR: Mount command 'mount -v -t nfs -o rw,noatime 192.168.122.31:/backup /tmp/rear.bysxbmovlmFjB2u/outputfs' failed.
    Some latest log messages since the last called script 060_mount_NETFS_path.sh:
    2024-09-04 11:45:41.988271467 Including prep/NETFS/default/060_mount_NETFS_path.sh
    mkdir: created directory '/tmp/rear.bysxbmovlmFjB2u/outputfs'
    2024-09-04 11:45:41.993030098 Added 'remove_temporary_mountpoint '/tmp/rear.bysxbmovlmFjB2u/outputfs'' as an exit task
    2024-09-04 11:45:41.993982557 Mounting with 'mount -v -t nfs -o rw,noatime 192.168.122.31:/backup /tmp/rear.bysxbmovlmFjB2u/outputfs'
    mount: /tmp/rear.bysxbmovlmFjB2u/outputfs: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
    Aborting due to an error, check /var/log/rear/rear-11rhel88.log for details
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • rear

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content